lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-2335) FunctionQParser can't handle fieldnames containing whitespace
Date Sat, 02 Apr 2011 02:47:05 GMT

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

Hoss Man commented on SOLR-2335:
--------------------------------

the other thing this should make possible is sorting on fields that historicly havne't been
sortable...

{code}
sort=field("1 my wacky Field*Name") desc
{code}

... the sort parsing code *could* even be optimized to detect when a function sort results
in a FieldValueSource and swap it out with a regular sort ... but i'm not sure if there are
any gotchas there.

> FunctionQParser can't handle fieldnames containing whitespace
> -------------------------------------------------------------
>
>                 Key: SOLR-2335
>                 URL: https://issues.apache.org/jira/browse/SOLR-2335
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 1.4.1
>            Reporter: Miriam Doelle
>            Priority: Minor
>         Attachments: SOLR-2335.patch
>
>
> FunctionQParser has some simplistic assumptions about what types of field names it will
deal with, in particular it can't deal with field names containing whitespaces.

--
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