[VUFIND-322] Stopwords cause subject searches to fail Created: 14/Sep/10  Updated: 14/Sep/10  Resolved: 14/Sep/10

Status: Resolved
Project: VuFind®
Components: Search
Affects versions: 1.0.1
Fix versions: 1.1

Type: Bug Priority: Major
Reporter: Demian Katz Assignee: Demian Katz
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Attachments: Text File era_fix_101.patch    

 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.

 Comments   
Comment by Demian Katz [ 14/Sep/10 ]
Fixed in r3003.
Comment by Demian Katz [ 14/Sep/10 ]
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.
Generated at Thu Apr 25 19:35:33 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100251-rev:2d0d695520e7095763476433152508933e579798.