You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Yonik Seeley (JIRA)" <ji...@apache.org> on 2009/05/09 03:34:45 UTC

[jira] Updated: (SOLR-877) Access to Lucene's TermEnum capabilities

     [ https://issues.apache.org/jira/browse/SOLR-877?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yonik Seeley updated SOLR-877:
------------------------------

    Attachment: SOLR-877_2.patch

I've been reviewing some interfaces in prep for the 1.4 release....  Here's a patch to this request handler:
- fixes the labels for non-text fields (makes them human readable)
- adds a terms.raw parameter just in case you really do want the raw internal indexed form of the term
- changes terms.rows to terms.limit to match faceting (as predicted, people want to sort by freq too, so this is much closer to faceting than anything else)
- changes the name of the request handler in the example schema to the more generic /terms (from /autoSuggest).  I could see this becoming a standard useful request handler, and limiting it to /autoSuggest doesn't sound right

I'll commit shortly barring objections.

> 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: Grant Ingersoll
>            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.