Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 52019 invoked from network); 4 Apr 2011 16:56:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Apr 2011 16:56:45 -0000 Received: (qmail 95757 invoked by uid 500); 4 Apr 2011 16:56:44 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 95656 invoked by uid 500); 4 Apr 2011 16:56:43 -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 95649 invoked by uid 99); 4 Apr 2011 16:56:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Apr 2011 16:56:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Apr 2011 16:56:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B102792197 for ; Mon, 4 Apr 2011 16:56:05 +0000 (UTC) Date: Mon, 4 Apr 2011 16:56:05 +0000 (UTC) From: "Hoss Man (JIRA)" To: dev@lucene.apache.org Message-ID: <1451331280.32790.1301936165721.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1744541461.11877.1301077925926.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (SOLR-2444) Update fl syntax to support: pseudo fields, AS, transformers, and wildcards 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-2444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13015495#comment-13015495 ] Hoss Man commented on SOLR-2444: -------------------------------- bq. I like the syntax you suggest. The reason i suggested fl.pseudo=key:value is more to do with the implementation then the syntax. With fl.pseudo.key=value we have to iterate and compare all parameters to parse the pseudo fields rather then just getParams( "fl.pseudo" ). Yeah ... one possibility is to use the same approach we use for field overrides in other params... {code} fl.pseudo=external+price+alias fl.pseudo=external+popularity+alias fl.pseudo.external+price+alias=internal+price+field fl.pseudo.external+popularity+alias=internal+popularity+field {code} ...it's a little verbose, but since the main use of this is likely to be "default" params anyway (because people specifying it at request time could just include the aliasing directly in hte param value) it might not be that bad. bq. OK, so for the basic syntax of how to name pseudofields, I think these are the top 3 options we have? i vote for the colon. "=" is evil since it's easy to confuse as a key=val delimiter in the URL (and requires extra escaping in most docs to explain it correctly). "x AS y" just seems unnecessarily verbose. > Update fl syntax to support: pseudo fields, AS, transformers, and wildcards > --------------------------------------------------------------------------- > > Key: SOLR-2444 > URL: https://issues.apache.org/jira/browse/SOLR-2444 > Project: Solr > Issue Type: New Feature > Reporter: Ryan McKinley > Attachments: SOLR-2444-fl-parsing.patch, SOLR-2444-fl-parsing.patch > > > The ReturnFields parsing needs to be improved. It should also support wildcards -- This message is automatically generated by JIRA. 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