Do these forbidden documents have 'certain search words' in them? May be KeepWordFilterFactory could help.
On Friday, May 30, 2014 12:57 PM, Christian Loock <c...@vkf-renzel.de> wrote: Hi, well we have a product search which often will return products one might not expect because they contain somesort of reference to other products. I want it to appear in the index, so it can be found in general, but I dont want it to be found for certain search words. On 30.05.2014 11:52, Jack Krupansky wrote: > Explain your use case a little more, but you can define terms as stop > words with a stop filter, which means they won't appear in the index. > > -- Jack Krupansky > > -----Original Message----- From: Christian Loock > Sent: Friday, May 30, 2014 5:38 AM > To: solr-user@lucene.apache.org > Subject: Block document for certain search words > > Hi, > > is there a way to block a document for being found when you search for a > certain way? > > Cheers, > > Christian > -- Christian Loock Web Developer Renzel Agentur www.renzel-agentur.de