Re: different fields for user-supplied phrases in edismax

2014-12-13 Thread Michael Sokolov
- From: Michael Sokolov Sent: Saturday, December 13, 2014 8:43 AM To: solr-user@lucene.apache.org Subject: Re: different fields for user-supplied phrases in edismax I want terms to be stemmed, unless they are quoted, using dismax. On 12/12/14 8:19 PM, Amit Jha wrote: Hi Mike, What is exact your us

Re: different fields for user-supplied phrases in edismax

2014-12-13 Thread Jack Krupansky
boost as do less-precise phrases. But it does need to be optional since it has an added cost at query time. -- Jack Krupansky -Original Message- From: Michael Sokolov Sent: Saturday, December 13, 2014 8:43 AM To: solr-user@lucene.apache.org Subject: Re: different fields for user-supplied

Re: different fields for user-supplied phrases in edismax

2014-12-13 Thread Michael Sokolov
I want terms to be stemmed, unless they are quoted, using dismax. On 12/12/14 8:19 PM, Amit Jha wrote: Hi Mike, What is exact your use case? What do mean by "controlling the fields used for phrase queries" ? Rgds AJ On 12-Dec-2014, at 20:11, Michael Sokolov wrote: Doug - I believe pf co

Re: different fields for user-supplied phrases in edismax

2014-12-12 Thread Amit Jha
Hi Mike, What is exact your use case? What do mean by "controlling the fields used for phrase queries" ? Rgds AJ > On 12-Dec-2014, at 20:11, Michael Sokolov > wrote: > > Doug - I believe pf controls the fields that are used for the phrase queries > *generated by the parser*. > > What I

Re: different fields for user-supplied phrases in edismax

2014-12-12 Thread Michael Sokolov
Doug - I believe pf controls the fields that are used for the phrase queries *generated by the parser*. What I am after is controlling the fields used for the phrase queries *supplied by the user* -- ie surrounded by double-quotes. -Mike On 12/12/2014 08:53 AM, Doug Turnbull wrote: Michael,

Re: different fields for user-supplied phrases in edismax

2014-12-12 Thread Doug Turnbull
Michael, I typically solve this problem by using a copyField and running different analysis on the destination field. Then you could use this field as pf insteaf of qf. If I recall, fields in pf must also be mentioned in qf for this to work. -Doug On Fri, Dec 12, 2014 at 8:13 AM, Michael Sokolov

Re: different fields for user-supplied phrases in edismax

2014-12-12 Thread Michael Sokolov
Yes, I guess it's a common expectation that searches work this way. It was actually almost trivial to add as an extension to the edismax parser, and I have what I need now; I opened SOLR-6842; if there's interest I'll try to find the time to contribute back to Solr -Mike On 12/11/14 5:20 PM,

Re: different fields for user-supplied phrases in edismax

2014-12-11 Thread alaa.abuzaghleh
explicit edismax 10 full_name,job_tree, company, city, state, country, first_name, last_name, id full_name_suggest^60 full_name_ngram^100.0 job_suggest^30 job_

Re: different fields for user-supplied phrases in edismax

2014-12-11 Thread Ahmet Arslan
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