Re: How to set query time scoring

2006-12-07 Thread Xiaocheng Luan
Try to play with the similarity class/subclasses, it might help. For example, you may adjust the coord to increase the chance (not necessary guarantee?) that ORed results will be after the ANDed results; adjust the sloppy factor to favor phrases, etc. Xiaocheng Sajid Khan <[EMAIL PROTECTED]> wro

Re: How to set query time scoring

2006-11-27 Thread Sajid Khan
Thanks for the instant reply. More specifically i am trying to do is: 1) to show the results which contain the exact query phrase on top followed by ANDed results followed by the ORed results. 2) introduce new parameter that uses the query phrase to influence the ranking. regards Sajid Bha

Re: How to set query time scoring

2006-11-26 Thread Bhavin Pandya
Hi sajid, As you already boost data at indexing time... You can boost query at search time... eg. If you are firing boolean query and phrasequery...you might need to boost phrasequery PhraseQuery pq = new PhraseQuery(); pq.setBoost(2.0f); Thanks. Bhavin pandya - Original Message