Hello,
Looking for guidance on approaches to implement a proximity search between
phrases.
Initially tried:
"q":"{!lucene}spanNear(spanNear(spanNear(spanTerm(body:off),spanTerm(body:the),0,true),
spanTerm(body: record),0,true), spanNear(spanTerm(body:new),spanTerm(body:
information),0,true) , 2N,false)",
"defType":"lucene",
"df":"body",
However then simplified to just two terms:
"q":"{!lucene}spanNear(spanTerm(body:off),spanTerm(body:call),2,true)",
"defType":"lucene",
"df":"body",
Both are not working. Any tips? Currently on Solr 9.4, but will likely
need to run for some time on a Solr 6 instance.
Thanks,
Matt