lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler" <...@thetaphi.de>
Subject RE: Prefix field name search
Date Sat, 30 Sep 2017 10:04:03 GMT
Hi,

No, you must lookup the fields first and create separate TermQuery for all of them. It may
be helpful to use LeafReader methods to discover field names.

Uwe

-----
Uwe Schindler
Achterdiek 19, D-28357 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de

> -----Original Message-----
> From: Cristian Lorenzetto [mailto:cristian.lorenzetto@gmail.com]
> Sent: Saturday, September 30, 2017 11:53 AM
> To: Lucene Users <java-user@lucene.apache.org>
> Subject: Prefix field name search
> 
> Hi
> It there a way for searching all the documents where the field name starts
> with "ABC"   and value is Y?


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


Mime
View raw message