CatgirlIntelligenceAgency/services-core/search-service
2023-03-04 16:52:19 +01:00
..
src Separation-of-concerns SearchQueryIndexService/QueryFactory 2023-03-04 16:52:19 +01:00
build.gradle Remove old unused protobuf crap 2023-03-04 14:17:13 +01:00
readme.md Restructuring the git repo 2023-03-04 14:05:24 +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.