[
https://issues.apache.org/jira/browse/GEODE-3929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dan Smith updated GEODE-3929:
-----------------------------
Description:
After GEODE-3930 is done, we will have an internal API that lets us create a
lucene index on an existing region (without indexing the data that is present).
We should modify the existing LuceneCreateIndexFunction to check to see if the
user region already exists. If so, instead of throwing an exception we should
go ahead and call the internal API adding in GEODE-3930.
Acceptance:
Calling "create lucene index" on an existing region in gfsh succeeds. After
calling create lucene index on an existing region, the index will be useable -
new updates will be added to the index, and queries will work. Data that was
already in the region before the create index will not be indexed as part of
this story.
was:
When creating a Lucene Index from GFSH (or possibly other mechanism), a new
function will be needed to create the AsyncEventQueue, AsyncListener and
fileAndChunkRegion.
This function might want to return configuration xml so that the cluster config
can be updated accordingly.
> Modify existing gfsh create lucene index command to create the index on an
> existing region
> ------------------------------------------------------------------------------------------
>
> Key: GEODE-3929
> URL: https://issues.apache.org/jira/browse/GEODE-3929
> Project: Geode
> Issue Type: Sub-task
> Components: lucene
> Reporter: Jason Huynh
> Priority: Major
>
> After GEODE-3930 is done, we will have an internal API that lets us create a
> lucene index on an existing region (without indexing the data that is
> present). We should modify the existing LuceneCreateIndexFunction to check to
> see if the user region already exists. If so, instead of throwing an
> exception we should go ahead and call the internal API adding in GEODE-3930.
> Acceptance:
> Calling "create lucene index" on an existing region in gfsh succeeds. After
> calling create lucene index on an existing region, the index will be useable
> - new updates will be added to the index, and queries will work. Data that
> was already in the region before the create index will not be indexed as part
> of this story.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)