MarginaliaSearch/code/services-core/query-service
Viktor Lofgren ad3857938d (search-api, ranking) Update with new ranking parameters
Adding new ranking parameters to the API and routing them through the system, in order to permit integration of the new position data with the ranking algorithm.

The change also cleans out several parameters that no longer filled any function.
2024-07-15 04:49:40 +02:00
..
java/nu/marginalia/query (search-api, ranking) Update with new ranking parameters 2024-07-15 04:49:40 +02:00
resources (search-api, ranking) Update with new ranking parameters 2024-07-15 04:49:40 +02:00
build.gradle (*) Lift jetty and guava-dependencies 2024-05-23 14:20:01 +02: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.