You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by luocanrao <lu...@sohu.com> on 2010/03/20 13:55:33 UTC

can I have such a phrasequery?

Can I have suche a phrasequery.
Exact match document add some score
All other match document add 0 score.
But all the documents that have the terms are valid.

For example:
Document 1: little boy is running
Document 2:boy is little,

I query little boy,
Document 1 add score 100(Exact match)
Document 2 add score 0( not Exact match)
But the two document can match the query.(is valid)


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org