No and no.  MultiFieldQueryParser is the only thing that comes to mind
as being remotely close but you have to tell it the field names.  I
guess you could use IndexReader.getFieldNames(...) to find indexed
fields and pass the output from that through a wildcard regexp and
feed the output from that into MultiFieldQueryParser.  Good luck.  I
always prefer to use a "contents" field that holds all searchable
data.


--
Ian.


On Tue, May 15, 2012 at 3:02 PM, Joachim Andersson
<joachim.anders...@ldc.lu.se> wrote:
> Is it possible todo a query with wildcards in field name?
>
> is there any QueryParser that handles wildcards in fields names?
>
>
> //Joachim
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Wildcards-in-field-name-tp3983865.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-user-h...@lucene.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to