-solr.PatternReplaceCharFilterFactory
-Original message-
> From:Walter Underwood
> Sent: Thursday 1st October 2020 18:20
> To: solr-user@lucene.apache.org
> Subject: Re: advice on whether to use stopwords for use case
>
> I can’t think of an easy way to do this in Solr.
I can’t think of an easy way to do this in Solr.
Do a bunch of string searches on the query on the client side. If any of them
match,
make a “no hits” result page.
wunder
Walter Underwood
wun...@wunderwood.org
http://observer.wunderwood.org/ (my blog)
> On Sep 30, 2020, at 11:56 PM, Derek Poh
Yes, the requirements (for now) is not to return any results. I think
they may change the requirements,pending their return from the holidays.
If so, then check for those words in the query before sending it to Solr.
That is what I think so too.
Thinking further, using stopwords for this, the
Hi Alex
The business requirement (for now) is not to return any result when the
search keywords are cigarette related. The business user team will
provide the list of the cigarette related keywords.
Will digest, explore and research on your suggestions. Thank you.
On 30/9/2020 10:56 am, Alex
I’m not clear on the requirements. It sounds like the query “cigar” or “cuban
cigar”
should return zero results. Is that right?
If so, then check for those words in the query before sending it to Solr.
But the stopwords approach seems like the requirement is different. Could you
give
some examp
You may also want to look at something like: https://docs.querqy.org/index.html
ApacheCon had (is having..) a presentation on it that seemed quite
relevant to your needs. The videos should be live in a week or so.
Regards,
Alex.
On Tue, 29 Sep 2020 at 22:56, Alexandre Rafalovitch wrote:
>
>
I am not sure why you think stop words are your first choice. Maybe I
misunderstand the question. I read it as that you need to exclude
completely a set of documents that include specific keywords when
called from specific module.
If I wanted to differentiate the searches from specific module, I
w