lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <>
Subject [jira] [Commented] (SOLR-3578) Add field aliasing for filter queries
Date Tue, 26 Jun 2012 17:54:43 GMT


Hoss Man commented on SOLR-3578:

i'm having trouble understanding the goal of this request -- largely because things like the
"fl" param don't make any sense in the context of local params (it doesn't affect query parsing
at all -- it's a response formating param)

Could you provide a more details example of what you'd like to see work?  ideally in the form
of a unit test, but at a minimum something that people could try using the example data (ie:
show a URL with fields used in the example, and then show an example of what results you'd
like to see using the docs in the example)
> Add field aliasing for filter queries
> -------------------------------------
>                 Key: SOLR-3578
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>          Components: query parsers
>            Reporter: Jed Glazner
> Now that aliasing is into the 4x branch (see
 I tried to use it with filter queries but it didn't work. Well I could get them to work using
local params, however I think that the query parsers should be able to detect the parameterized
versions as well.
> For example the query:
> ../select?q=a:value&hl=a:field_a&f.a.qf=field_a&defType=dismax&fq={!dismax
fl=b:field_b f.b.qf=field_b}value2
> should be re-written as:
> ../select?q=a:value&hl=a:field_a&f.a.qf=field_a&defType=dismax&fq=b:value&fq.fl=b:field_b&fq.f.b.qf=field_b&qf.defType=dismax

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message