Copyright 2026 Edward C. Zimmermann, NONMONOTONIC Networks, Munich, Germany http://www.nonmonotonic.net
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
<http://www.apache.org/licenses/LICENSE-2.0>
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
CoreQuarry is not a vector data or RAG framework but a knowledge excavation platform build around a novel hybrid knowledge retrieval engine which emerged in 2026 from Project Schmate (שמאטע) for re-Isearch. It unifies lexical, structural, and semantic search into a single, high-performance platform. Unlike existing vector databases or traditional search engines, it supports true positional indexing, structure-aware queries, and typed object retrieval, enabling precise and contextually-aware search over heterogeneous document corpora. By leveraging memory-mapped, append-only indexes and a two-tier address-based caching system, the engine achieves extremely low memory footprints while scaling to handle complex, hybrid RAG queries on consumer hardware, including laptops and edge devices.CoreQuarry is not a vector database.
- It is not a search engine.
- It is not a RAG framework.
It is a knowledge excavation platform: a document-centric information retrieval platform built around document handlers, datatype-specific indexes, virtual retrieval objects, and a rich query algebra.
Schmate extended this architecture with embedding datatypes and semantic retrieval while preserving the same retrieval and presentation model.
https://github.com/re-Isearch/CoreQuarry
This is the main central repository for CoreQuary (re-Isearch) development.
Its builds on three (actually four projects) of our projects: ib (re-Isearch), bert.cpp (our refactored bert.cpp), Schmate (which includes our HNSWlib fork).
bert.cpp in turns builds on the ggml tensor library.
We use cmake.. create a build subdirectory. cmake .. and make .. Should build out of the box (easier said than done).
In case you don't have ggml:
git clone https://github.com/ggml-org/ggml
To install models to be used system wide:
Linux:
sudo groupadd aimodels sudo usermod -aG aimodels sudo usermod -aG aimodelssudo mkdir -p /opt/models/gguf sudo chown -R root:aimodels /opt/models/gguf sudo chmod -R 775 /opt/models/gguf sudo chmod g+s /opt/models/gguf # Forces new downloads to inherit 'aimodels' group
Models are stored in /opt/models/gguf
MaxOS:
mkdir -p /Users/Shared/Models/gguf chmod -R 775 /Users/Shared/Models/gguf
Models are stored in /User/Shared/Models/gguf
For user specific models (Linux, Unix, MacOS):
~/.ib/models/
This project was made possible:
-
Through the NGI0 Commons Fund, a fund established by NLnet with financial support from the European Commission's Next Generation Internet programme, under the aegis of DG Communications Networks, Content and Technology under grant agreement No 101135429. Additional funding is made available by the Swiss State Secretariat for Education, Research and Innovation (SERI).
-
Through a Grant from the Bundesministerium für Forschung, Technologie und Raumfahrt (Germany) GRANT_NUMBER: 01IS22S32 (exploring support of the IPFS and supporting remote indexing).
-
Through OpenData CH/Mercator Foundation CH.
-
Through a grant from the European Commission Coordination and Support Action (CSA) on ICT standardisation (extending support for additional post ISO-8601:2019 features).
-
Through the NGI0 Discovery Fund, a fund established by NLnet with financial support from the European Commission's Next Generation Internet programme, under the aegis of DG Communications Networks, Content and Technology under grant agreement No 825322
-
Additional thanks to ETH Zurich SPH who housed ExoDao Network Association 2022-2025 and Amazon AWS who provided a generous hosting grant.
