Skip to content

feat: add multi index searching and filtering #674

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

Merged
merged 67 commits into from
May 27, 2025
Merged

Conversation

Revathyvenugopal162
Copy link
Contributor

@Revathyvenugopal162 Revathyvenugopal162 commented Apr 17, 2025

Advanced search features with filtering
#671 , #573

Screenshot 2025-05-23 at 16 24 12
Screenshot 2025-05-23 at 16 09 25
Screenshot 2025-05-23 at 16 18 37
Screenshot 2025-05-23 at 16 19 10
Screenshot 2025-05-23 at 16 08 07

@github-actions github-actions bot added enhancement General improvements to existing features ui/ux Related with UI/UX design js Requires or modifies JavaScript code labels Apr 17, 2025
Copy link
Member

@jorgepiloto jorgepiloto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome work here, @Revathyvenugopal162. I left some suggestions and comments.

@@ -147,23 +147,6 @@ Here is an example of how to add the ``static_search`` dictionary to the
},
}
To customise the indexing of your documentation, you can use the ``index_patterns`` dictionary in the ``conf.py`` file.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a breaking change. We must include a deprecation warning in v1.4 about it saying v1.5 will no longer support this option. Also, v1.5 must raise an error if this option is used.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, i will add that

if not filters:
# get the first part of the document name and sentence case it
return doc_title
for key, values in filters.items():
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's avoid this naming. All dictionaries have keys and values. Let's be more explicit with the concepts these variables are used for.

Copy link
Member

@jorgepiloto jorgepiloto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One last comment and this is ready to be merged.

Co-authored-by: Jorge Martínez <[email protected]>
@jorgepiloto jorgepiloto merged commit 24c568d into main May 27, 2025
19 checks passed
@jorgepiloto jorgepiloto deleted the feat/search-weight branch May 27, 2025 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Issues related to documentation enhancement General improvements to existing features js Requires or modifies JavaScript code ui/ux Related with UI/UX design
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a way to show all search results Restore multi-index search capabilities
3 participants