lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergio GarcĂ­a Maroto <marot...@gmail.com>
Subject Re: Query by distance
Date Wed, 19 Oct 2016 07:48:43 GMT
Thanks a lot. I will try it and let you know.

Thanks again
Sergio


On 18 October 2016 at 17:02, John Bickerstaff <john@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 <marotosg@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.
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message