lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From L Duperval <duper...@videotron.com>
Subject Re: Use of PrefixQuery to create multi-word queries
Date Wed, 05 Jan 2011 18:01:58 GMT
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message