It's working!!! thanks a lot :)
-Original Message-
From: Emir Arnautović [mailto:emir.arnauto...@sematext.com]
Sent: Tuesday, November 19, 2019 2:54 PM
To: solr-user@lucene.apache.org
Subject: Re: How to implement NOTIN operator with Solr
Right - didn’t read all your examples. In
ene.apache.org
> Subject: Re: How to implement NOTIN operator with Solr
>
> Hi Avi,
> There are span queries, but in this case you don’t need it. It is enough to
> simply filter out documents that are with “credit card”. Your query can be
> something like
> +text:credit
Nov 2019 at 05:08, Raboah, Avi wrote:
>
> In that case I got only doc1
>
> -Original Message-
> From: Emir Arnautović [mailto:emir.arnauto...@sematext.com]
> Sent: Tuesday, November 19, 2019 11:51 AM
> To: solr-user@lucene.apache.org
> Subject: Re: How to implement
In that case I got only doc1
-Original Message-
From: Emir Arnautović [mailto:emir.arnauto...@sematext.com]
Sent: Tuesday, November 19, 2019 11:51 AM
To: solr-user@lucene.apache.org
Subject: Re: How to implement NOTIN operator with Solr
Hi Avi,
There are span queries, but in this case
Hi Avi,
There are span queries, but in this case you don’t need it. It is enough to
simply filter out documents that are with “credit card”. Your query can be
something like
+text:credit -text:”credit card”
If you prefer using boolean operators, you can write it as:
text:credit AND NOT text: “cre
This is a tricky problem, you’re trying to handle the meani using the words. A
simple solution could be apply a synonym filter that convert “credit card” in
two terms: “creditcard” and “card”. In this way searching credit will not match
any term.
Ciao,
Vincenzo
--
mobile: 3498513251
skype: fre