I stand corrected! I used to know that.

But I do think the doc for edismax should be more clear on this point- what happens if an invalid field name is referenced - or more specifically, what happens if the user references a legitimate field name that merely happens to be disallowed using uf.

-- Jack Krupansky

-----Original Message----- From: Yonik Seeley
Sent: Sunday, May 25, 2014 10:58 AM
To: solr-user@lucene.apache.org
Subject: Re: Query translation of User Fields

On Thu, May 22, 2014 at 10:56 AM, Jack Krupansky
<j...@basetechnology.com> wrote:
Hmmm... that doesn't sound like what I would have expected - I would have
thought that Solr would throw an exception on the "user" field, rather than
simply treat it as a text keyword.

No, I believe that's working as designed.  edismax should never throw
exceptions due to the structure of the user query.
Just because something looks like a field query (has a : in it)
doesn't mean it was intended to be.

Examples:
Terminator 2: Judgment Day
Mission: Impossible

-Yonik
http://heliosearch.org - facet functions, subfacets, off-heap filters&fieldcache

Reply via email to