[
https://issues.apache.org/jira/browse/SOLR-3578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jed Glazner updated SOLR-3578:
------------------------------
Description:
Now that aliasing is into the 4x branch (see
https://issues.apache.org/jira/browse/SOLR-1205) 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
was:
Now that aliasing is into the 4x branch (see
https://issues.apache.org/jira/browse/SOLR-1205) 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.c.qf=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
> Add field aliasing for filter queries
> -------------------------------------
>
> Key: SOLR-3578
> URL: https://issues.apache.org/jira/browse/SOLR-3578
> Project: Solr
> Issue Type: Improvement
> Components: query parsers
> Reporter: Jed Glazner
>
> Now that aliasing is into the 4x branch (see
> https://issues.apache.org/jira/browse/SOLR-1205) 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:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]