On 4/16/2015 7:49 AM, Steven White wrote:
> defType didn't work:
>
>
> http://localhost:8983/solr/db/select?q={!q.op=AND%20df=text%20solr%20sys&fl=id%2Cscore%2Ctitle&wt=xml&indent=true&defType=lucene
>
> Gave me error:
>
>     org.apache.solr.search.SyntaxError: Expected identifier at pos 27
> str='{!q.op=AND df=text solr sys'
>
> Is my use of defType correct?

If everything is at defaults and you don't have defType in the handler
definition, then defType=lucene doesn't do anything - it specifically
says "use the lucene parser" which is the default.  You want
defType=term instead.

Thanks,
Shawn

Reply via email to