indico icon indicating copy to clipboard operation
indico copied to clipboard

Search has unclear and unpredictable behaviour

Open AjobK opened this issue 6 months ago • 5 comments

It is not clear to end-users how to properly use the search. For example, for some users it is intuitive to, based on the displayed guide when searching, do something like person: John Doe. However, this will not search John Doe and instead will search on 'John' and 'Doe'.

The solution would be to type either person:"John Doe" or 'person:John Doe` (no space).

On top of that, we do support AND and OR operators in the search as we simply pass the search string to elastic, but this is not stated anywhere. There is no highlighting of search keywords or feedback when using it wrong.

Solution Some way to highlight the search keywords, or make it clear that it is being used incorrectly. Also mention of the AND/OR operators and how this works, either implicitly with highlighting or explicitly in the guide directly below.

AjobK avatar Jul 04 '25 15:07 AjobK

This sounds 100% related to the citadel search so it'd be better to move it to the indico-plugins repo where that plugin resides. The core search is different (standard postgres text search, with no filters like person:...).

ThiefMaster avatar Jul 04 '25 15:07 ThiefMaster

Unless we implemented the UI for these filters in the core. Then it's fine here.

ThiefMaster avatar Jul 04 '25 15:07 ThiefMaster

My idea was indeed instead to do this on the core as we are in general lacking UI/UX for the reserved keywords.

AjobK avatar Jul 04 '25 15:07 AjobK

I think the UI is actually in the core...

ThiefMaster avatar Jul 04 '25 15:07 ThiefMaster

Elastic query syntax for reference: https://www.elastic.co/docs/reference/query-languages/query-dsl/query-dsl-query-string-query#query-string-syntax

Doesn't really explain the behaviour we are seeing though

tomasr8 avatar Jul 08 '25 13:07 tomasr8