[
https://issues.apache.org/jira/browse/SOLR-1316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12874084#action_12874084
]
Andrzej Bialecki commented on SOLR-1316:
-----------------------------------------
I would expect the facet.prefix method to consume less additional RAM dedicated
to this functionality (because field caches are shared among different
components), but I doubt it could beat the performance of ternary tries.
Also, in many situations it makes sense to populate an auto-complete component
from a query log, and not from the index. If you want to offer phrase-based
autocomplete then using facet.prefix method you would have to create an
additional field populated with shingles, and then the RAM cost would grow
tremendously, whereas with TST this increase would be moderate.
Regarding specific numbers ... if you have a test setup for facet.prefix feel
free to apply this patch and test it, we'd love to see your results - see also
the numbers above for 100k random strings.
> Create autosuggest component
> ----------------------------
>
> Key: SOLR-1316
> URL: https://issues.apache.org/jira/browse/SOLR-1316
> Project: Solr
> Issue Type: New Feature
> Components: search
> Affects Versions: 1.4
> Reporter: Jason Rutherglen
> Assignee: Shalin Shekhar Mangar
> Priority: Minor
> Fix For: Next
>
> Attachments: SOLR-1316.patch, SOLR-1316.patch, SOLR-1316.patch,
> SOLR-1316.patch, SOLR-1316.patch, SOLR-1316.patch, suggest.patch,
> suggest.patch, suggest.patch, TST.zip
>
> Original Estimate: 96h
> Remaining Estimate: 96h
>
> Autosuggest is a common search function that can be integrated
> into Solr as a SearchComponent. Our first implementation will
> use the TernaryTree found in Lucene contrib.
> * Enable creation of the dictionary from the index or via Solr's
> RPC mechanism
> * What types of parameters and settings are desirable?
> * Hopefully in the future we can include user click through
> rates to boost those terms/phrases higher
--
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: [email protected]
For additional commands, e-mail: [email protected]