Hi Ivan Can you share response from debug query. Here is what I got:
{ "responseHeader":{ "status":0, "QTime":8, "params":{ "q":"{!complexphrase df=content}\"leonardo -da -Vinci\"", "indent":"on", "fl":"content", "wt":"json", "debugQuery":"on"}}, "response":{"numFound":3,"start":0,"docs":[ { "content":"Leonardo is the name of Leonardo da Vinci"}, { "content":"Leonardo da is the name of Leonardo da Vinci"}, { "content":"Leonardo Vinci is the name of Leonardo da Vinci"}] }, "debug":{ "rawquerystring":"{!complexphrase df=content}\"leonardo -da -Vinci\"", "querystring":"{!complexphrase df=content}\"leonardo -da -Vinci\"", "parsedquery":"ComplexPhraseQuery(\"leonardo -da -Vinci\")", "parsedquery_toString":"\"leonardo -da -Vinci\"", "explain":{ “test”:"\n22.708572 = weight(spanNot(content:leonardo, spanNear([content:leonardo, content:da, content:vinci], 0, true), 0, 0) in 0) ... Thanks, Emir -- Monitoring - Log Management - Alerting - Anomaly Detection Solr & Elasticsearch Consulting Support Training - http://sematext.com/ > On 16 Feb 2018, at 10:51, ivan <i...@presstoday.com> wrote: > > Hi Emir, > > i'm testing these on the examples that comes with solr (techproducts), i > just added some docs to that. > Both those queries give the expected results. > I'm testing on a TextField (indexed, tokenized, stored). > > > > -- > Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html