i recently upgraded al systems for indexing and searching to lucene/solr 3.1,
and unfortunatly it seems theres a lot more changes under the hood than
there used to be.

i have a java based indexer and a solr based searcher, on the java end for
the indexing this is what i have:

   Set nostopwords = new HashSet(); 
nostopwords.add("needtoindexstopwords");
Analyzer an = new StandardAnalyzer(Version.LUCENE_31, nostopwords);
         writer
            = new IndexWriter(fsDir,an,MaxFieldLength.UNLIMITED);
....
doc.add(new Field("text", contents, Field.Store.NO, Field.Index.ANALYZED));

and for the solr end i have:
 <fieldType name="text" class="solr.TextField" positionIncrementGap="100">
     
        <filter class="solr.WordDelimiterFilterFactory"
generateWordParts="1" generateNumberParts="1" catenateWords="1"
catenateNumbers="1" catenateAll="0" splitOnCaseChange="0"/>
      <analyzer class="org.apache.lucene.analysis.standard.StandardAnalyzer"
ignoreCase="true" />
    </fieldType>
    

and it seems to be working well enough, EXCEPT i somehow lost matching
against strings like:
"97 Yale L.J. 1493" 
which with 2.9 would give me 753 results in my data, and now 3.1 gives me
105

is there something i can change to the indexer to be able to understand what
used to be default behavior with the standard analyzer, or is this something
with my solr schema against the data?



--
View this message in context: 
http://lucene.472066.n3.nabble.com/upgraded-from-2-9-to-3-x-problems-help-tp3129348p3129348.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to