Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-3945

standalone search always no results

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 2.10.1, 2.11.3
    • None
    • jackrabbit-jcr-server
    • None
    • linux
      Java build 1.8.0_66-b17

    Description

      after populate on standalone server: "browse" works and lists the documents,
      but "search" does not find anything, no matter what search term is given.

      Your search - ... - did not match any documents.

      .
      .
      .

      2016-01-16 14:32:19.722 DEBUG [234698513@qtp-1945604815-0 - /search.jsp?q=is] MLRUItemStateCache.java:89 Item state cache size: 0% of 4194304 bytes
      2016-01-16 14:32:19.722 DEBUG [234698513@qtp-1945604815-0 - /search.jsp?q=is] RepositoryImpl.java:1520 User anonymous logged in to workspace default
      2016-01-16 14:32:19.723 DEBUG [234698513@qtp-1945604815-0 - /search.jsp?q=is] SessionState.java:213 Performing node.createQuery(//element(*, nt:file)[jcr:contains(jcr:content, 'is')]/rep:excerpt(.) order by @jcr:score descending, xpath)
      2016-01-16 14:32:19.724 DEBUG [234698513@qtp-1945604815-0 - /search.jsp?q=is] SessionState.java:229 Performed node.createQuery(//element(*, nt:file)[jcr:contains(jcr:content, 'is')]/rep:excerpt(.) order by @jcr:score descending, xpath) in 1010300ns
      2016-01-16 14:32:19.724 DEBUG [234698513@qtp-1945604815-0 - /search.jsp?q=is] SessionState.java:213 Performing query.execute(//element(*, nt:file)[jcr:contains(jcr:content, 'is')]/rep:excerpt(.) order by @jcr:score descending)
      2016-01-16 14:32:19.724 DEBUG [234698513@qtp-1945604815-0 - /search.jsp?q=is] QueryImpl.java:105 Executing query:
      + Root node
      + Select properties:

      {internal}excerpt()
      + PathQueryNode
      + LocationStepQueryNode: NodeTest=* Descendants=true Index=NONE
      + NodeTypeQueryNode: Prop={http://www.jcp.org/jcr/1.0}primaryType Value={http://www.jcp.org/jcr/nt/1.0}file
      + TextsearchQueryNode: Path={http://www.jcp.org/jcr/1.0}content Query=is
      + OrderQueryNode
      {http://www.jcp.org/jcr/1.0}score asc=false

      2016-01-16 14:32:19.726 DEBUG [234698513@qtp-1945604815-0 - /search.jsp?q=is] QueryResultImpl.java:261 getResults(2147483647) limit=-1
      2016-01-16 14:32:19.726 DEBUG [234698513@qtp-1945604815-0 - /search.jsp?q=is] TermDocsCache.java:142 #3 TermDocs(_:PROPERTIES,1570322:primaryType[5688619:file)
      2016-01-16 14:32:19.727 DEBUG [234698513@qtp-1945604815-0 - /search.jsp?q=is] TermDocsCache.java:142 #3 TermDocs(_:PROPERTIES,1570322:primaryType[5688619:file)
      2016-01-16 14:32:19.727 DEBUG [234698513@qtp-1945604815-0 - /search.jsp?q=is] TermDocsCache.java:142 #3 TermDocs(_:PROPERTIES,1570322:primaryType[5688619:file)
      2016-01-16 14:32:19.727 DEBUG [234698513@qtp-1945604815-0 - /search.jsp?q=is] TermDocsCache.java:142 #3 TermDocs(_:PROPERTIES,1570322:primaryType[5688619:file)
      2016-01-16 14:32:19.728 DEBUG [234698513@qtp-1945604815-0 - /search.jsp?q=is] TermDocsCache.java:142 #3 TermDocs(_:PROPERTIES,1570322:primaryType[5688619:file)
      2016-01-16 14:32:19.728 DEBUG [234698513@qtp-1945604815-0 - /search.jsp?q=is] TermDocsCache.java:142 #3 TermDocs(_:PROPERTIES,1570322:primaryType[5688619:file)
      2016-01-16 14:32:19.729 DEBUG [234698513@qtp-1945604815-0 - /search.jsp?q=is] SortedLuceneQueryHits.java:160 getHits() 0/32768
      2016-01-16 14:32:19.729 DEBUG [234698513@qtp-1945604815-0 - /search.jsp?q=is] QueryResultImpl.java:291 query executed in 3 ms (3)
      2016-01-16 14:32:19.729 DEBUG [234698513@qtp-1945604815-0 - /search.jsp?q=is] QueryResultImpl.java:312 retrieved ScoreNodes in 0 ms (0)
      2016-01-16 14:32:19.730 DEBUG [234698513@qtp-1945604815-0 - /search.jsp?q=is] SessionState.java:229 Performed query.execute(//element(*, nt:file)[jcr:contains(jcr:content, 'is')]/rep:excerpt(.) order by @jcr:score descending) in 5310133ns
      2016-01-16 14:32:19.730 DEBUG [234698513@qtp-1945604815-0 - /search.jsp?q=is] QueryImpl.java:141 executed in 5 ms. (//element(*, nt:file)[jcr:contains(jcr:content, 'is')]/rep:excerpt(.) order by @jcr:score descending)
      2016-01-16 14:32:19.730 DEBUG [234698513@qtp-1945604815-0 - /search.jsp?q=is] SessionState.java:213 Performing node.createQuery(/jcr:root[rep:spellcheck('is')]/(rep:spellcheck()), xpath)
      2016-01-16 14:32:19.731 DEBUG [234698513@qtp-1945604815-0 - /search.jsp?q=is] SessionState.java:229 Performed node.createQuery(/jcr:root[rep:spellcheck('is')]/(rep:spellcheck()), xpath) in 618231ns
      2016-01-16 14:32:19.731 DEBUG [234698513@qtp-1945604815-0 - /search.jsp?q=is] SessionState.java:213 Performing query.execute(/jcr:root[rep:spellcheck('is')]/(rep:spellcheck()))
      2016-01-16 14:32:19.731 DEBUG [234698513@qtp-1945604815-0 - /search.jsp?q=is] QueryImpl.java:105 Executing query:
      + Root node
      + Select properties: {internal}

      spellcheck()
      + PathQueryNode
      + LocationStepQueryNode: NodeTest={} Descendants=false Index=NONE
      + RelationQueryNode: Op: spellcheck Prop=[ + PathQueryNode
      + LocationStepQueryNode: NodeTest=

      {http://www.jcp.org/jcr/1.0}

      primaryType Descendants=false Index=NONE
      ] Type=STRING Value=is

      2016-01-16 14:32:19.731 DEBUG [234698513@qtp-1945604815-0 - /search.jsp?q=is] QueryResultImpl.java:261 getResults(2147483647) limit=-1
      2016-01-16 14:32:19.732 DEBUG [234698513@qtp-1945604815-0 - /search.jsp?q=is] QueryResultImpl.java:291 query executed in 1 ms (2)
      2016-01-16 14:32:19.732 DEBUG [234698513@qtp-1945604815-0 - /search.jsp?q=is] CachingEntryCollector.java:405 Cache hit for nodeId cafebabe-cafe-babe-cafe-babecafebabe
      2016-01-16 14:32:19.733 DEBUG [234698513@qtp-1945604815-0 - /search.jsp?q=is] QueryResultImpl.java:312 retrieved ScoreNodes in 1 ms (5)
      2016-01-16 14:32:19.733 DEBUG [234698513@qtp-1945604815-0 - /search.jsp?q=is] SessionState.java:229 Performed query.execute(/jcr:root[rep:spellcheck('is')]/(rep:spellcheck())) in 2364168ns
      2016-01-16 14:32:19.734 DEBUG [234698513@qtp-1945604815-0 - /search.jsp?q=is] QueryImpl.java:141 executed in 2 ms. (/jcr:root[rep:spellcheck('is')]/(rep:spellcheck()))
      2016-01-16 14:32:19.734 DEBUG [234698513@qtp-1945604815-0 - /search.jsp?q=is] MLRUItemStateCache.java:89 Item state cache size: 0% of 4194304 bytes
      2016-01-16 14:32:19.734 DEBUG [234698513@qtp-1945604815-0 - /search.jsp?q=is] ItemManager.java:939 caching item cafebabe-cafe-babe-cafe-babecafebabe

      Attachments

        Activity

          People

            Unassigned Unassigned
            WernerWarner Werner Warner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: