lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomás Fernández Löbbe (JIRA) <j...@apache.org>
Subject [jira] [Commented] (SOLR-3455) WordDelimiterFilterFactory split word on hyphen though generateWordParts="0"
Date Thu, 17 May 2012 14:21:13 GMT

    [ https://issues.apache.org/jira/browse/SOLR-3455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13277847#comment-13277847
] 

Tomás Fernández Löbbe commented on SOLR-3455:
---------------------------------------------

You are right, I don't see why that search matches RET-34333 and WAT-34333 with your field
type. The field type that you provided doesn't use the the WordDelimiterFilterFactory though,
Have you pasted the correct one? Also, have you seen the other configuration attributes, like
"generateNumberParts" and "splitOnNumerics"? This may be a configuration problem and not a
bug, probably you would get more help on the users list?
                
> WordDelimiterFilterFactory split word on hyphen though generateWordParts="0"
> ----------------------------------------------------------------------------
>
>                 Key: SOLR-3455
>                 URL: https://issues.apache.org/jira/browse/SOLR-3455
>             Project: Solr
>          Issue Type: Bug
>            Reporter: phatak.prachi
>            Priority: Blocker
>
> •	RET-34333
> •	WAT-34333
> •	RET 35555
> •	34333
> When I search for RET => RET-34333, RET 35555
> When I search for RET- => RET-34333
> When I search for 34333 => RET-34333, WAT-34333, 34333
> When I search for RET-3 => RET-34333
> When I search for RET-34333 => RET-34333
> When I search for T-3 => nothing returns 
> When I search for T 3 => nothing returns 
> Configuration:
> <fieldType name="textgen" class="solr.TextField" positionIncrementGap="100">
>       <analyzer type="index">
>         <tokenizer class="solr.WhitespaceTokenizerFactory"/>
>         <filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt"
enablePositionIncrements="true" />
>         <filter class="solr.EdgeNGramFilterFactory" minGramSize="1" maxGramSize="15"
side="front"/>
>         <filter class="solr.LowerCaseFilterFactory"/>
>         <filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
>       </analyzer>
>       <analyzer type="query">
>         <tokenizer class="solr.WhitespaceTokenizerFactory"/>
>         <filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true"
expand="true"/>
>         <filter class="solr.EdgeNGramFilterFactory" minGramSize="1" maxGramSize="15"
side="front"/>
>         <filter class="solr.StopFilterFactory"   ignoreCase="true" words="stopwords.txt"
 enablePositionIncrements="true"  />
>         <filter class="solr.LowerCaseFilterFactory"/>
>         <filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
>        </analyzer>
> </fieldType>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message