Skip to content
Snippets Groups Projects
Commit d1228b50 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Search.Queue: Added enum with the defined stages.

parent 097bb0e2
Branches
Tags
No related merge requests found
...@@ -4,6 +4,17 @@ inherit Web.Crawler.Queue; ...@@ -4,6 +4,17 @@ inherit Web.Crawler.Queue;
//! Virtual base class for the @[Search] crawler state. //! Virtual base class for the @[Search] crawler state.
//! The queue stage levels.
enum Stage {
STAGE_WAITING = 0,
STAGE_FETCHING,
STAGE_FETCHED,
STAGE_FILTERED,
STAGE_INDEXED,
STAGE_COMPLETED,
STAGE_ERROR,
};
//! Add an URI to be crawled. //! Add an URI to be crawled.
void add_uri( Standards.URI uri, int recurse, string template, void|int force ); void add_uri( Standards.URI uri, int recurse, string template, void|int force );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment