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 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