Open beekhuiz opened 9 years ago
Could you provide a clear example ? That type of cases usually occur depending on the language of the catalogue content and the language configuration (see admin page of the catalogue).
When typing in "rivier", there is the autosuggestion "Aankomsttijden water vanuit de rivier" (which is the title of a dataset). When selecting this autosuggestion (so the search term becomes "Aankomsttijden water vanuit de rivier") and pressing the Search button, there are no results. When searching on just "rivier", the dataset does show up in the results.
I think these are all the language settings:
Does "Aankomsttijden water vanuit rivier" return the record ? If yes, then "de" may interact with stopwords... You may need to check if a Lucene Analyzer exist for your language and use it.
You could also try to turn off "Prefer UI Language" too and switch to "prefer all docs in all languages" mode.
Hi,
The same thing is happening with the english sample data that can be imported with geonetwork.
When searching for "Physiographic Map" using a dutch GUI (http://localhost:8080/geonetwork/srv/dut/catalog.search), the autosuggest will give:
Physiographic Map of North and Central Eurasia (Sample record, please remove!)
No records will be found. After removing "and" from the query the result is found.
If I switch to an English gui (http://localhost:8080/geonetwork/srv/eng/catalog.search) the autosuggest works. Here the "and" is recognized as stop word.
If I understand correctly, the stop word filtering only works if the gui language is the same as the query language? So using a dutch gui "and" is not considered a stop word in a query?
What would be the recommended settings if a user used both dutch and english queries? I suppose merging the english and dutch stopword lists might do the job?
It would be nice to make the autosuggest always work. That's what users will expect. Would it be hard to implement such a feature? I've been looking at the source code but when the search query is called, it cannot be determined if a autosuggest was used.
Regards,
Rudie.
Moving to future release as there is no easy fix/configuration for this.
I am not sure if this issue can be worked as described
When using the autosuggestion to complete the search text to the full title of the dataset, the search (sometimes) returns no results. Shorter queries (based on for example one word of the title) do return the correct datasets. I am using Geonetwork 3.0.1