You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geode.apache.org by "Dan Smith (JIRA)" <ji...@apache.org> on 2017/03/06 19:24:32 UTC

[jira] [Updated] (GEODE-2595) Change LuceneService.createIndex to use a factory pattern

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

Dan Smith updated GEODE-2595:
-----------------------------
    Issue Type: Improvement  (was: Bug)

> Change LuceneService.createIndex to use a factory pattern
> ---------------------------------------------------------
>
>                 Key: GEODE-2595
>                 URL: https://issues.apache.org/jira/browse/GEODE-2595
>             Project: Geode
>          Issue Type: Improvement
>          Components: lucene
>            Reporter: Dan Smith
>
> Before we remove the Experimental annotation from the LuceneService, we should change createIndex to use a factory pattern rather than having a single method with parameters to create the index. In other words, the method needs to change from:
> {code}
> luceneService.createIndex(region, index, ...)
> {code}
> to
> {code}
> luceneService.createIndexFactory()
>   .setXXX()
>   .setYYY()
>   .create()
> {code}
> This will allow us to add additional set methods in the future to configure other things like the async event queue batch size, etc.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)