2023-10-09 14:56:59 +02:00
|
|
|
The query service parses search queries and delegates work to the index service.
|
|
|
|
|
|
|
|
The [index-service](../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
|
2024-01-13 21:16:45 +01:00
|
|
|
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.
|
2023-10-09 14:56:59 +02:00
|
|
|
|
|
|
|
## Main Classes
|
|
|
|
|
2024-01-13 21:16:45 +01:00
|
|
|
* [QueryService](src/main/java/nu/marginalia/query/QueryService.java) - The REST service implementation
|
|
|
|
* [QueryGRPCService](src/main/java/nu/marginalia/query/QueryGRPCService.java) - The GRPC service implementation
|
2023-10-09 14:56:59 +02:00
|
|
|
|
|
|
|
## See Also
|
|
|
|
|
|
|
|
* [api/query-api](../../api/query-api)
|
2023-10-09 15:12:30 +02:00
|
|
|
* [features-qs/query-parser](../../features-qs/query-parser)
|
2023-10-09 14:56:59 +02:00
|
|
|
* [features-index/index-query](../../features-index/index-query)
|