Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-801

Lucene returns the same document multiple times

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0 B3
    • Fix Version/s: 1.0 B6
    • Labels:
      None
    • Similar issues:

      Description

      It seems that when a page is modified it is added to lucene's index without deleting the old information in the index.

      This causes lucene to have the same page in its index multiple times and thus return multiple instances of the same page.

      The lucene FAQ mentions using IndexReader.deleteDocument(docNum) or IndexReader.deleteDocuments(term) if there is a field that holds a unique ID string for the document.

        Attachments

          Activity

            People

            • Assignee:
              vmassol Vincent Massol
              Reporter:
              dward David Ward
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: