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 2017/08/21 05:57:00 UTC

[jira] [Resolved] (OAK-6561) Node created in jcr isn't available for search until 5 or more sec finished

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

Chetan Mehrotra resolved OAK-6561.
----------------------------------
       Resolution: Not A Problem
    Fix Version/s:     (was: 1.6.1)

Oak has both sync and async indexes. For fulltext indexes the indexing is async with default frequency of 5 secs [1]

So nodes would reflect after 5 sec. With NRT indexing this can be reduced to 1 sec. 

[1] http://jackrabbit.apache.org/oak/docs/query/indexing.html#async-indexing

> Node created in jcr isn't available for search until 5 or more sec finished
> ---------------------------------------------------------------------------
>
>                 Key: OAK-6561
>                 URL: https://issues.apache.org/jira/browse/OAK-6561
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core, jcr
>    Affects Versions: 1.6.0
>            Reporter: Mouli 
>            Priority: Critical
>
> I tried to create a node through sling and at a same time i tried to run a search on that created node but search returns empty results.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)