Zeitgeist.ResultType – zeitgeist-2.0 Reference Manual

# ResultType

## Description:

public enum ResultType

ZeitgeistResultType

Used to control how the query results are grouped and sorted. See zeitgeist_log_find_events(), zeitgeist_log_find_event_ids(), and zeitgeist_index_search().

Namespace: Zeitgeist
Package: zeitgeist-2.0

## Content:

### Enum values:

- LEAST_POPULAR_ACTOR - The last event of each different actor, ordered ascendingly by the popularity of the actor
- LEAST_POPULAR_CURRENT_ORIGIN - The last event of each different subject origin, ordered ascendingly by the popularity of the origin
- LEAST_POPULAR_CURRENT_URI - One event for each subject only by current_uri instead of uri ordered ascendingly by popularity of the subject
- LEAST_POPULAR_EVENT_ORIGIN - The last event of each different origin, ordered ascendingly by the popularity of the origin
- LEAST_POPULAR_MIMETYPE - One event for each mimetype only ordered ascendingly by popularity of the mimetype
- LEAST_POPULAR_ORIGIN - The last event of each different subject origin, ordered ascendingly by the popularity of the origin
- LEAST_POPULAR_SUBJECTS - One event for each subject only, ordered ascendingly by popularity of the subject
- LEAST_POPULAR_SUBJECT_INTERPRETATION - One event for each subject interpretation only, ordered ascendingly by popularity of the subject interpretation
- LEAST_RECENT_ACTOR - The actor that has been used to least recently
- LEAST_RECENT_CURRENT_ORIGIN - The last event of each different subject origin, ordered by least recently used first
- LEAST_RECENT_CURRENT_URI -
- One event for each subject only by current_uri instead of uri ordered with oldest events first
- LEAST_RECENT_EVENTS - All events with the oldest
- LEAST_RECENT_EVENT_ORIGIN - The last event of each different origin, ordered by least recently used first
- LEAST_RECENT_MIMETYPE - One event for each mimetype only ordered with the least recent events first
- LEAST_RECENT_ORIGIN - The last event of each different subject origin, ordered by least recently used first
- LEAST_RECENT_SUBJECTS - One event for each subject, only, ordered with oldest events first
- LEAST_RECENT_SUBJECT_INTERPRETATION - One event for each subject interpretation only, ordered with the least recent events first
- MOST_POPULAR_ACTOR - The last event of each different actor ordered by the popularity of the actor
- MOST_POPULAR_CURRENT_ORIGIN - The last event of each different subject origin, ordered by the popularity of the origins
- MOST_POPULAR_CURRENT_URI - One event for each subject only by current_uri instead of uri ordered by the popularity of the subject
- MOST_POPULAR_EVENT_ORIGIN - The last event of each different origin ordered by the popularity of the origins
- MOST_POPULAR_MIMETYPE - One event for each mimetype only ordered by the popularity of the mimetype
- MOST_POPULAR_ORIGIN - The last event of each different subject origin, ordered by the popularity of the origins
- MOST_POPULAR_SUBJECTS - One event for each subject only, ordered by the popularity of the subject
- MOST_POPULAR_SUBJECT_INTERPRETATION - One event for each subject interpretation only, ordered by the popularity of the subject interpretation
- MOST_RECENT_ACTOR - The actor that has been used to most recently
- MOST_RECENT_CURRENT_ORIGIN - The last event of each different subject origin.
- MOST_RECENT_CURRENT_URI - One event for each subject only by current_uri instead of uri ordered with the most recent events first
- MOST_RECENT_EVENTS - All events with the most recent events first
- MOST_RECENT_EVENT_ORIGIN - The last event of each different origin
- MOST_RECENT_MIMETYPE - One event for each mimetype only ordered with the most recent events first
- MOST_RECENT_ORIGIN - The last event of each different subject origin.
- MOST_RECENT_SUBJECTS - One event for each subject only, ordered with the most recent events first
- MOST_RECENT_SUBJECT_INTERPRETATION - One event for each subject interpretation only, ordered with the most recent events first
- OLDEST_ACTOR - The first event of each different actor
- RELEVANCY - Only allowed on zeitgeist_index_search(). Events are sorted by query relevancy

### Static methods:

- public static bool is_sort_order_asc (ResultType result_type)