Closed (outdated)
Project:
Office Hours
Version:
7.x-1.x-dev
Component:
Integration
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
17 Mar 2013 at 21:19 UTC
Updated:
24 Jun 2017 at 17:57 UTC
Jump to comment: Most recent
Comments
Comment #1
johnvDon't know anything about Search API, but the following issue is about Views filtering: #728026: Views Filter handler for Open/Closed (today/now/soon) [D7]
Comment #2
attheshow commentedI've confirmed this is an issue. If you are using Search API and go to the fields page of the default node index, there's no way to add your Office Hours field to be indexed by Solr.
Comment #3
johnvThis requires implementation of hook_entity_property_info().
maintainer is not familiar with that, so patches are welcome!
Comment #4
giorgio79 commentedLooks like Solr 5 now has DateRange support out of the box that allows for efficient filtering for opening hours.
https://cwiki.apache.org/confluence/display/solr/Working+with+Dates
Although, DateRangeField may be an overkill for simple opening hours and this simple trick could be used too
https://wiki.apache.org/solr/SpatialForTimeDurations
I would be happy to chip in for integration, or if all else fails may have a go at it. :)
Comment #5
johnvComment #6
johnvGiven the life cycle of D7, this issue is considered closed. However, patches are appreciated.