Ahmet,

Ahmet Arslan <iorixxx <at> yahoo.com> 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.

Thanks,

L


---------------------------------------------------------------------
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