I'm messing around with a MemoryIndex and am indexing a field of type Long.
>From everything I can tell, this should be added into a Document as type
org.apache.lucene.document.LongPoint. However, when I try to match it with
a query of form "a_i:1" it doesn't match.
For example, full document is
{
a_s:"hello1",
a_i:1
}
with Query object created from
"a_i:1"
the return in call to
index.search(query)
is 0 (ie, a non-match)
The only thing I can think of is that the document field should actually be
something else, or that the creation of a Query object from "a_i:1" isn't
going to match a LongPoint value.
Thanks!