Hi Mike,

If I am not wrong, you are trying to simulate google behaviour.
If you use quotes, google return exact matches. I think that makes perfectly 
sense and will be a valuable addition. I remember some folks asked/requested 
this behaviour in the list.
Ahmet



On Thursday, December 11, 2014 10:50 PM, Michael Sokolov 
<msoko...@safaribooksonline.com> wrote:
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