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
Re: Block document for certain search words
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
Re: Block document for certain search words
An alternative might be to drop down its relevancy for certain words. Would that be possible? On 30.05.2014 11:55, Christian Loock 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
Problem with Synonyms
Hello, this is my first time writing at this mailing lost, so hello everyone. I am having issues with synonyms. I added the synonym to one of my field types: | I also added some Synonyms to my Synonyms.txt which is in the conf folder of my core. However, when i look into the analyzer, the content wont be replaced and I cant figure out where the problem lies. Can anybody help here? Im totally stuck... |
Re: Problem with Synonyms
Am 03.09.2013 12:11, schrieb pravesh: SOLR has a nice analysis page. You can use it to get insight what is happening after each filter is applied at index/search time Regards Pravesh -- View this message in context: http://lucene.472066.n3.nabble.com/Problem-with-Synonyms-tp4087905p4087915.html Sent from the Solr - User mailing list archive at Nabble.com. Yeah thats the thing. It applies the Synonym Filter, but nothing really happens. Is there a way to see if the SF load my Synonym file?
Re: Problem with Synonyms
The SF part is in the analysis page but nothing is substituted. I reloaded, removed and readded the core, reindexednothing worked :( I wonder if the SF actually uses the correct file for synonyms. I have it laying in the conf folder of the core. Is that correct? Am 03.09.2013 13:32, schrieb Erick Erickson: Please explain exactly what "but nothing really happens" means. Do you mean that you see the SF in the analysis page but there are no substitutions? Or you don't get search results? Or??? You have to reload the core after making changes at minimum, you can restart the Solr instance if you're paranoid. And you have to re-index for changes in the index part of the analysis chain to take effect. Best Erick On Tue, Sep 3, 2013 at 6:33 AM, Christian Loock wrote: Am 03.09.2013 12:11, schrieb pravesh: SOLR has a nice analysis page. You can use it to get insight what is happening after each filter is applied at index/search time Regards Pravesh -- View this message in context: http://lucene.472066.n3.** nabble.com/Problem-with-**Synonyms-tp4087905p4087915.**html<http://lucene.472066.n3.nabble.com/Problem-with-Synonyms-tp4087905p4087915.html> Sent from the Solr - User mailing list archive at Nabble.com. Yeah thats the thing. It applies the Synonym Filter, but nothing really happens. Is there a way to see if the SF load my Synonym file?