jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chetan Mehrotra (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OAK-4616) Record suggestor status in suggest-data node
Date Fri, 29 Jul 2016 06:00:28 GMT

     [ https://issues.apache.org/jira/browse/OAK-4616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Chetan Mehrotra updated OAK-4616:
---------------------------------
    Attachment: OAK-4616-v1.patch

[patch|^OAK-4616-v1.patch] for the same

[~catholicon] Can you have a look. It does not check for backward compatibility so for upgraded
system there would be a slight hit that first index post Oak version update would trigger
suggestor index update. But that should be ok

> 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
>
>         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)

Mime
View raw message