You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2016/07/29 08:31:20 UTC
[jira] [Resolved] (OAK-4616) Record suggestor status in
suggest-data node
[ https://issues.apache.org/jira/browse/OAK-4616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chetan Mehrotra resolved OAK-4616.
----------------------------------
Resolution: Fixed
Assignee: Chetan Mehrotra
Fix Version/s: 1.5.7
Done in trunk with 1754484
> 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
> Assignee: Chetan Mehrotra
> Priority: Minor
> Fix For: 1.6, 1.5.7
>
> Attachments: OAK-4616-v1.patch
>
>
> 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)