Sounds like a reasonable request for a new feature to add to Solr.
Question: Would you want the query to SKIP fields that don't have positions
enabled, or to treat a phrase as discrete terms? Or, is that another option
you might need to control for each field?
-- Jack Krupansky
-----Original Message-----
From: Markus Jelsma
Sent: Thursday, November 08, 2012 5:01 AM
To: solr-user@lucene.apache.org
Subject: positions and qf parameter in (e)dismax
Hi,
We do not want to store positions for some fields or omit term and positions
(or just tf) for other fields. Obviously we don't need/want explicit phrase
matching on the fields we want to configure without positions, but (e)dismax
doesn't let us. All text fields configured in the QF parameter are eligible
for explicit phrase matching and need to have positions. We're looking for a
way to disable what we don't need and prevent Solr from searching fields for
phrases that we don't want to be searched on.
Essentially we'd want to limit explicit phrase matching to the same fields
configured in pf or have Lucene ignore explicit phrase searching on fields
that have no positions loaded.
Any ideas to share?
Thanks,
Markus