lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: When is/should qf different from pf?
Date Mon, 28 Oct 2013 10:35:33 GMT
The facetious answer is "when phrases aren't important in the fields".
If you're doing a simple boolean match, adding phrase fields will add
expense, to no good purpose etc. Phrases on numeric
fields seems wrong.

FWIW,
Erick


On Mon, Oct 28, 2013 at 1:03 AM, Amit Nithian <anithian@gmail.com> wrote:

> Hi all,
>
> I have been using Solr for years but never really stopped to wonder:
>
> When using the dismax/edismax handler, when do you have the qf different
> from the pf?
>
> I have always set them to be the same (maybe different weights) but I was
> wondering if there is a situation where you would have a field in the qf
> not in the pf or vice versa.
>
> My understanding from the docs is that qf is a term-wise hard filter while
> pf is a phrase-wise boost of documents who made it past the "qf" filter.
>
> Thanks!
> Amit
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message