[ 
https://issues.apache.org/jira/browse/LUCENE-5736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14105430#comment-14105430
 ] 

Tommaso Teofili commented on LUCENE-5736:
-----------------------------------------

I have a doubt on CachingNaiveBayesClassifier#reInitCache method, there it 
seems the _termList List_ is populated but never used, it seems that it's 
either useless so it can be removed or ignored by mistake so it has to be 
properly used, what is it? (to me the most likely seems the first, as there's 
already the _frequencyMap_ object).


> Separate the classifiers to online and caching where possible
> -------------------------------------------------------------
>
>                 Key: LUCENE-5736
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5736
>             Project: Lucene - Core
>          Issue Type: Sub-task
>          Components: modules/classification
>            Reporter: Gergő Törcsvári
>            Assignee: Tommaso Teofili
>         Attachments: 0803-caching.patch, 0810-caching.patch, 
> CachingNaiveBayesClassifier.java
>
>
> The Lucene classifier implementations are now near onlines if they get a near 
> realtime reader. It is good for the users whoes have a continously changing 
> dataset, but slow for not changing datasets.
> The idea is: What if we implement a cache and speed up the results where it 
> is possible.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to