Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DA4729EC4 for ; Tue, 26 Jun 2012 16:14:45 +0000 (UTC) Received: (qmail 58867 invoked by uid 500); 26 Jun 2012 16:14:44 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 58808 invoked by uid 500); 26 Jun 2012 16:14:44 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 58800 invoked by uid 99); 26 Jun 2012 16:14:44 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jun 2012 16:14:44 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id EF6571418B6 for ; Tue, 26 Jun 2012 16:14:43 +0000 (UTC) Date: Tue, 26 Jun 2012 16:14:43 +0000 (UTC) From: "Jed Glazner (JIRA)" To: dev@lucene.apache.org Message-ID: <271247227.56959.1340727283983.JavaMail.jiratomcat@issues-vm> In-Reply-To: <859038085.56925.1340726804227.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Updated] (SOLR-3578) Add field aliasing for filter queries MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org