You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Radu Gheorghe <ra...@sematext.com> on 2020/12/04 06:49:09 UTC
Re: Proximity Search with phrases
Hi Mark,
I don’t really get your use-case. Maybe you can provide another example?
In either case, maybe the surround query parser would help? https://lucene.apache.org/solr/guide/8_4/other-parsers.html#surround-query-parser
Or span queries in general via the XML query parser? https://lucene.apache.org/solr/guide/8_4/other-parsers.html#xml-query-parser
Best regards,
Radu
--
Sematext Cloud - Full Stack Observability - https://sematext.com
Solr and Elasticsearch Consulting, Training and Production Support
> On 27 Nov 2020, at 14:25, Mark R <pa...@outlook.com> wrote:
>
> Use Case: Is it possible to perform a proximity search using phrases for example: "phrase 1" with 10 words of "phrase 2"
>
> SOLR Version: 8.4.1
>
> Query using: "(\"word1 word2\"(\"word3 word4\")"~10
>
> While this returns results seems to be evaluating the words with each other.
>
> Are stop words removed when querying, I assume yes. ?
>
> Thanks in advance
>
> Mark
>
>