lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmlucjav <>
Subject space making it hard tu use wilcard with lucene parser
Date Tue, 03 Apr 2012 22:00:52 GMT

I have a field type simpletext:
    <fieldType name="simpletext" class="solr.TextField"
		<tokenizer class="solr.KeywordTokenizerFactory"/>
                <filter class="solr.LowerCaseFilterFactory"/>
		<filter class="solr.TrimFilterFactory" />
I have such a field name="fsuggest" type="simpletext" 

I index there a value like this (bewtween []): [wi/rac/house aa bbb] 
I can see in analysys page it is indexed as [wi/rac/house aa bbb] 

I have a handler: 
  <requestHandler name="/suggest" class="solr.SearchHandler">
     <lst name="defaults">
	   <str name="defType">lucene</str>
        <str name="echoParams">explicit</str>
I query: 
http://localhost:8983/solr/select/?qt=/suggest&q=fsuggest:wi/rac/ho*  -- I
get the doc
http://localhost:8983/solr/select/?qt=/suggest&q=fsuggest:wi/rac/house a* --
I don't get that doc, and I get other docs that have fsuggest:abc

Is there a way to query for: fsuggest starting with 'wi/rac/house a' ??
I am in Solr3.5

I could not find a way

View this message in context:
Sent from the Solr - User mailing list archive at

View raw message