CatgirlIntelligenceAgency/code/services-core/query-service
Viktor Lofgren 20fc0ef13c (gradle) Add task alias 'docker' for 'jibDockerBuild'
The change also moves the jib boilerplate to an include.
2024-02-28 11:59:15 +01:00
..
java/nu/marginalia/query Clean up documentation and rename domain-links to link-graph 2024-02-28 11:40:39 +01:00
resources (refac) Remove src/main from all source code paths. 2024-02-23 16:13:40 +01:00
build.gradle (gradle) Add task alias 'docker' for 'jibDockerBuild' 2024-02-28 11:59:15 +01:00
readme.md (docs) Begin un-fucking the docs after refactoring 2024-02-27 21:22:21 +01:00

The query service parses search queries and delegates work to the index services.

The index-service speaks a lower level query specification language that is difficult to build an application out of. The query service exists as an interpreter to that format.

Web Interface

The query service also offers a basic web interface for testing queries, or running the search engine as a white-label service without all the Marginalia Search specific stuff. This mode of operations is available through a barebones install.

The web interface also offers a JSON API for machine-based queries.

Central Classes

This module is almost entirely boilerplate, except the QueryBasicInterface class, which offers a REST API for querying the index.

Much of the guts of the query service are in the query-service module; which offers query parsing and an interface to the index service partitions.