lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From marotosg <marot...@gmail.com>
Subject Re: Query by distance
Date Tue, 18 Oct 2016 13:12:33 GMT
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
View raw message