Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-840

Unable to search and query repository content backed by the file system connector

XMLWordPrintable

      Given a JCR repository configured to use the file system connector (in whole or in part), containing a structure like

      • workspace1
      • dir1
      • test1.txt
      • foo
      • dir2
      • test2.txt
      • bar

      Querying this repository using:
      SELECT * FROM [mode:resource] WHERE CONTAINS(*, 'bar')

      produces the following nodes in the query results:
      /dir1/test1.txt/jcr:content
      /dir2/test2.txt/jcr:content

      The query should be returning only the node at /dir2/test2.txt/jcr:content.

      Also, getting the search result score from the row object results in a javax.jcr.UnsupportedRepositoryOperationException.

              rhauch Randall Hauch (Inactive)
              rhauch Randall Hauch (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: