2023-03-05 19:31:43 +01:00
|
|
|
# Index Query
|
|
|
|
|
|
|
|
Contains interfaces and primitives for creating and evaluating queries against the indices.
|
|
|
|
|
2024-02-15 11:33:50 +01:00
|
|
|
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.
|
|
|
|
|
|
|
|
|
2023-03-05 19:31:43 +01:00
|
|
|
## Central Classes
|
|
|
|
|
|
|
|
* [IndexQuery](src/main/java/nu/marginalia/index/query/IndexQuery.java)
|
|
|
|
* [query/filter](src/main/java/nu/marginalia/index/query/filter/)
|
|
|
|
|
|
|
|
## See Also
|
|
|
|
|
|
|
|
* [index/index-reverse](../index-reverse) implements many of these interfaces.
|
2024-02-15 11:33:50 +01:00
|
|
|
* [libraries/array](../../libraries/array)
|
|
|
|
* [libraries/array/.../LongQueryBuffer](../../libraries/array/src/main/java/nu/marginalia/array/buffer/LongQueryBuffer.java)
|