mirror of
https://github.com/zotero/zotero.git
synced 2026-10-08 03:08:19 +00:00
Mirror of https://github.com/zotero/zotero.git
A root-level 'bestMatch' condition -- serialized as a marker like joinMode and resultLevel -- ranks results with the Relevance column via a "Sort results by best match for" field below the root group's conditions, composing semantic ranking with Boolean filtering. A best-match quick search converts to it via the Advanced Search button, and a selected saved search's own marker activates ranking too, overridden by an active best-match quick search. Without a cutoff the condition is rank-only and membership is untouched -- including while the index is unavailable -- so a saved search acts identically as a source, and unscoreable items just sort last. With the optional "keeping top" cutoff, carried in the marker's operator, membership becomes the K most similar results, applied in search() so scopes, counts, and the API see the same set. A transient search's cutoff, which applies uniformly to every selected row, is reapplied over the merged results so a multi-collection selection returns K members total; a saved search's cutoff is part of its own membership and never trims other selected rows. The query embedding is cached in-flight, so the per-row membership passes and the merged ranking share one worker embed. |
||
|---|---|---|
| .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.