Which query parser are you using? The dismax query parser does not support
wild cards or "*:*".

Either way, the error message is unhelpful - worth filing a Jira.

-- Jack Krupansky

On Fri, Mar 20, 2015 at 7:21 AM, Vishnu Mishra <vdil...@gmail.com> wrote:

> Hi, I am using solr 4.10.3 and doing distributed shard query. I am getting
> following syntax exception at regular intervals.
>
>
>  ERROR org.apache.solr.core.SolrCore  ?
> org.apache.solr.common.SolrException: org.apache.solr.search.SyntaxError:
> Cannot parse '*:*': Encountered "<EOF>" at line 1, column 3.
> Was expecting one of:
>     "NOT" ...
>     "+" ...
>     "-" ...
>     <BAREOPER> ...
>     "(" ...
>     "*" ...
>     "^" ...
>     <QUOTED> ...
>     <TERM> ...
>     <FUZZY_SLOP> ...
>     <PREFIXTERM> ...
>     <WILDTERM> ...
>     <REGEXPTERM> ...
>     "[" ...
>     "{" ...
>     <PROXY_MF> ...
>     <JOIN_MF> ...
>     <FRQ_CUT_OFF> ...
>     <NUMBER> ...
>     <TERM> ...
>     "*" ...
>
>
> My query to solr is *:* can anyone explain me why this exception is
> occurring.
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Solr-Unexpected-Query-Parser-Exception-tp4194156.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to