Hi i have doubt.
Considering i want search a document field 'a' in a range. The same problem
is also if i search for a exact point.
I know that it is possible a document containing either a property 'a' with
type Integer either with type Long. For example document 1 contains {a:5}
where 5 is int, document 2 is {a:100} is long.

How to search all documents in range [4,101].

The right query is
 IntPoint.rangequery(a,4,101) or LongPoint.rangequery(a,4,101) ?

The question is more generic: every type has its algorithm for matching so
i thought theoretically
it is possible in the while i search a string 'hi' i find also a document
 with a property with type not string because it contains the same ByteRef?

Reply via email to