mirror of
https://github.com/zotero/zotero.git
synced 2026-10-07 02:58:09 +00:00
Mirror of https://github.com/zotero/zotero.git
Notes are indexed on their text and annotations on the passage they mark together with their comment, so both match on what they actually say rather than on their parent's title and abstract. A note can hold more text than a model's context window, so Zotero.Embeddings.Chunking splits long text using the selected model's tokenizer. Paragraphs are the topic units: two never share a chunk unless one is too small to embed on its own, in which case small paragraphs are combined, and a paragraph over the window is split at sentence boundaries into even pieces. Stored embeddings are keyed by item and chunk, so the index is rebuilt on upgrade. An item scores as its best chunk, so a long note that addresses a query in one paragraph isn't diluted by the rest, and its rank reflects the best match anywhere beneath it: a strongly matching annotation lifts its attachment and its paper. The relevance bar reports only the row's own score, so a paper ranked by its annotation shows a high rank over an empty bar rather than claiming to be a match it isn't. List order and bar fill deliberately disagree in that case. Annotation rows render the relevance cell, and the Relevance column moves to the far right while a best-match search is active so the bars line up across item, note, attachment and annotation rows. |
||
|---|---|---|
| .github/workflows | ||
| app | ||
| chrome | ||
| defaults/preferences | ||
| document-worker@6d0c0ce45d | ||
| js-build | ||
| note-editor@acec74d09b | ||
| reader@c6edbfff75 | ||
| resource | ||
| scripts | ||
| scss | ||
| styles@dff7452b24 | ||
| test | ||
| translators@60f2d542ff | ||
| types/gecko | ||
| .babelrc | ||
| .gitattributes | ||
| .gitignore | ||
| .gitmodules | ||
| chrome.manifest | ||
| CLAUDE.md | ||
| CONTRIBUTING.md | ||
| COPYING | ||
| eslint.config.mjs | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| update.rdf | ||
| version | ||
Zotero
Zotero is a free, easy-to-use tool to help you collect, organize, cite, and share your research sources.
Please post feature requests or bug reports to the Zotero Forums. If you're having trouble with Zotero, see Getting Help.
For more information on how to use this source code, see the Zotero documentation.