On Nov 20, 2009, at 7:22 AM, revas wrote: > Hello, > > If I define a field like this in the schema ,is this correct ? > > <fieldType name="*text_match_phrase*" > class="*solr.TextField*"positionIncrementGap > ="*100*"> > - <http://sites.google.com/a/impelsys.com/search/phrase-match#> <analyzer> > <tokenizer class="*solr.WhitespaceTokenizerFactory*" /> > <filter class="*solr.LowerCaseFilterFactory*" /> > <filter class="*solr.WordDelimiterFilterFactory*" > generateWordParts="*1*"generateNumberParts > ="*1*" catenateWords="*1*" catenateNumbers="*1*" > catenateAll="*0*"splitOnCaseChange > ="*1*" /> > </analyzer> > </fieldType> > > Here I am not differentiating it in terms of query analyzer and the index > analyzer and I am assuming that this will be used by both > query and index analyzer .Is this correct?
Correct. The analysis specified will be used at both query and index time. -------------------------- Grant Ingersoll http://www.lucidimagination.com/ Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika/Droids) using Solr/Lucene: http://www.lucidimagination.com/search