NIHVIVO-2337 change to improve search results

This commit is contained in:
anupsawant 2011-07-12 15:57:16 +00:00
parent 4164521c99
commit 16dc90fabf

View file

@ -223,7 +223,7 @@
<analyzer> <analyzer>
<tokenizer class="solr.WhitespaceTokenizerFactory"/> <tokenizer class="solr.WhitespaceTokenizerFactory"/>
<!-- in this example, we will only use synonyms at query time --> <!-- in this example, we will only use synonyms at query time -->
<filter class="solr.SynonymFilterFactory" synonyms="syn.txt" ignoreCase="true" expand="true"/> <!-- <filter class="solr.SynonymFilterFactory" synonyms="syn.txt" ignoreCase="true" expand="true"/> -->
<!-- Case insensitive stop word removal. <!-- Case insensitive stop word removal.
add enablePositionIncrements=true in both the index and query add enablePositionIncrements=true in both the index and query