Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-Dev
[jira] Commented: (LUCENE-1713) Rename RangeQuery -> TermRangeQuery
 

Index | Next | Previous | View Flat


jira at apache

Jun 30, 2009, 1:12 AM


Views: 270
Permalink
[jira] Commented: (LUCENE-1713) Rename RangeQuery -> TermRangeQuery

[ https://issues.apache.org/jira/browse/LUCENE-1713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12725521#action_12725521 ]

Uwe Schindler commented on LUCENE-1713:
---------------------------------------

Should I prepare a patch later?

I would simply rename the files in core and then change the tests and rest to find any references to the old RangeQuery/Filter (compile failures). After that I create a deprecated subclass of TermRange* with the old name and all ctors from the old class. The new class will only supply the new ctors (no deprecated ones using Term, mapping is done in the subclass).

> Rename RangeQuery -> TermRangeQuery
> -----------------------------------
>
> Key: LUCENE-1713
> URL: https://issues.apache.org/jira/browse/LUCENE-1713
> Project: Lucene - Java
> Issue Type: Improvement
> Affects Versions: 2.9
> Reporter: Michael McCandless
> Fix For: 2.9
>
>
> Since we now have NumericRangeQuery (LUCENE-1701) we should rename RangeQuery to TextRangeQuery to make it clear that TextRangeQuery (TermRangeQuery? StringRangeQuery) is based entirely on text comparison.
> And, existing users on upgrading to 2.9 and using RangeQuery for [slow] numeric searching would realize they now have a good option for numeric range searching.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe[at]lucene.apache.org
For additional commands, e-mail: java-dev-help[at]lucene.apache.org

Subject User Time
[jira] Commented: (LUCENE-1713) Rename RangeQuery -> TermRangeQuery jira at apache Jun 30, 2009, 1:12 AM
    [jira] Commented: (LUCENE-1713) Rename RangeQuery -> TermRangeQuery jira at apache Jun 30, 2009, 2:28 AM
    [jira] Commented: (LUCENE-1713) Rename RangeQuery -> TermRangeQuery jira at apache Jun 30, 2009, 2:31 AM
    [jira] Commented: (LUCENE-1713) Rename RangeQuery -> TermRangeQuery jira at apache Jun 30, 2009, 2:31 AM
    [jira] Commented: (LUCENE-1713) Rename RangeQuery -> TermRangeQuery jira at apache Jul 2, 2009, 10:09 AM
    [jira] Commented: (LUCENE-1713) Rename RangeQuery -> TermRangeQuery jira at apache Jul 2, 2009, 3:51 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.