Thanks a lot. I will try it and let you know. Thanks again Sergio
On 18 October 2016 at 17:02, John Bickerstaff <j...@johnbickerstaff.com> wrote: > Just in case it helps, I had good success on multi-word synonyms using this > plugin... > > https://github.com/healthonnet/hon-lucene-synonyms > > IIRC, the instructions are clear and fairly easy to follow - especially for > Solr 6.x > > Ping back if you run into any problems setting it up... > > > > On Tue, Oct 18, 2016 at 7:12 AM, marotosg <marot...@gmail.com> wrote: > > > This is my field type. > > > > > > I was reading about this and it looks like the issue > > <fieldType name="textOpenTightCompany_PositionSyn" > class="solr.TextField" > > positionIncrementGap="300"> > > <analyzer type="index"> > > <tokenizer class="solr.WhitespaceTokenizerFactory"/> > > <filter class="solr.WordDelimiterFilterFactory" > > generateWordParts="1" generateNumberParts="1" catenateWords="1" > > catenateNumbers="1" catenateAll="0" splitOnCaseChange="1" > > preserveOriginal="1" protected="protwordscompany.txt"/> > > <filter class="solr.ASCIIFoldingFilterFactory" > > preserveOriginal="false"/> > > <filter class="solr.LowerCaseFilterFactory"/> > > <filter class="solr.SynonymFilterFactory" > > synonyms="positionsynonyms.txt" ignoreCase="true" expand="true"/> > > </analyzer> > > <analyzer type="query"> > > <tokenizer class="solr.WhitespaceTokenizerFactory"/> > > <filter class="solr.WordDelimiterFilterFactory" > > generateWordParts="0" generateNumberParts="0" catenateWords="0" > > catenateNumbers="0" catenateAll="0" splitOnCaseChange="0" > > preserveOriginal="1" protected="protwordscompany.txt"/> > > <filter class="solr.ASCIIFoldingFilterFactory" > > preserveOriginal="false"/> > > <filter class="solr.LowerCaseFilterFactory"/> > > </analyzer> > > </fieldType> > > > > > > I have been reading and it looks like the issue is about multi term > > synonym. > > http://opensourceconnections.com/blog/2013/10/27/why-is- > > multi-term-synonyms-so-hard-in-solr/ > > > > I may try this plug in to check if it works. > > > > > > > > > > -- > > View this message in context: http://lucene.472066.n3. > > nabble.com/Query-by-distance-tp4300660p4301697.html > > Sent from the Solr - User mailing list archive at Nabble.com. > > >