This is a wiki-style Islandora knowledge base that anyone can edit.
Editing
Dates in Drupal and Solr
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Date queries === You can search using a query containing a date range over DatePointField's, and it finds dates within that range. This is what happens with the Drupal core Date field when it is used in Facets. For searching using DateRangeFields, Solr provides three predicates relating the indexed data to the query range: `Intersects`, `Contains`, and `Within`. To get the most out of a metadata search, we likely want to use "Intersects" as it encompasses "Contains" and "Within". It can be used in the Solr Admin Interface as: `fq={!field f=dateRangeFieldName op=Intersects}[2013 TO 2018]`
Summary:
Please note that all contributions to Islandora Knowledge Base are considered to be released under the Creative Commons Zero (Public Domain) (see
Project:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
English
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information