Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

As a frontend user I want to search on document date information so I can find records by calendar or historic date. #882

Closed
2 tasks done
rlskoeser opened this issue May 18, 2022 · 1 comment
Assignees

Comments

@rlskoeser
Copy link
Contributor

rlskoeser commented May 18, 2022

testing notes

The text of the document date (both historic and converted), as displayed in search results and on the document details, are now included in the search fields. You should be able to get records by searches on date text (although often the date is repeated in description, which may make it a little harder to tell).

You can also do a field-specific search using the syntax document_date:xxx - e.g., search for a Seleucid year document_date:"1450 seleucid" or everything dated as being on a Thursday: document_date:thursday

  • try searching for date or calendar as keyword search
  • try searching for date or calendar with document_date:## syntax

If we're not using the filter to include dates in other calendar types, can we make the full dates searchable (so you can put 4963 into the search to get the AM docs dated to that year)?

Originally posted by @richmanrachel in #865 (comment)

dev notes

index date field in solr and add to list of searchable fields

@rlskoeser rlskoeser modified the milestone: date filtering & sorting May 24, 2022
@rlskoeser rlskoeser added this to the CDH/PGP end of grant year 2 milestone Sep 19, 2022
@rlskoeser rlskoeser self-assigned this Sep 30, 2022
@rlskoeser rlskoeser added the 🗜️ awaiting testing Implemented and ready to be tested label Oct 4, 2022
@kseniaryzhova
Copy link

@rlskoeser works for me! Both syntax and keyword search have the same number of results (and the results are the same) except in Seleucid - document_date: "1450 seleucid" gives me 5 exact matches while 1450 seleucid keyword search returns 1364 results (partial matches). For non-Seleucid dates, it seems the date field is matching.

@rlskoeser rlskoeser removed the 🗜️ awaiting testing Implemented and ready to be tested label Oct 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants