mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-24 05:18:58 +00:00
![]() This change set updates the query APIs to enable the search service to add additional criteria, such as QueryStrategy and TemporalBias. The QueryStrategy makes it possible to e.g. require a match is in the title of a result, and TemporalBias enables penalizing results that are not within a particular time period. These options are added to the search interface. The old 'recent results' is modified to use TemporalBias, and a new filter 'Search In Title' is added as well. The vintage filter is modified to add a temporal bias for the past. |
||
---|---|---|
.. | ||
src | ||
build.gradle | ||
readme.md |
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.
Main Classes
- QueryService - The REST service implementation
- QueryGRPCService - The GRPC service implementation