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

Mridul Srvastava commented on SOLR-8224:
----------------------------------------

Thank you Erick Erickson for your valuable response,

I got to know the behaviour of "PorterStemFilter" after analysing some token 
via  admin/analysis. After removing  "PorterStemFilter" it is working fine.

Please let me know are filters  not apply on wild card query in solr.

> Wild card query do not return result 
> -------------------------------------
>
>                 Key: SOLR-8224
>                 URL: https://issues.apache.org/jira/browse/SOLR-8224
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 4.9
>            Reporter: Mridul Srvastava
>
> Hi, 
> My search query returns below result :
> fulladdress:(cypress* reserve) - "numFound": 217
> but
> fulladdress:(cypress* reserve*) - "numFound": 0
> fulladdress:(reserve*) - "numFound": 0
> Configuration in Schema.xml  is like below:
> <fieldType name="text_cc" class="solr.TextField" positionIncrementGap="100">
>       <analyzer type="index">
>         <tokenizer class="solr.StandardTokenizerFactory"/>
>               <filter class="solr.StandardFilterFactory"/>
>               <filter class="solr.TrimFilterFactory"/>
>               <filter class="solr.LowerCaseFilterFactory"/> 
>               <filter class="solr.StopFilterFactory" ignoreCase="true" 
> words="stopwords.txt" />
>               <filter class="solr.WordDelimiterFilterFactory" 
>                       generateWordParts="1" 
>                       generateNumberParts="1" 
>                       catenateWords="0" 
>                       catenateNumbers="0" 
>                       catenateAll="0" 
>                       splitOnCaseChange="0"
>                       splitOnNumerics="0"
>                       stemEnglishPossessive="1"
>                       preserveOriginal="1"                    
>                       />
>               <filter class="solr.KeywordMarkerFilterFactory" 
> protected="protwords.txt"/>
>         <filter class="solr.PorterStemFilterFactory"/>
>       </analyzer>
>       <analyzer type="query">
>         <tokenizer class="solr.StandardTokenizerFactory"/>
>               <filter class="solr.StandardFilterFactory"/>
>               <filter class="solr.TrimFilterFactory"/>
>               <filter class="solr.LowerCaseFilterFactory"/> 
>               <filter class="solr.StopFilterFactory" ignoreCase="true" 
> words="stopwords.txt" />
>               <filter class="solr.WordDelimiterFilterFactory" 
>                       generateWordParts="1" 
>                       generateNumberParts="1" 
>                       catenateWords="0" 
>                       catenateNumbers="0" 
>                       catenateAll="0" 
>                       splitOnCaseChange="0"
>                       splitOnNumerics="0"
>                       stemEnglishPossessive="1"
>                       preserveOriginal="0"                    
>                       />
>               <filter class="solr.KeywordMarkerFilterFactory" 
> protected="protwords.txt"/>
>         <filter class="solr.PorterStemFilterFactory"/>
>       </analyzer>
>     </fieldType>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to