Opened 15 years ago
Closed 15 years ago
#213 closed defect (fixed)
minus in keyword
Reported by: | liefra | Owned by: | josegar74 |
---|---|---|---|
Priority: | minor | Milestone: | v2.4.3 |
Component: | General | Version: | v2.4.2 |
Keywords: | Cc: |
Description
There are difficulties with keywords which do contain one or more minuses, for instance: "Fisheries - low income"
These keywords do show up in the advanced search keywords popup, but a search results in zero results.
We haven't tested any other Lucene special characters.
The affected keywords can be queried with the Lucene tool Luke, using a
org.apache.lucene.analysis.KeywordAnalyzer
Below are logging debug messages, showing a raw Lucene query:
DEBUG geonetwork.search - Lucene Query: keyword:Fisheries - low income DEBUG geonetwork.search - Lucene Query: keyword:Fisheries - low income DEBUG geonetwork.search - Lucene Query: _op0:1 DEBUG geonetwork.search - Lucene Query: _op0:0 DEBUG geonetwork.search - Lucene Query: _op0:1 _op0:0 DEBUG geonetwork.search - Lucene Query: _isTemplate:n DEBUG geonetwork.search - Lucene Query: +(keyword:Fisheries - low income) +(_op0:1 _op0:0) +_isTemplate:n
Change History (2)
comment:1 by , 15 years ago
Milestone: | v2.5.0 → v2.4.3 |
---|---|
Owner: | changed from | to
Version: | v2.5.0 → v2.4.2 |
comment:2 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
I checked in 2.4.3 assigning "Fisheries - low income" keyword to some metadata records and seem found them correctly.
Possibly was fixed with new search improvements