lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grant Ingersoll (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-877) Access to Lucene's TermEnum capabilities
Date Sat, 09 May 2009 23:32:45 GMT

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

Grant Ingersoll commented on SOLR-877:
--------------------------------------

bq. Unless I'm missing something, it doesn't make sense to exclude the lower bound... seems
like it would often be useful to know if what the user typed in matched a term in the index....
excluding it would lead one to believe that it doesn't exist.

I think excluding the lower bound allows you to get the _next_ item for suggestion, but I
suppose it is up to the app to decide whether they want to confirm the existing word, or just
suggest what could come next.

> Access to Lucene's TermEnum capabilities
> ----------------------------------------
>
>                 Key: SOLR-877
>                 URL: https://issues.apache.org/jira/browse/SOLR-877
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Grant Ingersoll
>            Assignee: Yonik Seeley
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: SOLR-877.patch, SOLR-877.patch, SOLR-877.patch, SOLR-877_2.patch
>
>
> I wrote a simple SearchComponent on the plane the other day that gives access to Lucene's
TermEnum capabilities.  I think this will be useful for doing auto-suggest and other term
based operations.  My first draft is not distributed, but it probably should be made to do
so eventually. 

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


Mime
View raw message