Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Searching based on full title suggestion sometimes fails to give results #1003

Open
beekhuiz opened this issue May 27, 2015 · 6 comments
Open
Labels
bug stale stale issue flagged for closure.

Comments

@beekhuiz
Copy link

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

@fxprunayre
Copy link
Member

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).

@fxprunayre fxprunayre added this to the 3.0.1 milestone May 27, 2015
@beekhuiz
Copy link
Author

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:
image

@fxprunayre
Copy link
Member

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.

@ekkelenkamp
Copy link
Contributor

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.

@fxprunayre fxprunayre modified the milestones: 3.0.1, 3.0.2 Jul 6, 2015
@fxprunayre fxprunayre modified the milestones: 3.0.2, 3.0.3 Sep 8, 2015
@fxprunayre
Copy link
Member

Moving to future release as there is no easy fix/configuration for this.

@fxprunayre fxprunayre modified the milestones: Future release, 3.0.3 Dec 8, 2015
@Delawen Delawen added bug and removed question labels Jun 7, 2016
@Delawen Delawen modified the milestone: Future release Sep 16, 2016
@jodygarnett
Copy link
Contributor

I am not sure if this issue can be worked as described

  • as described this amounts to performance sensitivity for auto complete to work?
  • This may also be retested for GN4 and Elasticserach backend.

@ticheler ticheler added the stale stale issue flagged for closure. label Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug stale stale issue flagged for closure.
Projects
None yet
Development

No branches or pull requests

6 participants