lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Heisey <apa...@elyograg.org>
Subject Re: Phrase Fields performance
Date Sat, 01 Apr 2017 14:28:49 GMT
On 3/31/2017 1:55 PM, David Hastings wrote:
> So I un-commented out the line, to enable it to go against 6 important
> fields. Afterwards through monitoring performance I noticed that my
> searches were taking roughly 50% to 100% (2x!) longer, and it started
> at the exact time I committed that change, 1:40 pm, qtimes below in a
> 15 minute average cycle with the start time listed. 

That is fully expected.  Using both pf and qf basically has Solr doing
the exact same queries twice, once as specified on fields in qf, then
again as a phrase query on fields in pf.  If you add pf2 and/or pf3, you
can expect further speed drops.

If you're sorting by relevancy, using pf with higher boosts than qf
generally will make your results better, but it comes at a cost in
performance.

Thanks,
Shawn


Mime
View raw message