lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Edited] (SOLR-2444) Update fl syntax to support: pseudo fields, AS, transformers, and wildcards
Date Mon, 04 Apr 2011 23:41:05 GMT

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

Yonik Seeley edited comment on SOLR-2444 at 4/4/11 11:39 PM:
-------------------------------------------------------------

bq. > What is the syntax of "argment"? is it backslash escaped so the value can contain
"]"?
bq. I guess that is a good idea – if it makes things complicated, i'm not too worried about
it. 

I'm not concerned about the complexity of implementation at all - I'm just trying to figure
out what the proposal actually is.

bq. You could use another parameter if if there is a need for something complex.

Another parameter for the augmenter?  That's essentially what I was asking about.  Or do you
mean a different query parameter?
edit: oops... just saw your previous message "I just updated the branch to use a space as
the transformer args deliminator."  I guess that's what you meant.

bq. > Still too complex for my tastes. I think that should be fl=myvalue:10
bq. would this mean that any unknown string becomes a literal value?

Nope.  By default, the function parser treats an unquoted string literal as a field name,
and an error will be thrown if it isn't.  If you want a string literal, you quote it.


      was (Author: yseeley@gmail.com):
    bq. > What is the syntax of "argment"? is it backslash escaped so the value can contain
"]"?
bq. I guess that is a good idea – if it makes things complicated, i'm not too worried about
it. 

I'm not concerned about the complexity of implementation at all - I'm just trying to figure
out what the proposal actually is.

bq. You could use another parameter if if there is a need for something complex.

Another parameter for the augmenter?  That's essentially what I was asking about.  Or do you
mean a different query parameter?

bq. > Still too complex for my tastes. I think that should be fl=myvalue:10
bq. would this mean that any unknown string becomes a literal value?

Nope.  By default, the function parser treats an unquoted string literal as a field name,
and an error will be thrown if it isn't.  If you want a string literal, you quote it.

  
> 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


Mime
View raw message