Revision d09e6f23
- Added new cache class that store the cache on disk while exposing the same dictionary interface as MemoryCache (drop in replacement)
- Renamed existing cache class to MemoryCache.
- Removed a lot of stale code related to the faceted search system.
- Rewrote parts of the Solr query interface to support a query interface that is more flexible and easier to use from the rest of ONEDrive.
- Added support for multiple filter queries.
- Replaced ad-hook disk caching with the new disk cache class.
- Added escaping of Solr query terms, so that it does not have to be done manually in the workspace.xml file.
- Added a decades level in the time period controlled hierarchy.
- Rewrote the time period controlled hierarchy resolver (initial implementation was kind of iffy).
- Added CommandEchoer, a class that unit tests can plug in as a replacement for CommandProcessor, to get the actual commands that are generated.
- Added lots of unit tests.
- Misc refactoring.
Files
- added
- modified
- copied
- renamed
- deleted
- src
- impl
- attributes.py (diff)
- cache.py
- cache_disk.py
- cache_memory.py
- command_processor.py (diff)
- directory.py (diff)
- onedrive_solr_client.py (diff)
- query_engine_description.py (diff)
- resolver
- abstract.py
- d1_science_object.py (diff)
- resolver_abc.py (diff)
- root.py (diff)
- time_period.py (diff)
- workspace.py (diff)
- tests
- all_tests.py (diff)
- command_echoer.py
- solr_query_simulator.py
- test_attributes.py
- test_author_resolver.py
- test_cache.py
- test_cache_disk.py
- test_cache_memory.py
- test_command_processor.py (diff)
- test_d1_client.py (diff)
- test_d1_object_resolver.py
- test_d1_package_resolver.py
- test_d1_science_object_resolver.py
- test_d1_system_metadata_resolver.py
- test_directory.py
- test_flat_space_resolver.py
- test_index
- test_preconfigured_search_resolver.py
- test_query_engine_description.py (diff)
- test_region_resolver.py
- test_resource_map_resolver.py (diff)
- test_root_dispatcher.py
- test_root_resolver.py
- test_solr_client.py (diff)
- test_solr_query_simulator.py
- test_taxa_resolver.py
- test_time_period_resolver.py
- test_workspace_resolver.py (diff)
- impl