[ https://issues.apache.org/jira/browse/SOLR-877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12654134#action_12654134 ]
Noble Paul commented on SOLR-877: --------------------------------- bq.have you done any performance testing of this approach versus the radix tree (or other tree/trie approaches)? I haven't done a perf comparison. But , it occurred to me as I looked at the code .It goes through each Term one by one and does a startsWith() It can be quite expensive for large no:of Terms Memory consumption can be a problem. That is why I suggested a config param. User can make a call as to whether he wants to pay that price and he can afford that. > 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 > > > 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.