[ 
https://issues.apache.org/jira/browse/SOLR-8224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Erick Erickson resolved SOLR-8224.
----------------------------------
    Resolution: Invalid

Please raise issues like this on the user's list first, then if there's a 
confirmed problem raise a JIRA. We try to reserve JIRAs for known 
bugs/improvement requests rather than user-level questions, plus you'll get 
more help faster for this type of problem on the user's list.

In this case, you almost certainly have a problem because of the 
PorterStemFilter. It probably puts a term like "reserv" in the index, but 
wildcards don't apply stemming so nothing exists that actually starts with 
"reserve"....

The admin/analysis page is invaluable for things like this.

> 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