__init__.py 309 Bytes
Newer Older
Dos Santos David's avatar
Dos Santos David committed
1 2 3
from gogole.query.query import Query

from gogole.query.boolean_query import BooleanQuery
4
from gogole.query.vectorial_query import VectorialQuery
Dos Santos David's avatar
Dos Santos David committed
5 6 7 8 9

QUERY_TYPE_BOOLEAN = 'boolean'
QUERY_TYPE_VECTORIAL = 'vectorial'

QUERY_MAP = {
10 11
    QUERY_TYPE_BOOLEAN: BooleanQuery,
    QUERY_TYPE_VECTORIAL: VectorialQuery
Dos Santos David's avatar
Dos Santos David committed
12
}