Re: Solr shingles is not working in solr 6.4.0

2017-03-20 Thread Aman Deep Singh
I found a workaround after configuring the field type as So after giving the query as *one\ plus\ one* ,it started the creating the shingles but for using that i have to give the query with omitting spaces which is caused some problem in other fields ,Any way to overcome that. On Fri, Ma

Re: Solr shingles is not working in solr 6.4.0

2017-03-16 Thread Aman Deep Singh
I also tried in 5.2.1 for the query http://localhost:8984/solr/test/select?q=TITLE_SH:one\%20plus\%20one&wt=xml&debugQuery=true 0 1 TITLE_SH:one\ plus\ one xml true TITLE_SH:one\ plus\ one TITLE_SH:one\ plus\ one *((TITLE_SH:one plus TITLE_SH:one plus one)/no_coord) TITLE_SH:plus one* (T

Re: Solr shingles is not working in solr 6.4.0

2017-03-16 Thread Shawn Heisey
On 3/16/2017 1:40 PM, Alexandre Rafalovitch wrote: > Oh. Try your query with quotes around the phone phrase: > q="one plus one" That query with the fieldType the user supplied produces this, on 6.3.0 with the lucene parser: "querystring":"test:\"one plus one\"", "parsedquery":"MultiPhraseQuery(te

Re: Solr shingles is not working in solr 6.4.0

2017-03-16 Thread Aman Deep Singh
No it doesn't work On 17-Mar-2017 8:38 AM, "Alexandre Rafalovitch" wrote: > Which is what I believe you had as a working example in your Dropbox > images. > > So, does it work now? > > Regards, >Alex. > > http://www.solr-start.com/ - Resources for Solr users, new and experienced > > > O

Re: Solr shingles is not working in solr 6.4.0

2017-03-16 Thread Alexandre Rafalovitch
Which is what I believe you had as a working example in your Dropbox images. So, does it work now? Regards, Alex. http://www.solr-start.com/ - Resources for Solr users, new and experienced On 16 March 2017 at 22:22, Aman Deep Singh wrote: > If I give query in quotes it converted query

Re: Solr shingles is not working in solr 6.4.0

2017-03-16 Thread Aman Deep Singh
If I give query in quotes it converted query in to graph query as Graph(cust_sh6:"one plus one" hasBoolean=false hasPhrase=false) On 17-Mar-2017 1:38 AM, "Alexandre Rafalovitch" wrote: > Oh. Try your query with quotes around the phone phrase: > q="one plus one" > > My hypothesis is: > Query pa

Re: Solr shingles is not working in solr 6.4.0

2017-03-16 Thread Alexandre Rafalovitch
Oh. Try your query with quotes around the phone phrase: q="one plus one" My hypothesis is: Query parser splits things on whitespace before passing it down into analyzer chain as individual match attempts. The Analysis UI does not take that into account and treats the whole string as phrase sent. Y

Re: Solr shingles is not working in solr 6.4.0

2017-03-16 Thread Aman Deep Singh
For images dropbox url is https://www.dropbox.com/sh/6dy6a8ajabjtxrt/AAAoxhZQe2vp3sTl3Av71_eHa?dl=0 On Thu, Mar 16, 2017 at 10:29 PM Aman Deep Singh wrote: > Yes I have reloaded the core after config changes > > > On 16-Mar-2017 10:28 PM, "Alexandre Rafalovitch" > wrote: > > Images do not come

Re: Solr shingles is not working in solr 6.4.0

2017-03-16 Thread Aman Deep Singh
Yes I have reloaded the core after config changes On 16-Mar-2017 10:28 PM, "Alexandre Rafalovitch" wrote: Images do not come through. But I was wrong too. You use eDismax and pass "cust_shingle" in, so the "df" value is irrelevant. You definitely reloaded the core after changing definitions? -

Re: Solr shingles is not working in solr 6.4.0

2017-03-16 Thread Alexandre Rafalovitch
Images do not come through. But I was wrong too. You use eDismax and pass "cust_shingle" in, so the "df" value is irrelevant. You definitely reloaded the core after changing definitions? http://www.solr-start.com/ - Resources for Solr users, new and experienced On 16 March 2017 at 12:37, A

Re: Solr shingles is not working in solr 6.4.0

2017-03-16 Thread Aman Deep Singh
Already check that i am sending sceenshots of various senarios On Thu, Mar 16, 2017 at 7:46 PM Alexandre Rafalovitch wrote: > Sanity check. Is your 'df' pointing at the field you think it is > pointing at? It really does look like all tokens were eaten and > nothing was left. But you should have

Re: Solr shingles is not working in solr 6.4.0

2017-03-16 Thread Alexandre Rafalovitch
Sanity check. Is your 'df' pointing at the field you think it is pointing at? It really does look like all tokens were eaten and nothing was left. But you should have seen that in the Analysis screen too, if you have the right field. Try adding echoParams=all to your request to see the full final

Re: Solr shingles is not working in solr 6.4.0

2017-03-16 Thread alessandro.benedetti
Hi Aman, are you using stopword in your analysis by any chance ? Can you show us your request handler config ? With the edismax you can configure stopwords to take effect at query parsing stage. Let's try to figure it out first. Cheers - --- Alessandro Benedetti Search Consultan