lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From L Duperval <>
Subject Re: Use of PrefixQuery to create multi-word queries
Date Wed, 05 Jan 2011 18:01:58 GMT

Ahmet Arslan <iorixxx <at>> writes:
> So order of search terms are important to you. Since you are constructing your
queries programmatically,
> you can use SpanQuery family.

Yes, order is important.

> If you substitute PrefixQuery with SpanRegexQuery, and TermQuery with
SpanTermQuery. And combine them
> in an ordered SpanNearQuery, I think you can achieve what you want.

I'll look at the documentation to see how to implement it effectively.



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message