lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: Question about dismax query parsing
Date Fri, 14 Mar 2008 18:15:18 GMT

: > +(((title_t:mass) (title_t:air) (title_t:flow))~3) ()',
: > And is that extra () indicative of something? I have some stuff going on
: > with synonyms and I'm wondering if the position of the tokens is off and
: > causing this.
: 
: That extra clause is Solr's dismax code putting in an empty clause - I think
: that is the boosting query(?).

boost queries and functions are left out if they aren't specified ... but 
it looks like an empty "pf" (phrase fields) param causes an empty clause 
to be added ... i guess i assumed pf would always be used.

the fix should be minor, i'll open a bug to track it, but the impact is 
pretty minor too ... the empty clause might through off scores because of 
hte coordFactory but honestly you should almost always be better off 
setting the pf to something so you can get higher scores for docs where 
all of the query terms appear in close proximity.


-Hoss


Mime
View raw message