When you put a backslash in a Java string you need to escape it with another backslash:

"content:\\?\\?\\?\\?\\?\\?"

-- Jack Krupansky

-----Original Message----- From: Alexander Aristov
Sent: Thursday, July 12, 2012 8:30 AM
To: solr-user@lucene.apache.org
Subject: Re: query syntax to find ??? chars

don't know why but doesn't work. :(

Best Regards
Alexander Aristov


On 11 July 2012 23:54, Yury Kats <yuryk...@yahoo.com> wrote:

On 7/11/2012 2:55 PM, Alexander Aristov wrote:

> content:?????? doesn't work :)

I would try escaping them: content:\?\?\?\?\?\?





Reply via email to