Re: Boosting relevance as terms get nearer to each other

2009-08-17 Thread Michael
Great, thank you Mark! Michael On Mon, Aug 17, 2009 at 10:48 AM, Mark Miller wrote: > PhraseQuery's do score higher if the terms are found closer together. > > does that imply that during the computation of the score for "a b >>> c"~100, sloppyFreq() will be called? >>> >> > Yes. PhraseQuer

Re: Boosting relevance as terms get nearer to each other

2009-08-17 Thread Mark Miller
PhraseQuery's do score higher if the terms are found closer together. does that imply that during the computation of the score for "a b c"~100, sloppyFreq() will be called? Yes. PhraseQuery uses PhraseWeight, which creates a SloppyPhraseScorer, which takes into account Similiarity.sloppy

Re: Boosting relevance as terms get nearer to each other

2009-08-17 Thread Michael
Thanks for the suggestion. Unfortunately, my implementation requires the Standard query parser -- I sanitize and expand user queries into deeply nested queries with custom boosts and other bells and whistles that make Dismax unappealing. I see from the docs that Similarity.sloppyFreq() is a method

Re: Boosting relevance as terms get nearer to each other

2009-08-17 Thread Mark Miller
Dismax QueryParser with pf and ps params? http://wiki.apache.org/solr/DisMaxRequestHandler -- - Mark http://www.lucidimagination.com Michael wrote: Anybody have any suggestions or hints? I'd love to score my queries in a way that pays attention to how close together terms appear. Michael

Re: Boosting relevance as terms get nearer to each other

2009-08-17 Thread Michael
Anybody have any suggestions or hints? I'd love to score my queries in a way that pays attention to how close together terms appear. Michael On Thu, Aug 13, 2009 at 12:01 PM, Michael wrote: > Hello, > I'd like to score documents higher that have the user's search terms nearer > each other. For

Boosting relevance as terms get nearer to each other

2009-08-13 Thread Michael _
Hello, I'd like to score documents higher that have the user's search terms nearer each other. For example, if a user searches for a AND b AND c the standard query handler should return all documents with [a] [b] and [c] in them, but documents matching the phrase "a b c" should get a boost ove