Wildcard search with q query

2009-02-24 Thread dabboo

Hi,

I am trying to perform wildcard search using q query. 

e.g. If I give tes* as the query, it works fine and returns the results as
expected.

But if I give *tes*, then it throws an exception saying that we cant have
wildcards in front of any string.

Please suggest.

Thanks,
Amit Garg
-- 
View this message in context: 
http://www.nabble.com/Wildcard-search-with-q-query-tp22179548p22179548.html
Sent from the Solr - User mailing list archive at Nabble.com.



RE: Wildcard search with q query

2009-02-24 Thread Jana, Kumar Raja
Hi Amit,
Leading wildcard searches are not allowing in Solr Out-of-the-box. There
are other techniques to overcome this handicap.
Search for Leading Wildcards in the user mailing list archives will
return the necessary mail threads which might be pretty useful to you.

-Kumar


-Original Message-
From: dabboo [mailto:ag...@sapient.com] 
Sent: Tuesday, February 24, 2009 4:04 PM
To: solr-user@lucene.apache.org
Subject: Wildcard search with q query


Hi,

I am trying to perform wildcard search using q query. 

e.g. If I give tes* as the query, it works fine and returns the results
as
expected.

But if I give *tes*, then it throws an exception saying that we cant
have
wildcards in front of any string.

Please suggest.

Thanks,
Amit Garg
-- 
View this message in context:
http://www.nabble.com/Wildcard-search-with-q-query-tp22179548p22179548.h
tml
Sent from the Solr - User mailing list archive at Nabble.com.