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: edismax pf2 and ps
Date Mon, 16 Aug 2010 20:03:20 GMT

: Perhaps fold it into the pf/pf2 syntax?
: 
: pf=text^2    // current syntax... makes phrases with a boost of 2
: pf=text~1^2  // proposed syntax... makes phrases with a slop of 1 and
: a boost of 2
: 
: That actually seems pretty natural given the lucene query syntax - an
: actual boosted sloppy phrase query already looks like
: text:"foo bar"~1^2

Big +1 to this idea ... the existing "ps" param can stick arround as the 
default for any field that doesn't specify it's own slop in the pf/pf2/pf3 
fields using the "~" syntax.


-Hoss


Mime
View raw message