> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-user-h...@lucene.apache.org
>
>
>
--
View this message in context:
http://www.nabble.com/Generating-Query-for-Multiple-Clauses-in-a-Single-Field-tp24694748p
> yah, before this i used default lucene...but i dont know
> what end up wrong...some results with only single word matching when to
> the top of the results.
Hmm. Interesting. It seems that length normalization causing this. Very short
documents with only single word matching getting high scor
s in a
> document, the more relevant that document is to the query.
>
>
>
>
>
> -
> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-user-h...@lucene.apache.org
>
>
>
--
View t
: I am trying to create a query, that first will return a set
: of results, then
: it will give a boost to the results that have all the
: keyword entered by the user.
If I understand you correctly: User will enter multiple keywords. Lets say a b
c d. And you want documents - that contains/have
according to descriptions in here, and pass it to
> the parse method of QueryParser.
>
>
>
>
>
> -------------
> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> For additional commands,
> generate a query like the following:
> title:(+chemistry +"national curriculum")
I didn't understand what exactly you are asking but the query string is already
well-formatted. You can pass this string directly to the parse method of
QueryParser. The following four examples yields the same Qu
h this?
Thanks
--
View this message in context:
http://www.nabble.com/Generating-Query-for-Multiple-Clauses-in-a-Single-Field-tp24694748p24694748.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
-
To