Module Import alias Import alias Import alias Import alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad BinOpMult Num Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad ClassDef bases NameLoad body Assign NameStore Str Assign NameStore Str Assign NameStore Num Assign NameStore BinOpAdd AttributeLoad NameLoad attr TupleLoad Call NameLoad Str keyword Str keyword Str keyword NameLoad keyword Str Call NameLoad Str keyword Str keyword Str keyword TupleLoad NameLoad NameLoad keyword NameLoad keyword Str Call NameLoad Str keyword Str keyword Str keyword NameLoad keyword Str Call NameLoad Str keyword Str keyword Str keyword NameLoad keyword Str Call NameLoad Str keyword Str keyword Str keyword Num keyword Str FunctionDef arguments args NameParam defaults vararg kwarg body Assign NameStore Call AttributeLoad Call NameLoad SubscriptLoad NameLoad Index Str attr Assign NameStore Call AttributeLoad Call NameLoad SubscriptLoad NameLoad Index Str attr Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index Str If NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpSub NameLoad Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr If SubscriptLoad NameLoad Index Str body Assign NameStore NameLoad While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Assign NameStore AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str decorator_list decorator_list Assign NameStore NameLoad
N/A N/A logging N/A time N/A urllib2 N/A resource datetime datetime timedelta optparse make_option django.conf settings django.core.management.base BaseCommand mturk.main.models IndexQueue solr_status SolrStatusParser N/A N/A N/A resource setrlimit N/A resource RLIMIT_AS N/A N/A 2048 1048576 -1 N/A logger N/A N/A logging getLogger __name__ SolrDataImportCommand N/A BaseCommand N/A N/A FULL_IMPORT full-import N/A DELTA_IMPORT delta-import N/A INDEX_QUEUE_BATCH_SIZE 1000 N/A option_list N/A N/A BaseCommand option_list N/A N/A make_option --verbose dest verbose action store_true default False help print more messages N/A make_option --import-type dest import_type action store choices N/A FULL_IMPORT DELTA_IMPORT default FULL_IMPORT help specifies which import command should be used N/A make_option --clean-index dest clean_index action store_true default False help specifies wheter to clean up index before the indexing is started N/A make_option --clean-queue dest clean_queue action store_true default False help specifies wheter to clear index queue before the indexing is started N/A make_option --older-than dest older_than type int default 2 help specifies which rows in the index queue will be removed handle N/A N/A self N/A args options N/A N/A clean_index N/A N/A N/A str N/A options N/A clean_index lower N/A command N/A N/A N/A str N/A options N/A import_type lower N/A import_url N/A N/A {}/data_import?command={}&clean={} format N/A settings SOLR_PATH command clean_index N/A clean_queue N/A options N/A clean_queue N/A clean_queue N/A N/A days N/A options N/A older_than N/A now N/A N/A datetime now N/A older_than N/A now N/A timedelta days days N/A N/A N/A logger info N/A N/A Removing rows from the index queue older than {} format older_than N/A N/A N/A N/A N/A N/A IndexQueue objects filter created__lte older_than delete N/A N/A N/A logger info Removed N/A N/A N/A logger info Building solr index started N/A response N/A N/A urllib2 urlopen import_url N/A status_url N/A N/A {}/import_db_hits?command=status format N/A settings SOLR_PATH N/A N/A options N/A verbose N/A N/A in_progress True N/A in_progress N/A N/A response N/A N/A urllib2 urlopen status_url N/A solr_info N/A SolrStatusParser N/A N/A response read N/A N/A N/A logger info N/A N/A Solr status:
{} format solr_info N/A in_progress N/A solr_info busy N/A in_progress N/A N/A N/A N/A time sleep 1 N/A N/A N/A logger info Building solr index finished N/A N/A N/A Command SolrDataImportCommand