Hi David,
Sorry I didn't inform my current environment setup. I am on Apache Lucene
5.5.4 version(As our application is still running on JDK 1.7).
In that version, I only see one constructor for PointVectorStrategy class
public PointVectorStrategy(com.spatial4j.core.context.SpatialContext c
As I mentioned that PointVectorStrategy has an argument that accepts a
Lucene FieldType that you can add docValues to.
On Sun, Jul 16, 2017 at 2:07 PM sc wrote:
> Thanks for the suggestion.
>
> I changed the strategy to
>
> this.strategy = new PointVectorStrategy(ctx, "pointVector");
>
> And the
Thanks for the suggestion.
I changed the strategy to
this.strategy = new PointVectorStrategy(ctx, "pointVector");
And the rest of the code remained same. I recreated the Index and while
searching I am getting following Exception:
Exception in thread "main" java.lang.IllegalStateException: une
On Sat, Jul 15, 2017 at 8:12 PM, Uwe Schindler wrote:
> That is the "Solr" answer. But it is slow like hell.
>
> In Lucene there is a natove query named FieldValueQuery already for this.
> It requires DocValues enabled for the field.
>
> IMHO, the best and fastest variant (also to Solr users) is t