Re: Problem with synonyms containing whitespace

2018-05-09 Thread srujan.kommoju
thanks for the solution its working fine for me. I did the same configuration but missed the tokenizerFactory="solr.KeywordTokenizerFactory" in the filter tag. that great -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Problem with Synonyms

2013-09-03 Thread Christian Loock
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, schri

Re: Problem with Synonyms

2013-09-03 Thread 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 paran

Re: Problem with Synonyms

2013-09-03 Thread Christian Loock
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.

Re: Problem with Synonyms

2013-09-03 Thread 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 l

Re: Problem with synonyms containing whitespace

2011-12-17 Thread Bojan Miletic
Thanks guys, Problem was in default tokenizer that synonymFilterFactory was using. I modified parameter and now everything is working ^_^. On Sat, Dec 17, 2011 at 11:48 PM, Ahmet Arslan wrote: > > When testing in analyzer by using solr admin light gets > > correctly > > recognised as one of t

Re: Problem with synonyms containing whitespace

2011-12-17 Thread Ahmet Arslan
> When testing in analyzer by using solr admin light gets > correctly > recognised as one of the synonims, but when searching > for  class 3 (gvw > 10001 - 14000) analyzer can't find any synonyms. QueryParser splits query string on white spaces before it reaches analysis phase. You can try queryi

Re: Problem with synonyms containing whitespace

2011-12-17 Thread Koji Sekiguchi
SynonymFilterFactory can take tokenizerFactory attribute that is used when reading synonyms file. If you don't specify it, WhitespaceTokenizerFactory will be used. https://builds.apache.org/job/Solr-trunk/javadoc/org/apache/solr/analysis/SynonymFilterFactory.html koji -- Check out "Query Log Vi

RE: Problem with synonyms containing whitespace

2011-12-17 Thread Soumitra Banerjee
sense or not and if Solr can produce the results. Regards, Soumitra From: Soumitra Banerjee [mailto:soumitrabaner...@gmail.com] Sent: Saturday, December 17, 2011 2:27 PM To: 'solr-user@lucene.apache.org' Subject: RE: Problem with synonyms containing whitespace Hi all - I

RE: Problem with synonyms containing whitespace

2011-12-17 Thread Soumitra Banerjee
Hi all - I have a similar problem, as follows: Some of the synonyms for acetone are as follows: 1090,b-Ketopropane,Dimethyl formaldehyde,2-Propanone,dimethylketone,Ketone, dimethyl-,methyl ketone,propan-2-one,propanone,β-Ketopropane,67-64-1 The analyzer during indexing is splitting

Re: Problem with synonyms

2010-11-22 Thread Yonik Seeley
On Mon, Nov 22, 2010 at 10:29 AM, Yonik Seeley wrote: > On Sat, Nov 20, 2010 at 5:59 AM, sivaprasad > wrote: >> Even after expanding the synonyms also i am unable to get same results. > > What you are trying to do should work with index-time synonym expansion. > Just make sure to remove the syno

Re: Problem with synonyms

2010-11-22 Thread Yonik Seeley
On Sat, Nov 20, 2010 at 5:59 AM, sivaprasad wrote: > Even after expanding the synonyms also i am unable to get same results. What you are trying to do should work with index-time synonym expansion. Just make sure to remove the synonym filter at query time (or use a synonym filter w/o multi-word s

Re: Problem with synonyms

2010-11-22 Thread sivaprasad
In synonyms.txt file i have the below synonyms. ipod, i-pod, i pod If expand==false during the index time, Is it going to replace all the occurences of "i-pod", "i pod" with "ipod" ? -- View this message in context: http://lucene.472066.n3.nabble.com/Problem-with-synonyms-tp1905051p1946336

Re: Problem with synonyms

2010-11-21 Thread sivaprasad
Hi, This is looks like a bug.See the below url. https://issues.apache.org/jira/browse/LUCENE-1622 -- View this message in context: http://lucene.472066.n3.nabble.com/Problem-with-synonyms-tp1905051p1944183.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Problem with synonyms

2010-11-20 Thread Ahmet Arslan
tem filter can be useful in your case. Porter can own televisions to television transformation. --- On Tue, 11/16/10, sivaprasad wrote: > From: sivaprasad > Subject: Re: Problem with synonyms > To: solr-user@lucene.apache.org > Date: Tuesday, November 16, 2010, 8:16 AM > > I di

Re: Problem with synonyms

2010-11-20 Thread Robert Muir
On Tue, Nov 16, 2010 at 1:16 AM, sivaprasad wrote: > Query1:hdtv > > MultiPhraseQuery(searchtext:"high definit (televis > tv tvs)") > > and the number of results returned is ZERO. > > Query2:High Definition Television > > The parsed query is given below. > +searchtext:high +searchtext:definit > +(

Re: Problem with synonyms

2010-11-20 Thread sivaprasad
Even after expanding the synonyms also i am unable to get same results. Is there any other method to achieve this -- View this message in context: http://lucene.472066.n3.nabble.com/Problem-with-synonyms-tp1905051p1935419.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Problem with synonyms

2010-11-15 Thread sivaprasad
I did changes to the schema file as shown below. And i have an entry in the synonym.txt file as shown below. hdtv => High Definition Television, High Definition TV,High Definition Televisions,High Definition TVs Now i

Re: Problem with synonyms

2010-11-15 Thread Ahmet Arslan
> Do i need to expand the synonyms at index time? Probably yes. You can play with its parameters and experiment.

Re: Problem with synonyms

2010-11-15 Thread sivaprasad
Do i need to expand the synonyms at index time? -- View this message in context: http://lucene.472066.n3.nabble.com/Problem-with-synonyms-tp1905051p1905976.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Problem with synonyms

2010-11-15 Thread Ahmet Arslan
Multi-word synonyms are meant to be used at index time. QueryParser will split your query on white spaces unless you use quotes. "The Lucene QueryParser tokenizes on white space before giving any text to the Analyzer" [1] [1]http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.S