You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Mateusz Juszkiewicz (JIRA)" <ji...@apache.org> on 2009/04/27 16:32:30 UTC

[jira] Updated: (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 ]

Mateusz Juszkiewicz updated JCR-2082:
-------------------------------------

    Attachment: IndexingTest.java
                repository.xml
                indexing_configuration.xml

Configuration and test case.

> 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
>         Attachments: indexing_configuration.xml, IndexingTest.java, repository.xml
>
>
> 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.