Friday, July 23, 2021
1 change · master
Features or functions removed from Odoo
The message search option in Discuss has been removed because it produced unreliable results and did not scale well in large conversations. This avoids confusing search outcomes for users while the team considers a better approach for searching discussion content in the future.
Original PR description
It is a feature we would like to have, but it currently doesn't work well. - Search is text based, but messages are HTML based, which means a lot of result make no sense because they match HTML tags, attributes, ... Inversely when searching for multiple words that do exist together but are separated by tags, it will fail to find them. - Content of messages is actually not indexed, which means the search doesn't scale in big channel or with long messages. Indexing it is not trivial and has a huge cost in terms of storage and dependencies (trigram index for example). - The search of the control panel is great for business documents but it does not fit the kind of searching UI that we would like inside discussions. It is therefore decided to remove the feature until we are able to do it well. Part of task-2369636 More information also on task-2359037