MarginaliaSearch/code/services-core/search-service
2023-03-12 10:50:31 +01:00
..
src Fix bug where results would sometimes be presented solely based on the fact that the document is important on the site in general, regardless of whether it's important to the document. 2023-03-11 14:20:32 +01:00
build.gradle The refactoring will continue until morale improves. 2023-03-12 10:50:31 +01:00
readme.md Move all code to a code directory. 2023-03-07 17:14:32 +01:00

Search Service

This service handles search traffic and is the service you're most directly interacting with when visiting search.marginalia.nu.

Central classes

  • SearchService receives REST requests and delegates to the appropriate services.

  • CommandEvaluator interprets a user query and acts upon it, dealing with special operations like browse: or site:.

  • QueryFactory parses a search query into a machine readable query specification.

  • SearchQueryIndexService passes a parsed search query to the index service, and then decorates the search results so that they can be rendered.