VuFind
  1. VuFind
  2. VUFIND-322

Stopwords cause subject searches to fail

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.1
    • Fix Version/s: 1.1
    • Component/s: Search
    • Labels:
      None

      Description

      If you do a subject search for a term containing stopwords (i.e. "a farewell to arms"), you get no hits. If you exclude the stopwords, the search succeeds. This is due to the way Dismax works -- all Dismax fields should have the same form of stopword handling. In our current configuration, the "era" field is incompatible with all of the other fields. We need to clean up our handling of subject headings to solve this problem -- since the existing configuration is a bit ugly and inconsistent, this is a good excuse for improvement.

        Activity

        Demian Katz created issue -
        Demian Katz made changes -
        Field Original Value New Value
        Assignee Demian Katz [ demiankatz ]
        Demian Katz made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        Demian Katz added a comment -
        Fixed in r3003.
        Show
        Demian Katz added a comment - Fixed in r3003.
        Demian Katz made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Demian Katz added a comment -
        The attached patch applies the fix for this problem to the 1.0.1 release. You will need to perform a full reindex after applying this patch. Also, in the unlikely event that you are making use of the era facet field in custom code or in marc_local.properties, you may need to make some additional adjustments to your local changes.
        Show
        Demian Katz added a comment - The attached patch applies the fix for this problem to the 1.0.1 release. You will need to perform a full reindex after applying this patch. Also, in the unlikely event that you are making use of the era facet field in custom code or in marc_local.properties, you may need to make some additional adjustments to your local changes.
        Demian Katz made changes -
        Attachment era_fix_101.patch [ 10139 ]

          People

          • Assignee:
            Demian Katz
            Reporter:
            Demian Katz
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: