I've found the problem. It appears the Analyzer I'm using is not
appropriate for numeric values. This results in a Query object of the wrong
type. Whereas when querying point values the type PointRangeQuery should be
used but a TermQuery is created instead. If I directly create a
PointRangeQuery wi
Thank you. This isn't a situation where I have access to a schema so I
don't think I can make use of the FieldType methods. I'm implementing a
Match stream as part of the streaming api (our discussion in
https://issues.apache.org/jira/browse/SOLR-8530).
An arbitrary tuple can come in with calculat
LongPoint uses the Points API. If you are using a Solr QParserPlugin, it's not
going to use that API. Assuming you're in Solr land, I think you should be
using utility methods on FieldType (lookup from schema) which can create the
Field instances to be put on the document.
~ David
> On Jan 2,
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
{