Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-56

Search hits vary with wildcard term and multiple index ordering.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: None
    • Component/s: core/queryparser
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: PC

    • Bugzilla Id:
      12619

      Description

      Using the final release lucene1.2.jar, if I perform a search using multiple
      indexes and a wildcard search term, the list of search results may vary
      according to the order of the physical index folders supplied.

      Lucene expands a wildcard term by refering to the indexed terms contained in
      the first index in the list. It then uses this expanded query for all
      subsequent searches on all of the indexes. Therefore, if the first index
      contains a subset of terms from other indexes, the search will fail to match
      some terms from the second and subsequent indexes.

      If the order of specified indexes is then changed, the number of resultant hits
      using the same search term will also change.

        Activity

        Hide
        otis@apache.org Otis Gospodnetic added a comment -

        Doug's today's commit indicates that this bug should now be fixed. Marking this
        as fixed before I forget to do it. Feel free to reopen if it is not.

        Show
        otis@apache.org Otis Gospodnetic added a comment - Doug's today's commit indicates that this bug should now be fixed. Marking this as fixed before I forget to do it. Feel free to reopen if it is not.

          People

          • Assignee:
            java-dev@lucene.apache.org Lucene Developers
            Reporter:
            eric.daws@uk.consulting.fujitsu.com Eric J Daws
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development