lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <iori...@yahoo.com>
Subject Re: space making it hard tu use wilcard with lucene parser
Date Tue, 03 Apr 2012 22:32:44 GMT
> 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' ??

You can use prefix query parser. &q={!prefix f=fsuggest}wi/rac/house a

http://lucene.apache.org/solr/api/org/apache/solr/search/PrefixQParserPlugin.html


Mime
View raw message