lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erick Erickson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-2534) Add min() and max() on strings
Date Thu, 19 Feb 2015 02:19:14 GMT

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

Erick Erickson commented on SOLR-2534:
--------------------------------------

Praveen:

You might want to get input from the Lucene guys about how to compare strings.
It seems easy, but it's not necessarily so.

It's a good thing to dive into the code and get a feel for where/how to change the code.
If I may presume to offer advice though, you might save yourself a lot of work by posting
the high-level approach you think is appropriate and soliciting comments before polishing
the code. On more than one occasion I've changed code and had a comment come back
"Why not do YYYYY instead" and thrown stuff away ;).

[~rcmuir] Do you know of any "prior art" or gotchas that Praveen should be aware of?

> Add min() and max() on strings
> ------------------------------
>
>                 Key: SOLR-2534
>                 URL: https://issues.apache.org/jira/browse/SOLR-2534
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.0-ALPHA
>            Reporter: Bill Bell
>            Priority: Trivial
>              Labels: newdev
>
> Add min() and max() to handle strings "a", "zz".



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message