lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Musil (JIRA)" <>
Subject [jira] [Created] (SOLR-4639) Payloads are not stored properly
Date Sat, 23 Mar 2013 13:25:15 GMT
Jim Musil created SOLR-4639:

             Summary: Payloads are not stored properly
                 Key: SOLR-4639
             Project: Solr
          Issue Type: Bug
          Components: contrib - DataImportHandler, update
    Affects Versions: 4.2, 4.1
         Environment: Linux ip-10-158-33-32 #1 SMP Fri Feb 15 12:34:28 EST
2008 x86_64 x86_64 x86_64 GNU/Linux

            Reporter: Jim Musil
            Priority: Critical

I'm seeing erratic behavior when attaching payloads to terms since 4.1. This seems to coincide
with a change in how payloads were stored within Lucene.

I have a simple dynamic field *_ap that processes the field as a payload field type as defined
in the standard schema.xml.

Using the update handler, if I send up the following documents:


The payload of "50" for term bar is used for BOTH documents.

Additionally, if I upload the following:

 [{"id":"1","foo_ap":"bar|50 bar|75 bar|100"}}]

The payload of 50 is used in all three cases. I've verified this by creating a custom CountPayloadFunction
and SumPayloadFunction which shows that there are indeed 3 payloads but the sum is 150.

I've verified that everything works great in 4.0.

There's some info about the core lucene change here:

I use payloads extensively, so this is a real blocker for me.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message