lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Ghorayeb <dekay...@hotmail.com>
Subject Strange query behavior
Date Mon, 28 Jun 2010 12:48:15 GMT

Hello,
I have a title that says "3DVIA Studio &amp; Virtools Maya and 3dsMax Exporters". The
analysis tool for this field gives me these tokens:3dviadviastudio&;virtoolmaya3dsmaxdssystèmmaxexport


However, when i search for "3dsmax", i get no results :( Furthermore, if i search for "dsmax"
i get the spellchecker that suggests me "3dsmax" even though it doesn't find any results.
If i search for any other token ("3dvia", or "max" for example), the document is found. "3dsmax"
is the only token that doesn't seem to work!! :(
Here is my schema for this field:<fieldType name="text" class="solr.TextField" positionIncrementGap="100">
	<analyzer type="index">
		<tokenizer class="solr.WhitespaceTokenizerFactory"/>
				
		<filter class="solr.WordDelimiterFilterFactory"
			generateWordParts="1"
			generateNumberParts="1"
			catenateWords="0"
			catenateNumbers="0"
			catenateAll="0"
			splitOnCaseChange="1"
			preserveOriginal="1"
		/>
		
		<filter class="solr.TrimFilterFactory" updateOffsets="true"/>
		<filter class="solr.LengthFilterFactory" min="2" max="15"/>		<filter class="solr.StopFilterFactory"
ignoreCase="true" words="stopwords.txt" enablePositionIncrements="true" />		<filter
class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="true"/>
				
		<filter class="solr.LowerCaseFilterFactory"/>
		<filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
		<filter class="solr.SnowballPorterFilterFactory" language="${Language}" protected="protwords.txt"/>
	</analyzer>
	
	<analyzer type="query">
		<tokenizer class="solr.WhitespaceTokenizerFactory" />
		
		<filter class="solr.WordDelimiterFilterFactory"
			generateWordParts="1"
			generateNumberParts="1"
			catenateWords="1"
			catenateNumbers="1"
			catenateAll="0"
			splitOnCaseChange="1"
			preserveOriginal="1"
		/>
		
		<filter class="solr.TrimFilterFactory" updateOffsets="true"/>
		<filter class="solr.LengthFilterFactory" min="2" max="15"/>
		<filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt" enablePositionIncrements="true"
/>
		<filter class="solr.LowerCaseFilterFactory" />
		<filter class="solr.RemoveDuplicatesTokenFilterFactory" />
		<filter class="solr.SnowballPorterFilterFactory" language="${Language}" protected="protwords.txt"
/>
	</analyzer>
</fieldType>
Can anyone help me out please? :(
PS: the ${Language} is set to "en" (for english) in this case...
 		 	   		  
_________________________________________________________________
La boîte mail NOW Génération vous permet de réunir toutes vos boîtes mail dans Hotmail
!
http://www.windowslive.fr/hotmail/nowgeneration/
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message