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 "Vikas Saurabh (JIRA)" <ji...@apache.org> on 2018/11/21 10:20:00 UTC

[jira] [Commented] (OAK-7911) Consistent and documented warning to traverse / read many nodes

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

Vikas Saurabh commented on OAK-7911:
------------------------------------

I think we can check on each iteration. The logic of doing something on every Nth iteration is probably good for limiting logs.

> Consistent and documented warning to traverse / read many nodes
> ---------------------------------------------------------------
>
>                 Key: OAK-7911
>                 URL: https://issues.apache.org/jira/browse/OAK-7911
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: query
>            Reporter: Thomas Mueller
>            Priority: Major
>
> Currently the traversing index checks every 1000 rows, and the fulltext index every 10'000 rows:
> https://github.com/apache/jackrabbit-oak/blob/3586f48a5e6dfc7addf2aac4003eaa742b7e5f39/oak-search/src/main/java/org/apache/jackrabbit/oak/plugins/index/search/spi/query/FulltextIndex.java#L393
> It should be consistent. Not sure which one is better.
> Also, this should be documented.



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