lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blopez <balo...@hotmail.com>
Subject PointType multivalued query
Date Thu, 15 Nov 2012 09:50:52 GMT
Hi all,

I'm using a multivalued PointType (6 dimensions) in my Solr schema. Imagine
that I have one doc indexed in Solr:

<doc>
      <field name="docId">-1</field>
      <field name="point">1,1,1,1,1,1</field>
      <field name="point">5,5,5,5,5,5</field>
</doc>

Now imagine that I launch some queries:

point:[0,0,0,0,0,0 TO 2,2,2,2,2,2]: Works OK (matches with the first doc
point and returns doc -1)
point:[4,4,4,4,4,4 TO 6,6,6,6,6,6]: Works OK (matches with the second doc
point and returns doc -1)

point:[4,0,0,0,0,0 TO 6,2,2,2,2,2]: Does not work. The first query point
matches with the second doc point, and the rest of query points matches with
the first doc point (returns doc -1, but it must NOT return any doc!). I
only want to retrieve docs which have a point that completely matches with
the query point.

I don't know if my problem is the PointType data type or bad behavior of the
multivalued items. What do you think about that?

Regards,
Borja.




--
View this message in context: http://lucene.472066.n3.nabble.com/PointType-multivalued-query-tp4020445.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message