Daniel,

That sounds like what I'm after - but how do I get hold of the IndexReader so I can call IndexReader.terms(Term) ? The code where I am doing this work is getFieldQuery(String field, String queryText) of my custom query parser ...

Thanks,

- Chris


Daniel Naber wrote:
On Dienstag, 26. August 2008, Chris Bamford wrote:

Can you combine these two queries somehow so that they behave like a
PhraseQuery?

You can use MultiPhraseQuery, see
http://lucene.apache.org/java/2_3_2/api/core/org/apache/lucene/search/MultiPhraseQuery.html

Regards
 Daniel



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to