MarginaliaSearch/code/index/query
Viktor Lofgren 19163fa883 (array) Clean up the Array library
IntArray gets the YAGNI axe.   The array library had two implementations, one for longs which was used, and one for ints, which only ever saw bit rot.   Removing the latter, as all it ever did was clutter up the codebase and add technical debt.  If we need int arrays, we fork LongArray again (or add int capabilities to it)

Also cleaning up the interfaces, removing layers of redundant abstractions and adding javadocs.

Finally adding sz=2 specializations to the quick- and insertion sort algorithms.  It seems the JIT isn't optimizing these particularly well, this is an attempt to help it out a bit.
2024-05-18 13:23:06 +02:00
..
java/nu/marginalia/index (array) Clean up the Array library 2024-05-18 13:23:06 +02:00
test/nu/marginalia/index/query/filter (array) Clean up the Array library 2024-05-18 13:23:06 +02:00
build.gradle (build) Java 22 and its consequences has been a disaster for Marginalia Search 2024-04-24 13:54:04 +02:00
readme.md (docs) Begin un-fucking the docs after refactoring 2024-02-27 21:22:21 +01:00

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