CatgirlIntelligenceAgency/code/services-core/search-service
2023-03-10 16:46:56 +01:00
..
src Word feature bit for words that appear in the URL, new search profile for plain text files, better plain text titles. 2023-03-10 16:46:56 +01:00
build.gradle Move all code to a code directory. 2023-03-07 17:14:32 +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.