[
https://issues.apache.org/jira/browse/GEODE-2595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15905842#comment-15905842
]
ASF subversion and git services commented on GEODE-2595:
--------------------------------------------------------
Commit 3708968a18b219a99bcb837d889f171ecaa99b90 in geode's branch
refs/heads/develop from [~upthewaterspout]
[ https://git-wip-us.apache.org/repos/asf?p=geode.git;h=3708968 ]
GEODE-2595: Correcting javadoc for createIndexFactory
This closes #421
> 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
> Assignee: Dan Smith
> Fix For: 1.2.0
>
>
> 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)