Re: Update documents cause multivalue fields unexpected behaviour

2019-05-07 Thread Shawn Heisey
On 5/7/2019 5:45 AM, Jie Luo wrote: For the fields that are set as stored true, query works fine, but for fields that are set as stored false, the query does not work after the documents are updated. SolrInputDocument solrInputDocument = new SolrInputDocument(); solrInputDocum

Re: Update documents cause multivalue fields unexpected behaviour

2019-05-07 Thread Jie Luo
Hi all, For the fields that are set as stored true, query works fine, but for fields that are set as stored false, the query does not work after the documents are updated. SolrInputDocument solrInputDocument = new SolrInputDocument(); solrInputDocument.addField(“id”,”somevalidI

Re: Update documents cause multivalue fields unexpected behaviour

2019-05-05 Thread Walter Underwood
We gather all the data for a document, then send it as one update to Solr. Actually, we create a JSON object for each document, then make a JSONL (one JSON object per line) feed of everything we want to send. That gets compressed and saved in Amazon S3. Then we break it into batches and send it

Re: Update documents cause multivalue fields unexpected behaviour

2019-05-04 Thread Jörn Franke
Hi, Are you using atomic updates for your documents ? If not then if you change one value it will override the whole document. Best regards > Am 04.05.2019 um 12:57 schrieb Jie Luo : > > Dear solr user, > > I have processes, first process is to build the SolrDocuments and indexes, > other pr