It's a little hard to read that message, but if I were you I'd go to the Solr 
admin page, analysis section, enter your query, and see what index and query 
time analyzers spit out.  I think that should at least give you some hints.

Otis 

--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch

----- Original Message ----
> From: oleg_gnatovskiy <[EMAIL PROTECTED]>
> To: solr-user@lucene.apache.org
> Sent: Wednesday, February 27, 2008 1:33:44 PM
> Subject: Re: Question regarding Solr ranking
> 
> 
> Sorry about the previous message, I had some formatting issues. Below is the
> actual message!
> 
> oleg_gnatovskiy wrote:
> > 
> > Hello everyone.
> > 
> > I've run into a weird problem with Solr's ranking engine. In a nutshell,
> > the problem involves certain results getting EXTREMELY high rank scores.
> > Here is an example:
> > 
> > locRvwText:"Pizza Pizza"^10 OR locName:"Pizza Pizza"^30
> > 
> > The way I understand it is that the locName part of the query should be
> > boosted 3x more then the locRvwText.
> > However, when running this query the first result is:
> > 
> > 10.8226
> > Johnnie's New York Pizzeria
> > 
> > 
> > Pizza... Pizza... Pizza... Pizza... Pizza... Pizza... Pizza... Pizza...
> > Pizza... Pizza... Pizza... Pizza... Pizza... Pizza... Pizza... Pizza...
> > Pizza... Pizza... Pizza... Pizza... Pizza...
> > 
> > 
> > 
> > 
> >     
> > 
> > 10.8226 = (MATCH) product of:
> >   21.6452 = (MATCH) sum of:
> >     21.6452 = weight(locRvwText:"pizza pizza"^10.0 in 3792465), product
> > of:
> >       0.3354544 = queryWeight(locRvwText:"pizza pizza"^10.0), product of:
> >         10.0 = boost
> >         14.428232 = idf(locRvwText: pizza=8156 pizza=8156)
> >         0.0023249863 = queryNorm
> >       64.52502 = fieldWeight(locRvwText:"pizza pizza" in 3792465), product
> > of:
> >         4.472136 = tf(phraseFreq=20.0)
> >         14.428232 = idf(locRvwText: pizza=8156 pizza=8156)
> >         1.0 = fieldNorm(field=locRvwText, doc=3792465)
> >   0.5 = coord(1/2)
> > 
> > 
> > 
> > 
> > How come the phrase frequency for rvwText comes back as 20? The field
> > rvwText is defined in the following way:
> > 
> > 
> > required="false" multiValued="true"  omitNorms="true"/>
> > 
> > And my text fields are defined in the following way:
> > 
> > 
> >       
> >         
> >     
> >         
> > ignoreCase="true" expand="true"/>        
> >         
> > words="stopwords.txt"/>
> >         
> > generateWordParts="1" generateNumberParts="1" catenateWords="1"
> > catenateNumbers="1" catenateAll="0"/>
> >         
> >         
> > protected="protwords.txt"/>
> >         
> >       
> >       
> >         
> >         
> > ignoreCase="true" expand="true"/>
> >         
> > words="stopwords.txt"/>
> >         
> > generateWordParts="1" generateNumberParts="1" catenateWords="0"
> > catenateNumbers="0" catenateAll="0"/>
> >         
> >         
> > protected="protwords.txt"/>
> >         
> >       
> >     
> > 
> > Forgive me if I am wrong, but shouldn't the
> > RemoveDuplicatesTokenFilterFactory have the string "Pizza... Pizza...
> > Pizza... Pizza... Pizza... Pizza... Pizza... Pizza... Pizza... Pizza...
> > Pizza... Pizza... Pizza... Pizza... Pizza... Pizza... Pizza... Pizza...
> > Pizza... Pizza... Pizza..." Count as simplu one Pizza?

> > I'd appreciate any help I can get! 
> > 
> > Thanks!
> > 
> 
> -- 
> View this message in context: 
> http://www.nabble.com/Question-regarding-Solr-ranking-tp15719752p15719834.html
> Sent from the Solr - User mailing list archive at Nabble.com.
> 
> 


Reply via email to