See: Description
Class | Description |
---|---|
Hit |
The Hit class represents a document returned as a result of a query.
|
Query |
The Query class represents an inner form of a query or its subpart (AND, OR,
NOT, etc.), while the binary form is represented by
Runner . |
ResultList |
A ResultList is a collection of Hits.
|
Rider |
When a query needs an access to an index, it gets a Rider.
|
Runner |
The Runner object is the gateway between the user making a query and the
inverted lists created by the indexer.
|
This package contains objects that represent a structure of a query in our inner and binary form, readers of a barrel and a result queue.
Query is given by a parser, Rider must be constructed for a barrel which we will use for the searching phase. The Rider ensures, that just limited number of inverted lists will be open.
Now, we can attach a query to a rider via Query.attach method. The product, Runner, can be then executed via run method.
Copyright © 2016 Egothor. All Rights Reserved.