etianen / django-watson

Full-text multi-table search application for Django. Easy to install and use, with good performance.
BSD 3-Clause "New" or "Revised" License
1.2k stars 129 forks source link

Searching for non-model related items (like views) #305

Closed gawry closed 8 months ago

gawry commented 8 months ago

I was thinking about building a UI like the one in https://www.helpbar.ai/ so I could show both results from the models and some of the views like common actions from the application.

Do you have an idea on how to mix those results? One solution I could think of would be actually creating a model for those app actions and index those together.

etianen commented 8 months ago

Yes, you'll need to mirror the app actions into a model to include it with the django-watson search, since the search is all backed by the database.