I'd like to supply a different set of fields for phrases than for bare terms. Specifically, we'd like to treat phrases as more "exact" - probably turning off stemming and generally having a tighter analysis chain. Note: this is *not* what's done by configuring "pf" which controls fields for the auto-generated phrases. What we want to do is provide our users more precise control by explicit use of " "

Is there a way to do this by configuring edismax? I don't think there is, and then if you agree, a followup question - if I want to extend the EDismax parser, does anybody have advice as to the best way in? I'm looking at:

Query getFieldQuery(String field, String val, int slop)

and altering getAliasedQuery() to accept an aliases parameter, which would be a different set of aliases for phrases ...

does that make sense?

-Mike

Reply via email to