lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Smiley <david.w.smi...@gmail.com>
Subject Re: Lucene GeoNear Search and Sort Performance
Date Mon, 17 Jul 2017 04:13:27 GMT
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 <scattamanchi@4info.com> wrote:

> 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: unexpected
> docvalues type NONE for field 'pointVector__x' (expected=NUMERIC). Use
> UninvertingReader or index with docvalues.
>         at org.apache.lucene.index.DocValues.checkField(DocValues.java:208)
>
>
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Lucene-GeoNear-Search-and-Sort-Performance-tp4343468p4346269.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
> --
Lucene/Solr Search Committer, Consultant, Developer, Author, Speaker
LinkedIn: http://linkedin.com/in/davidwsmiley | Book:
http://www.solrenterprisesearchserver.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message