#223: Command-line usage of the search engine should be verbose.
------------------------+---------------------------------------------------
Reporter: bthiell | Owner:
Type: defect | Status: in_merge
Priority: major | Milestone:
Component: WebSearch | Version:
Resolution: | Keywords:
------------------------+---------------------------------------------------
Changes (by bthiell):
* status: new => in_merge
Comment:
Patch attached.
Before:
{{{
> In [2]: s.perform_request_search(p='Ellis', verbose=9)
> Out[2]: [8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 47]
}}}
After:
{{{
> In [4]: s.perform_request_search(p='Ellis', verbose=9)
Hosted collections (perform_request_search): there were no hosted
collections to be searched
Search stage 1: basic search units are: [['+', 'Ellis', '', 'w']]
Search stage 1: execution took 0.00 seconds.
Search stage 1: pattern Ellis gave hitlist intbitset([8, 9, 10, 11, 12,
..., 15, 16, 17, 18, 47])
Search stage 2: basic search unit ['Ellis', '', 'w'] gave 12 hits.
Search stage 2: execution took 0.01 seconds.
Search stage 3: boolean query gave 12 hits.
Search stage 3: execution took 0.00 seconds.
Search stage 4: intersecting with collection 'Atlantis Institute of
Fictive Science' gave 12 hits.
Search stage 4: execution took 0.01 seconds.
> Out[4]: [8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 47]
}}}
Pylint OK and unit/regression tests OK.
--
Ticket URL: <http://invenio-software.org/ticket/223#comment:1>
Invenio <http://invenio-software.org>