-
Notifications
You must be signed in to change notification settings - Fork 0
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
Search suggestions no longer picking individual items out of arrays #63
Comments
Hi! Could you provide this information:
We may not make any changes for this in the current search component but will definitely consider it for the new one (in case you are not familiar with it, it's currently available as an experimental feature and can be enabled by going to settings, enabling experimental features, and then enabling search experiment from the experimental features side bar drawer). |
That is very clear indeed! This seems to be a regression in the search component, thanks for spotting that. Since the new, experimental one will be made the default soon we will consider adding support for searching in arrays for that component instead. (There are some performance concerns which makes it non completely obvious to add this). |
I've just updated to neo4j 2.10.0 and in previous versions, when using search suggestions, individual items would be suggested from within the arrays, when using a saved cypher query that searches for nodes that contained a specific item within an array stored in a property. At the moment, the saved cypher search is presenting both individual items from within arrays and also the arrays themselves (in string format), which means that it becomes impossible to type in and search for just one property, since the alphabetically higher arrays containing that item fill out all the search options. Searching with one of these suggested arrays obviously yields no results, as the underlying search is looking for items within an array, and the suggested searches are always strings.
The fix needs to be that when search suggestions are provided for the array property type, only items from within an array are presented, rather than entire arrays.
Another suggestion rather than an issue is to always have the first search option to be what the user has actually typed and then subsequent options are alphabetically sorted, rather than defaulting to an alphabetically sorted list of every option that has the string the user has typed in it
The text was updated successfully, but these errors were encountered: