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 2015/02/02 09:17:34 UTC

[jira] [Resolved] (OAK-2471) Include index name in the log from LuceneIndexEditor

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

Chetan Mehrotra resolved OAK-2471.
----------------------------------
    Resolution: Fixed

Fixed to include index name (index definition should have a {{name}} property defined) in the indexed log. Index definition path cannot be used as the editor is not aware of the path of index definition

* trunk - http://svn.apache.org/r1656400
* 1.0 - http://svn.apache.org/r1656401

> Include index name in the log from LuceneIndexEditor
> ----------------------------------------------------
>
>                 Key: OAK-2471
>                 URL: https://issues.apache.org/jira/browse/OAK-2471
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: oak-lucene
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>            Priority: Minor
>             Fix For: 1.1.6, 1.0.12
>
>
> Currently if multiple Lucene indexes are configured the logs from {{LuceneIndexEditor}} look like
> {noformat}
> 29.01.2015 14:17:46.378 *DEBUG* [pool-9-thread-3] org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexEditor Indexed 18818000 nodes...
> 29.01.2015 14:17:51.914 *DEBUG* [pool-9-thread-3] org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexEditor Indexed 18819000 nodes...
> 29.01.2015 14:17:57.974 *DEBUG* [pool-9-thread-3] org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexEditor Indexed 18820000 nodes...
> 29.01.2015 14:18:01.218 *DEBUG* [pool-9-thread-3] org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexEditor Indexed 352000 nodes...
> 29.01.2015 14:18:03.810 *DEBUG* [pool-9-thread-3] org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexEditor Indexed 18821000 nodes...
> 29.01.2015 14:18:09.604 *DEBUG* [pool-9-thread-3] org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexEditor Indexed 18822000 nodes...
> 29.01.2015 14:18:15.470 *DEBUG* [pool-9-thread-3] org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexEditor Indexed 232000 nodes...
> 29.01.2015 14:18:15.605 *DEBUG* [pool-9-thread-3] org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexEditor Indexed 18823000 nodes...
> 29.01.2015 14:18:22.142 *DEBUG* [pool-9-thread-3] org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexEditor Indexed 18824000 nodes...
> {noformat}
> This makes it hard (and also confusing) to determine index definition for which the logs are generated



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