-
-
Save talexb/bfe5913e3164692e63d8 to your computer and use it in GitHub Desktop.
Unsuccessful run of generate_sitemap.pl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
metacpan@debian:~/metacpan.org$ time perl -w bin/generate_sitemap.pl | |
[ERROR] ** ElasticSearch::Error::Param at /usr/local/perlbrew/perls/perl-5.16.2/lib/site_perl/5.16.2/ElasticSearch/RequestParser.pm line 1978 : | |
Unknown query operator 'not' at /usr/local/perlbrew/perls/perl-5.16.2/lib/site_perl/5.16.2/ElasticSearch/RequestParser.pm line 591. | |
Usage for 'search()': | |
- index => $index | [$index_1,$index_n] # optional | |
- type => $type | [$type_1,$type_n] # optional | |
- explain => {explain} # optional | |
- facets => {facets} # optional | |
- fields => {fields} # optional | |
- filter => {filter} # optional | |
- filterb => {filterb} # optional | |
- from => {from} # optional | |
- highlight => {highlight} # optional | |
- indices_boost => {indices_boost} # optional | |
- min_score => {min_score} # optional | |
- partial_fields => {partial_fields} # optional | |
- query => {query} # optional | |
- queryb => {queryb} # optional | |
- script_fields => {script_fields} # optional | |
- size => {size} # optional | |
- sort => {sort} # optional | |
- track_scores => {track_scores} # optional | |
- ignore_indices => missing | none # optional | |
- preference => _local | _primary | _primary_first | $string # optional | |
- routing => 'scalar' or ['scalar_1', 'scalar_n'] # optional | |
- scroll => '5m' | '10s' # optional | |
- search_type => dfs_query_then_fetch # optional | |
| dfs_query_and_fetch | |
| query_then_fetch | |
| query_and_fetch | |
| count | |
| scan | |
- stats => 'scalar' or ['scalar_1', 'scalar_n'] # optional | |
- timeout => '5m' | '10s' # optional | |
- version => 1 | 0 # optional | |
With vars:{ | |
'params' => { | |
'scroll' => '1m', | |
'index' => 'v0', | |
'fields' => [ | |
'name' | |
], | |
'type' => 'file', | |
'queryb' => { | |
'and' => [ | |
{ | |
'not' => { | |
'filter' => { | |
'or' => [ | |
{ | |
'term' => { | |
'file.distribution' => 'kurila' | |
} | |
}, | |
{ | |
'term' => { | |
'file.distribution' => 'perl_debug' | |
} | |
}, | |
{ | |
'term' => { | |
'file.distribution' => 'perl-5.005_02+apache1.3.3+modperl' | |
} | |
}, | |
{ | |
'term' => { | |
'file.distribution' => 'pod2texi' | |
} | |
}, | |
{ | |
'term' => { | |
'file.distribution' => 'perlbench' | |
} | |
}, | |
{ | |
'term' => { | |
'file.distribution' => 'spodcxx' | |
} | |
} | |
] | |
} | |
} | |
}, | |
{ | |
'term' => { | |
'status' => 'latest' | |
} | |
}, | |
{ | |
'or' => [ | |
{ | |
'missing' => { | |
'field' => 'file.authorized' | |
} | |
}, | |
{ | |
'term' => { | |
'file.authorized' => \1 | |
} | |
} | |
] | |
}, | |
{ | |
'or' => [ | |
{ | |
'and' => [ | |
{ | |
'exists' => { | |
'field' => 'file.module.name' | |
} | |
}, | |
{ | |
'term' => { | |
'file.module.indexed' => \1 | |
} | |
} | |
] | |
}, | |
{ | |
'and' => [ | |
{ | |
'exists' => { | |
'field' => 'documentation' | |
} | |
}, | |
{ | |
'term' => { | |
'file.indexed' => \1 | |
} | |
} | |
] | |
} | |
] | |
} | |
] | |
}, | |
'size' => 5000 | |
} | |
} | |
real 0m6.440s | |
user 0m0.996s | |
sys 0m1.048s | |
metacpan@debian:~/metacpan.org$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment