Uploaded image for project: 'JSPWiki'
  1. JSPWiki
  2. JSPWIKI-498

Performance Issues with Lucene Index

Bulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersConvert to sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.8.4
    • FutureVersion
    • Templates and UI
    • None
    • Win 2003 on XEN-Server, 3 GB RAM, 4 x Intel Xeon 2Ghz

    Description

      Our Wiki-Luceneindex has swollen to 33 MB and if someone searches words like "find" he gets about 500 results. Only problem is, it takes about 30 seconds to complete the search.

      I have looked a bit into the problem and there is something strange to me. JSPWiki searches twice every query.
      Once in search.jsp and afterwards in AjaxSearch.jsp.

      The filteredList from search.jsp is written to the pagecontext but this information is never read within the AjaxSearch.jsp. Thus AjaxSearch.jsp makes a second search.

      Attachments

        1. screenshot-1.jpg
          53 kB
          Kurt Stein
        2. patch_lucene_search.txt
          35 kB
          Kurt Stein
        3. patch_lucene_search_2.txt
          15 kB
          Kurt Stein
        4. lucene_search.patch
          16 kB
          Kurt Stein

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            kurtstein Kurt Stein
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment