Both method doesn't work on my Solr 3.6, with the error message:

_Unknown query type 'surround'_




Le 17/12/2012 15:18, Jack Krupansky a écrit :
Not with the standard query parsers, but you can do it with the "surround" query parser:

defType=surround&q=title:(plast* w bicycle)

Or

q={!surround}title:(plast* w bicycle)

Two notes:
1. Surround performs NO analysis, so you have to manually analyze your terms, like lower case them if necessary. 2. Surround has no dismax feature, so it won't search multiple fields automatically.

-- Jack Krupansky

-----Original Message----- From: Bruno Mannina
Sent: Monday, December 17, 2012 8:04 AM
To: solr-user@lucene.apache.org
Subject: Wildcard inside " " ?

Dear Users,

Wildcard seems not to work inside double quote request.
I get always 0 result.

I.e:
title:"plastic bicycle" <== 79 results in my database
title:"plast* bicycle" <== 0 result found

Is exist a solution for that ?

Thanks a lot,
Bruno



Reply via email to