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

Mike Sokolov closed LUCENE-6048.
--------------------------------

> AnalyzingInfixSuggester should clear its index in build()
> ---------------------------------------------------------
>
>                 Key: LUCENE-6048
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6048
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Mike Sokolov
>
> AnalyzingInfixSuggester should clear its index in build() before adding new 
> documents from the input.  This would bring it in line with other Lookup 
> implementations. Currently it appends any suggestions to those already in the 
> index. Note the javadoc which says "Builds up a new internal {@link Lookup} 
> representation".  Alternatively, it could expose a clear() method, but this 
> wouldn't be called by the existing Solr logic.
> I've had to work around this limitation now by using reflection to get a
> handle on AIS.writer to clear it before calling build().



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to