Re: relevance ranking and scoring

2007-01-25 Thread Chris Hostetter
: > title:(gone with the wind)^3.0 OR title2:(gone with the wind) : That did it! Thanks for the Help! : What value do the numbers carry in the ranking? I arbitrarily choose : the number 5 cause it's an easy number :) query boosts are in fact pretty arbitrary ... what you should pick really depe

Re: relevance ranking and scoring

2007-01-25 Thread Andrew Nagy
Yonik Seeley wrote: What about term ranking, could I rank the phrases searched in title higher than title2? Absolutely... standard lucene syntax for boosting will give you that in the standard query handler. title:(gone with the wind)^3.0 OR title2:(gone with the wind) That did it! Thanks f

Re: relevance ranking and scoring

2007-01-24 Thread Yonik Seeley
On 1/24/07, Andrew Nagy <[EMAIL PROTECTED]> wrote: Yonik Seeley wrote: > Ok, here is your query: > title:(gone with the wind) OR title2:(gone > with the wind) > And here it is parsed: > (title:gone title:wind) (title2:gone > title2:wind) > > First, notice how stopwords were removed, so "with" and

Re: relevance ranking and scoring

2007-01-24 Thread Andrew Nagy
Yonik Seeley wrote: Ok, here is your query: title:(gone with the wind) OR title2:(gone with the wind) And here it is parsed: (title:gone title:wind) (title2:gone title2:wind) First, notice how stopwords were removed, so "with" and "the" will not count in the results. You are querying across t

Re: relevance ranking and scoring

2007-01-24 Thread Yonik Seeley
On 1/24/07, Andrew Nagy <[EMAIL PROTECTED]> wrote: > Let's start with the first... add a debugQuery=on > parameter to your request and post the full result here. > You can get the same effect through the > query form on the solr admin pages by checking the "Debug: explain" > checkbox. I attached

Re: relevance ranking and scoring

2007-01-24 Thread Andrew Nagy
Yonik Seeley wrote: On 1/23/07, Andrew Nagy <[EMAIL PROTECTED]> wrote: Yonik Seeley wrote: > Things you can try: > - post the debugging output (including score explain) for the query I have attached the output. > - try disabling length normalization for the title field, then remove > the entire

Re: relevance ranking and scoring

2007-01-23 Thread Yonik Seeley
On 1/23/07, Andrew Nagy <[EMAIL PROTECTED]> wrote: Yonik Seeley wrote: > Things you can try: > - post the debugging output (including score explain) for the query I have attached the output. > - try disabling length normalization for the title field, then remove > the entire index and re-idnex. >

Re: relevance ranking and scoring

2007-01-23 Thread Andrew Nagy
Yonik Seeley wrote: Things you can try: - post the debugging output (including score explain) for the query I have attached the output. - try disabling length normalization for the title field, then remove the entire index and re-idnex. - try the dismax handler, which can generate sloppy phrase

Re: relevance ranking and scoring

2007-01-23 Thread Yonik Seeley
On 1/23/07, Yonik Seeley <[EMAIL PROTECTED]> wrote: - try disabling length normalization for the title field, then remove the entire index and re-idnex. Forgot to tell you how to disable length normalization: set omitNorms="true" on the field in schema.xml -Yonik

Re: relevance ranking and scoring

2007-01-23 Thread Yonik Seeley
On 1/23/07, Andrew Nagy <[EMAIL PROTECTED]> wrote: I have 2 questions about the SOLR relevancy system. As far as scoring, it's pretty much stock lucene with some other stuff added on (like function query). http://lucene.apache.org/java/docs/scoring.html 1. Why is it when I search for an exact