mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-23 13:09:00 +00:00
![]() The priority index documents file can be trivially compressed to a large degree. Compression schema: ``` 00b -> diff docord (E gamma) 01b -> diff domainid (E delta) + (1 + docord) (E delta) 10b -> rank (E gamma) + domainid,docord (raw) 11b -> 30 bit size header, followed by 1 raw doc id (61 bits) ``` |
||
---|---|---|
.. | ||
java/nu/marginalia/index | ||
test/nu/marginalia/index/query/filter | ||
build.gradle | ||
readme.md |
Index Query
Contains interfaces and primitives for creating and evaluating queries against the indices.
Central to interacting with the query interface is the IndexQuery
class. This class is used
to create and evaluate queries against the index. The class will fill a LongQueryBuffer
with
the results of the query.
This is a relatively light library consisting of a few classes and interfaces. Many of the interfaces are implemented within the index-service module.
Central Classes
See Also
- index/index-reverse implements many of these interfaces.
- libraries/array
- libraries/array/.../LongQueryBuffer