lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <>
Subject [jira] [Commented] (SOLR-2444) Update fl syntax to support: pseudo fields, AS, transformers, and wildcards
Date Mon, 04 Apr 2011 16:56:05 GMT


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}'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:
>             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:

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

View raw message