Package org.egothor.core.query

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.

See:
          Description

Class Summary
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.
 

Package org.egothor.core.query Description

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.

How this works?

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.