lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blopez <>
Subject Re: PointType multivalued query
Date Thu, 15 Nov 2012 22:29:24 GMT
Sorry I tried to explain it too fast.

Imagine the usecase that I wrote on the first post.

A document can have more than one 6-Dimensions point. So my first approach
   <field name="pk">1</field>
   <field name="docId>10</field>
   <field name="point>2,2,2,2,2,2</field>
   <field name="pk">2</field>
   <field name="docId>10</field>
   <field name="point>3,3,3,3,3,3</field>
   <field name="pk">3</field>
   <field name="docId>10</field>
   <field name="point>4,4,4,4,4,4</field>

It works fine and I don't think it gives us bad performance, but there are a
lot of redundant data (high disk space cost). That's why I thought about
multivalued fields:

   <field name="docId">10</field>
   <field name="point">2,2,2,2,2,2</field>
   <field name="point">3,3,3,3,3,3</field>
   <field name="point">4,4,4,4,4,4</field>
The first approach to implement this was PointType. But I have the problem
that I comment in my first message, the search queries will be a 6-Dimension
point that I have to full-match with the indexed points, and as far as I
know I cannot do it with PointType. 

With SpatialRecursivePrefixTreeFieldType would be perfect if I could use
more than two dimensions.


View this message in context:
Sent from the Solr - User mailing list archive at

View raw message