You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Erick Erickson (JIRA)" <ji...@apache.org> on 2017/05/18 15:05:04 UTC

[jira] [Created] (SOLR-10707) Point fields incorrectly matching fields

Erick Erickson created SOLR-10707:
-------------------------------------

             Summary: Point fields incorrectly matching fields
                 Key: SOLR-10707
                 URL: https://issues.apache.org/jira/browse/SOLR-10707
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
    Affects Versions: master (7.0)
            Reporter: Erick Erickson


Didn't see this on 6x, but didn't look specifically.

Indexing a doc with just a single field like this:

doc.addField("id", UUID.randomUUID().toString());
doc.addField("facet_i", 6850281131226296000L);
doc.addField("facet_d", 6850281131226296000L);

where "facet_i" is defined as:
  <field indexed="true" name="facet_i" stored="false" type="tlong" docValues="false" />

and "facet_d" is defined as:
  <field indexed="false" name="facet_d" stored="false" type="tlong" docValues="true"/>


Results in the document being returned as:

facet_pi: -28447040,
facet_pd: 6850281131226296000,
_version_: 1567746273059012600,
facet_d: 6850281131226296000

And (perhaps not curiously) unlike 6x that I was looking at yesterday this document is successfully found.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org