Chetan Mehrotra created OAK-4616:
------------------------------------

             Summary: Record suggestor status in suggest-data node 
                 Key: OAK-4616
                 URL: https://issues.apache.org/jira/browse/OAK-4616
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: lucene
            Reporter: Chetan Mehrotra
            Priority: Minor
             Fix For: 1.6


Currently the suggestor storage logic maintains a timestamp of when suggestor 
data was last updated in property {{lastUpdated}} in {{:suggesterStatus}} node. 
Actual suggest data is stored in a separate node {{:suggest-data}}.

{noformat}
/oak:index/lucene-suggest: { reindexCount = 1, name = lucene-suggest, 
compatVersion = 2, reindex = false, type = lucene, jcr:primaryType = 
oak:QueryIndexDefinition, :facet-config = { ... }, indexRules = { ... }, :data 
= { ... }, :status = { ... }, :suggest-data = { ... }, :suggesterStatus = { ... 
}}
{noformat}

It would be better if this property is stored in {{:suggest-data}}. This would 
simplify adding support for multiplexing as each dir node would be having 
complete info

{noformat}
+ :oak:mount-foo-suggest-data
   - lastUpdated
:suggest-data
   - lastUpdated
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to