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

Andrzej Bialecki  updated SOLR-1316:
------------------------------------

    Attachment: SOLR-1316.patch

Updated patch - previous version had a missing "else" in TSTLookup.

Improved benchmark - the other results are useless, the running time was too 
short. Also, this time the lookup keys are strict prefixes between 1/3 and 1/2 
length of the key.  Result counts are cross-validated between JaSpell and TST 
implementations.

Here are the new timings (times in [ms] for 100k items):

{code}
JaspellLookup:  buildTime=448   lookupTime=1316
JaspellLookup:  buildTime=379   lookupTime=1073
JaspellLookup:  buildTime=399   lookupTime=709
JaspellLookup:  buildTime=405   lookupTime=698
JaspellLookup:  buildTime=454   lookupTime=758
JaspellLookup:  buildTime=451   lookupTime=746
JaspellLookup:  buildTime=436   lookupTime=886
JaspellLookup:  buildTime=424   lookupTime=696
JaspellLookup:  buildTime=402   lookupTime=697
JaspellLookup:  buildTime=415   lookupTime=1156
JaspellLookup:  buildTime=413   lookupTime=693
JaspellLookup:  buildTime=429   lookupTime=698
JaspellLookup:  buildTime=411   lookupTime=885
JaspellLookup:  buildTime=402   lookupTime=688
JaspellLookup:  buildTime=398   lookupTime=691
JaspellLookup:  buildTime=405   lookupTime=1152
JaspellLookup:  buildTime=405   lookupTime=695
JaspellLookup:  buildTime=410   lookupTime=1009
JaspellLookup:  buildTime=409   lookupTime=891
JaspellLookup:  buildTime=400   lookupTime=685
TSTLookup:      buildTime=185   lookupTime=289
TSTLookup:      buildTime=161   lookupTime=427
TSTLookup:      buildTime=173   lookupTime=311
TSTLookup:      buildTime=183   lookupTime=304
TSTLookup:      buildTime=177   lookupTime=311
TSTLookup:      buildTime=175   lookupTime=287
TSTLookup:      buildTime=173   lookupTime=431
TSTLookup:      buildTime=161   lookupTime=278
TSTLookup:      buildTime=161   lookupTime=282
TSTLookup:      buildTime=177   lookupTime=453
TSTLookup:      buildTime=157   lookupTime=286
TSTLookup:      buildTime=160   lookupTime=432
TSTLookup:      buildTime=161   lookupTime=281
TSTLookup:      buildTime=160   lookupTime=275
TSTLookup:      buildTime=160   lookupTime=454
TSTLookup:      buildTime=178   lookupTime=298
TSTLookup:      buildTime=181   lookupTime=289
TSTLookup:      buildTime=159   lookupTime=432
TSTLookup:      buildTime=164   lookupTime=285
TSTLookup:      buildTime=159   lookupTime=480
{code}

> 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: 1.5
>
>         Attachments: 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to