lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <iori...@yahoo.com>
Subject Re: disquery - difference qf qs / pf ps
Date Thu, 10 Mar 2011 13:34:21 GMT


> i understand the
> difference beetween qs and ps but not
> what pf is...is it necessary to use ps?

pf (Phrase Fields) and ps (Phrase Slop) related to each other.

Lets say you have &q=term1 term1&pf=title text&ps=10

We can think as if dismax adds title:"term1 term2"~10 text:"term1 term2"~10 imaginary  optional
clauses to your original query. Optional means they effect order of documents.

http://wiki.apache.org/solr/DisMaxQParserPlugin#pf_.28Phrase_Fields.29


      

Mime
View raw message