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

ASF subversion and git services commented on GEODE-3928:
--------------------------------------------------------

Commit ad93a2e1fec604f9acc9ab8fd3dbca119835615c in geode's branch 
refs/heads/feature/GEODE-3928 from [~lhughesgodfrey]
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=ad93a2e ]

GEODE-3928: createIndex on existing region creates lucene indexes for existing 
data


> After calling Internal API to create lucene index after region is created, 
> data in the region should be included in the lucene index
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-3928
>                 URL: https://issues.apache.org/jira/browse/GEODE-3928
>             Project: Geode
>          Issue Type: Sub-task
>          Components: lucene
>            Reporter: Jason Huynh
>            Priority: Major
>
> After GEODE-3030 is complete, we will have an internal API to create an index 
> on an existing region.
> After someone calls that API on all members that have the user's region we 
> should index all of the data in the existing region.
> Acceptance:
> After calling the API to add the index to an existing region, at some point 
> in the future calling a query on the region should include all of the entries 
> that were in the existing region.
> Implementation Details:
> We think this should be implemented by modifying computeRepository so that it 
> goes through the following steps:
> # If there is no COMPLETE file in the fileAndChunkRegion for this bucket
> ## Iterate over the contents of the user region and add them to the lucene 
> index
> ## Write a COMPLETE file to the fileAndChunkRegion
> ## Return the IndexRepository
> # If there is a COMPLETE file, just return the IndexRepository.
> Note: When this task is complete, it's possible queries may block until the 
> indexing is complete. We will address that issue in GEODE-3926



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to