Re: Query on autoGeneratePhraseQueries

2019-10-16 Thread Shubham Goswami
Hi Michael/Shawn Thanks for the response. Michael you are right, autoGeneratePhraseQueries works for the query like Black-company with the setting of Sow=true. Thanks for your great support. Best Shubham On Wed, Oct 16, 2019 at 9:22 PM Michael Gibney wrote: > Going to back to the initial quest

Re: Query on autoGeneratePhraseQueries

2019-10-16 Thread Michael Gibney
Going to back to the initial question, the wording is a little ambiguous and it occurs to me that it's possible there's a misunderstanding of what autoGeneratePhraseQueries does. It really only auto-generates phrase *subqueries*. To use the example from the initial request, a query like (black comp

Re: Query on autoGeneratePhraseQueries

2019-10-16 Thread Shawn Heisey
On 10/16/2019 7:14 AM, Shubham Goswami wrote: I have implemented the sow=false property with eDismax Query parser but still it does not has any effect on the query as it is still parsing as separate terms instead of phrased one. We have seen reports that when sow=false, which is the default set

Re: Re: Query on autoGeneratePhraseQueries

2019-10-16 Thread Shubham Goswami
Hi Rohan/Audrey I have implemented the sow=false property with eDismax Query parser but still it does not has any effect on the query as it is still parsing as separate terms instead of phrased one. On Tue, Oct 15, 2019 at 8:25 PM Rohan Kasat wrote: > Also check , > pf , pf2 , pf3 > ps , ps2, p

Re: Re: Query on autoGeneratePhraseQueries

2019-10-15 Thread Rohan Kasat
Also check , pf , pf2 , pf3 ps , ps2, ps3 parameters for phrase searches. Regards, Rohan K On Tue, Oct 15, 2019 at 6:41 AM Audrey Lorberfeld - audrey.lorberf...@ibm.com wrote: > I'm not sure how your config file is setup, but I know that the way we do > multi-token synonyms is to have the sow (

Re: Re: Query on autoGeneratePhraseQueries

2019-10-15 Thread Audrey Lorberfeld - audrey.lorberf...@ibm.com
I'm not sure how your config file is setup, but I know that the way we do multi-token synonyms is to have the sow (split on whitespace) parameter set to False while using the edismax parser. I'm not sure if this would work with PhraseQueries , but it might be worth a try! In our config file we

Re: Query on autoGeneratePhraseQueries

2019-10-15 Thread Shubham Goswami
Hi kshitij Thanks for the reply! I tried to debug it and found that raw query(black company) has parsed as two separate queries black and company and returning the results based on black query instead of this it should have got parsed as a single phrase query like("black company") because i am usi

Re: Query on autoGeneratePhraseQueries

2019-10-15 Thread kshitij tyagi
Hi, Try debugging your solr query and understand how it gets parsed. Try using "debug=true" for the same On Tue, Oct 15, 2019 at 12:58 PM Shubham Goswami wrote: > *Hi all,* > > I am a beginner to solr framework and I am trying to implement > *autoGeneratePhraseQueries* property in a fieldtype o

Query on autoGeneratePhraseQueries

2019-10-15 Thread Shubham Goswami
*Hi all,* I am a beginner to solr framework and I am trying to implement *autoGeneratePhraseQueries* property in a fieldtype of type=text_general, i kept the property value as true and restarted the solr server but still it is not taking my two words query like(Black company) as a phrase without d