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] [Commented] (SOLR-2444) Update fl syntax to support: pseudo fields, AS, transformers, and wildcards
Date Tue, 05 Apr 2011 19:53:05 GMT

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

Yonik Seeley commented on SOLR-2444:
------------------------------------

Random thought about augmenter parameter syntax (when it's actually needed)... what about
reusing most of localParams syntax, but change {!stuff} to [stuff]?  This would give us named
parameters, param dereferencing, and allow passing something like SolrParams to an augmenter,
which is probably easier for most people to deal with than parsing themselves?

So instead of this:
{code}
titlehl:[_hl_:title]
{code}

We could have this:
{code}
titlehl:[_hl_ f=title]
{code}

Which would then easily allow multiple params like this:
{code}
titlehl:[_hl_ f=title snippets=3 fragsize=800]
{code}

Just a note, I'm making good progress on supporting all common object types in function queries,
so basic literals won't need any transformer syntax and you should be able to just do stuff
like
{code}
 fl=mystr:'hello',myint:10, myfloat:25.5
{code}

> 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