lucene-dev mailing list archives

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

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

Ryan McKinley commented on SOLR-2444:
-------------------------------------

bq. but things now fail because of tests in trunk w/ syntax like

ya, i tried messing with that too -- also tried changing the transformer syntax from _ to
[] but could not understand how the parser works.  This is why i made the branch to see how
the rest feels.

I just updated the branch to use a space as the transformer args deliminator.  I also refactored
to support the pseudo field mapping I think we agree on (though yonik thinks we should do
it as a different issues)

This adds a parameter fl.pseudo=true/false -- if that is on, it will check if each field has
an alternative in fl.pseudo.key=value

This just uses fl.split( "," ) but that should really be a fancy parser that knows about quotes.
 


bq. it's an easy way to see that both binary and non-binary response writers are tested, right?

Yes, this is the high level place that hits XML and binary response writers -- it used to
use JSON too, but looks like that has changed.  It is also tested there because I want to
make sure solrj works correctly with complex structures like [explain nl]




> 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