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:30:30 UTC

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

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


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.


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

Posted by "Mateusz Juszkiewicz (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Mateusz Juszkiewicz (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-2082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment: script.log

Attaching log file.

> 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, 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.


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

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-2082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting updated JCR-2082:
-------------------------------

      Component/s: query
                   jackrabbit-core
    Fix Version/s:     (was: 2.0.0)
                   1.5.7

Merged to the 1.x branch in revision 794234 and to the 1.5 branch in revision 794236.

> 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
>          Components: jackrabbit-core, query
>    Affects Versions: 1.5.4
>            Reporter: Mateusz Juszkiewicz
>             Fix For: 1.5.7
>
>         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.


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

Posted by "Marcel Reutegger (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-2082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12704027#action_12704027 ] 

Marcel Reutegger commented on JCR-2082:
---------------------------------------

Do you have a log file that you can provide?

> 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.


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

Posted by "Marcel Reutegger (JIRA)" <ji...@apache.org>.
     [ 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.