Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This patch remedies two issues: 1. Long-text fields that have more than 200 characters (e.g. the abstract of an eprint) are now indexed. Before, they were just left out, resulting in wrong search results when one did a simple search (e.g. using a search term such as abstract:dyscalculia) 2. Sorting by date after simple search now works correctly. Before, sort order was chaotic because dates were weighted by term within-document-frequency (wdf). Dates are now stripped down to years and stored using the add_boolean_term method (name is misleading, has nothing to do with booleans), that assigns wdf = 0 to the term.
- Loading branch information