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

Create general search for all documents #103

Open
smcalilly opened this issue Jun 27, 2023 · 1 comment
Open

Create general search for all documents #103

smcalilly opened this issue Jun 27, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@smcalilly
Copy link
Contributor

The current searching works where each document type is a separate search. Sometimes users don't know the document type they're searching, and they need a general search that searches all of the documents.

This will be a bit tricky with django-haystack, since the search indexing is dependent on a single model. Each model has a separate search index. We need to figure out if django-haystack supports multiple models for a single index, or come up with a good way to index all of the different models in one index.

@smcalilly smcalilly added the enhancement New feature or request label Jun 27, 2023
@smcalilly smcalilly changed the title Create general search for all licenses Create general search for all documents Jun 27, 2023
@smcalilly smcalilly self-assigned this Jul 10, 2023
@smcalilly
Copy link
Contributor Author

django-haystack doesn't provide a way to do this. We're gonna achieve this in the view by chaining a query with all the indexes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant