Bug #6218

startDate and endDate fields missing from the search index (include in _all)

Added by Dan Gillean over 8 years ago. Updated almost 8 years ago.

Status:VerifiedStart date:01/16/2014
Priority:MediumDue date:
Assignee:Dan Gillean% Done:

100%

Category:Search / Browse
Target version:Release 2.1.0
Google Code Legacy ID: Tested version:
Sponsored:No Requires documentation:

Description

To reproduce

Enter a date:
  • Display date: 192?
  • Start date: 1920
  • End date: 1929

Save
Search for 1920

Error encountered
No results returned. After consulting with Radda, I have discovered that in AtoM 2.x, startDate and endDate have not been added to the search index or included in _all.

Expected result
Ideally, dates can be searched by either start, end or display. This is also related to incorporating issue #4654 into 2.x, adding a date range search to the advanced search (and ideally, as has been our goal, to the facet filters as well).


Related issues

Related to Access to Memory (AtoM) - Bug #4654: Add date range search in the advance search Verified 02/10/2013
Related to Access to Memory (AtoM) - Feature #4666: For advanced search by dates allow more flexible date for... Verified 02/13/2013

History

#1 Updated by José Raddaoui Marín over 8 years ago

  • Status changed from New to QA/Review
  • % Done changed from 0 to 100

AtoM|commit: 4918c03794cd764cca18da6ec4b2eea65dd23c55

After rebuilding the search index you should get results from star/end dates. Notice that it's a string query and without formating.

Nothing done yet about the date range search.

#2 Updated by Dan Gillean over 8 years ago

  • Assignee changed from José Raddaoui Marín to Austin Trask

Austin, looks like we'll need another search index rebuild on 2x.test, please! Thanks.

#3 Updated by David Juhasz over 8 years ago

  • Assignee changed from Austin Trask to Dan Gillean

Search index has been rebuilt.

#4 Updated by Dan Gillean over 8 years ago

  • Status changed from QA/Review to Verified

Start and end dates will now return results.

Keep in mind that they are not weighted for priority. So you will get matching results from titles that include dates (or matching numbers), identifiers, etc. But I tested by adding dates that would not match any others in the database (e.g. Display: [146?] Start: 1460 End: 1469, with a search performed on 1460, and 1469), and got results - along with a few matches on other numbers in the database.

In essence, it works - results are now included what is returned from a search. But for truly effective date searching, we should aim in a future release to incorporate the datepicker into advanced search for 2.x - issue #4654

#5 Updated by Jessica Bushey about 8 years ago

WestBeyondtheWest hosting portal would like this fix as soon as possible, as they will be hosting large digitized newspaper collections that require date searching.

#6 Updated by Dan Gillean almost 8 years ago

  • Target version changed from Release 2.0.2 to Release 2.1.0

Also available in: Atom PDF