Re: Generating Query for Multiple Clauses in a Single Field

2009-07-30 Thread blazingwolf7
> 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

Re: Generating Query for Multiple Clauses in a Single Field

2009-07-30 Thread AHMET ARSLAN
> 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

Re: Generating Query for Multiple Clauses in a Single Field

2009-07-30 Thread blazingwolf7
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

Re: Generating Query for Multiple Clauses in a Single Field

2009-07-30 Thread AHMET ARSLAN
: 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

Re: Generating Query for Multiple Clauses in a Single Field

2009-07-29 Thread blazingwolf7
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,

Re: Generating Query for Multiple Clauses in a Single Field

2009-07-28 Thread AHMET ARSLAN
> 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

Generating Query for Multiple Clauses in a Single Field

2009-07-28 Thread blazingwolf7
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