I have gone through all the of the related posts, but could not find a proper
answer that works, so Im writing this post

Is there anyway of using wilcard searches on alphanumeric text like...R-1* ?

let me share relevent information


<fieldType name="textShoaib" class="solr.TextField"
positionIncrementGap="100">
      <analyzer type="index">
        <tokenizer class="solr.StandardTokenizerFactory"/>   <!--This was
originally <tokenizer class="solr.WhitespaceTokenizerFactory"/> just playing
around-->
        <filter class="solr.StopFilterFactory"
                ignoreCase="true"
                words="stopwords.txt"
                enablePositionIncrements="true"
                />
        <filter class="solr.WordDelimiterFilterFactory"
generateWordParts="0" generateNumberParts="0" catenateWords="0"
catenateNumbers="0" catenateAll="0" splitOnCaseChange="0"
preserveOriginal="1"/>
        <filter class="solr.LowerCaseFilterFactory"/>
        <filter class="solr.EnglishPorterFilterFactory"
protected="protwords.txt"/>
        <filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
      </analyzer>
      <analyzer type="query">
        <tokenizer class="solr.StandardTokenizerFactory"/>                 
<!--This was originally <tokenizer
class="solr.WhitespaceTokenizerFactory"/>-->
        <filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt"
ignoreCase="true" expand="true"/>
        <filter class="solr.StopFilterFactory" ignoreCase="true"
words="stopwords.txt"/>
        <filter class="solr.WordDelimiterFilterFactory"
generateWordParts="0" generateNumberParts="0" catenateWords="0"
catenateNumbers="0" catenateAll="0" splitOnCaseChange="0"
preserveOriginal="1"/>
        <filter class="solr.LowerCaseFilterFactory"/>
        <filter class="solr.EnglishPorterFilterFactory"
protected="protwords.txt"/>
        <filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
      </analyzer>
    </fieldType>




my requestHandler is...





  <requestHandler name="standard2" class="solr.SearchHandler">
    <!-- default values for query parameters -->
     <lst name="defaults">
  <str name="defType">dismax</str>
       <str name="echoParams">explicit</str>
  <str name="tie">0.6</str>
  <str name="pf">name^2.3 mat_nr^0.4</str>
 <str name="mm">0%</str>
       <!-- 
       <int name="rows">10</int>
       <str name="fl">*</str>
       <str name="version">2.1</str>
        -->
     </lst>
 
  </requestHandler>



and also the field on which I want to apply searching on



 <field name="mat_nr"  type="textShoaib" indexed="true" stored="true"
omitNorms="true"/>



and the query Im using is



qt=standard2&q=R-1*



but this still doesnt work.


any suggestions on this?

thanks









-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Alphanumeric-wildcard-search-problem-tp1393332p1393332.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to