Thank you, that is the best explanation I have ever heard.

We should add to the Wiki (given that is is correct).

On 3/11/11 9:05 AM, "Tomás Fernández Löbbe" <tomasflo...@gmail.com> wrote:

>AFAIK, the difference is that the phrase slop applies to the phrase
>queries
>generated automatically by dismax and applied to the fields in "pf". Query
>Slop (qs) is the phrase slop applied to a phrase explicitly specified by
>the
>user, which will be applied to all the Query Fields (qf).
>
>An easy way to understand the phrase slop, is "the number of positions
>that
>you have to move a term to have the exact phrase". For example, If you
>have
>the query
>
>"A query" (a phrase query with slop = 0)
>
>and a document that says
>
>"a simple query"
>
>It won't match, but if you have the query:
>
>"A query"~1 (a phrase query with slop = 1)
>
>Then, the document will match the phrase query, even if is not exact.
>
>I hope I'm clear enough.
>
>Tomás
>
>
>On Fri, Mar 11, 2011 at 12:41 PM, Bill Bell <billnb...@gmail.com> wrote:
>
>> What exactly is phrase and query slop? What technically is a slop?
>>
>> Bill Bell
>> Sent from mobile
>>
>>
>> On Mar 11, 2011, at 4:15 AM, Gastone Penzo <gastone.pe...@gmail.com>
>> wrote:
>>
>> > ok thank you!!!
>> >
>> > 2011/3/10 Jonathan Rochkind <rochk...@jhu.edu>
>> >
>> >> On 3/10/2011 8:15 AM, Gastone Penzo wrote:
>> >>
>> >>> Thank you very much. i understand the difference beetween qs and ps
>>but
>> >>> not
>> >>> what pf is...is it necessary to use ps?
>> >>>
>> >>
>> >> It's not neccesary to use anything, including Solr.
>> >>
>> >> pf:  Will take the entire query the user entered, make it into a
>>single
>> >> phrase, and boost documents within the already existing result set
>>that
>> >> match that phrase. pf does not change the result set, it just changes
>> the
>> >> ranking.
>> >> ps: Will set phrase query slop on that pf query of the entire entered
>> >> search string, that effects boosting.
>> >>
>> >>
>> >>
>> >
>> >
>> > --
>> > Gastone Penzo
>>


Reply via email to