Wow, that was fast :-)

We're executing URL based queries and URL escaping is not the problem.

We're trying NOT to allow searches with *. So if the user searches for "a*" - instead of returning all records starting with a, we would return all records containing the "a*" string.

Regards,
Marius

Yonik Seeley wrote:
On 7/16/07, Marius Hanganu <[EMAIL PROTECTED]> wrote:
Is there a way in SOLR to escape * and '?' ?

There is URL escaping, and there is query parser escaping.
URL encoding is standard (percent encoding), and parser escaping is
the same as Lucene (use a backslash).

It would be easier to help if you could be a little more explicit
about exactly what you are trying to do, how you are sending the query
to Solr (the admin web page?), and if you are seeing results that are
unexpected.

-Yonik

Reply via email to