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: u...@thetaphi.de > -----Original Message----- > From: Cristian Lorenzetto [mailto:cristian.lorenze...@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-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org