Ticket #956 (new Enhancement)

Opened 9 years ago

dm4-time: extend timerange query api about typeUri filter

Reported by: Malte Owned by:
Priority: Major Milestone: Release 4.8
Component: DeepaMehta Standard Distribution Version: 4.7
Keywords: Cc: jri, JuergeN
Complexity: 3 Area: Application Framework / API
Module: deepamehta-time

Description

Current:

Collection<Topic> getTopicsByModificationTime(long from, long to);
... 

Problem is, if there are million topics in a time range but you are only interested in the ones of type "Web Resource" or let's say "Note" one must iterate over all the million topics before being able to return a response (takes about 90secs on a stock machine).

Optimal:

Collection<Topic> getTopicsByModificationTime(List<String> typeUris, long from, long to);
.. 

That would be a nice improvement, i guess.

Note: See TracTickets for help on using tickets.