lucene-dev mailing list archives

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

    [ https://issues.apache.org/jira/browse/SOLR-3578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13401563#comment-13401563
] 

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: 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message