Hi,

 

The DisMaxQParser does not support wildcards in its q parameter [1]. You must 
use the LuceneQParser instead. AFAIK, in DisMax, wildcards are part of the 
search query and may get filtered out in your query analyzer.

 

[1]: http://wiki.apache.org/solr/DisMaxRequestHandler#q

 

Cheers,
 
-----Original message-----
From: imranak <imranak...@gmail.com>
Sent: Mon 12-07-2010 22:40
To: solr-user@lucene.apache.org; 
Subject: Problem with Wildcard searches in Solr



Hi,

I am having a problem doing wildcard searches in lucene syntax using the
edismax handler. I have Solr 4.0 nightly build from the trunk.

A general search like 'computer' returns results but 'com*er' doesn't return
any results. Similary, a search like 'co?mput?r' returns no results. The
only type of wildcard searches working currrently is ones with trailing
wildcards(like compute? or comput*).

I want to be able to do searches with wildcards at the beginning (*puter)
and in between (com*er). Could someone please tell me what I am doing wrong
and how to fix it.

Thanks.

Regards,
Imran.

-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Problem-with-Wildcard-searches-in-Solr-tp961448p961448.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to