You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2009/07/15 09:21:14 UTC

[jira] Resolved: (JCR-2082) Query does not work after logging into workspace with no indexes

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

Marcel Reutegger resolved JCR-2082.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0

The current index reader of the MultiIndex did not get refreshed after the initial index creation.

Fixed in revision: 794162

> Query does not work after logging into workspace with no indexes
> ----------------------------------------------------------------
>
>                 Key: JCR-2082
>                 URL: https://issues.apache.org/jira/browse/JCR-2082
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>    Affects Versions: 1.5.4
>            Reporter: Mateusz Juszkiewicz
>             Fix For: 2.0.0
>
>         Attachments: indexing_configuration.xml, IndexingTest.java, repository.xml, script.log
>
>
> When I login to workspace that does not have indexes, they are created but my queries do not return results unless I relog. Output from running attached code sample is:
> Node [node1240842434531] created in workspace [test1240842434312]
> Property [name] set to [someValueOfMyProperty]
> Asking query: select * from nt:unstructured where nt:name like 'someValueOfMyProperty'
> Found: 1 nodes before deleting index.
> Asking query: select * from nt:unstructured where nt:name like 'someValueOfMyProperty'
> Found: 0 nodes after deleting index.
> done

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.