You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2013/10/29 16:38:32 UTC

[jira] [Commented] (LUCENE-5313) Add "preservePositionIncrements" to AnalyzingSuggester and FuzzySuggester constructors

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

Robert Muir commented on LUCENE-5313:
-------------------------------------

Makes sense to me. I don't know why we have this lone setter in this class when everything else is controlled via the ctor.

> Add "preservePositionIncrements" to AnalyzingSuggester and FuzzySuggester constructors
> --------------------------------------------------------------------------------------
>
>                 Key: LUCENE-5313
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5313
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/search
>            Reporter: Areek Zillur
>         Attachments: LUCENE-5313.patch
>
>
> It would be convenient to have "preservePositionIncrements" in the suggesters constructor, rather than having a setPreservePositionIncrements method. That way it could be nicely used with the factory model already used by Solr.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

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