lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Au (JIRA)" <>
Subject [jira] Commented: (SOLR-352) UpdateRequest is duplicating commit and optimize requests
Date Tue, 11 Sep 2007 14:14:32 GMT


Bill Au commented on SOLR-352:

Thanks Ryan.  I got it to work but I have to add


Otherwise, a got an exception from Solr:

org.apache.solr.common.SolrException: unsupported param combo:add:,allowDups=false,overwritePending=false,overwriteCommitted=false

unsupported param combo:add:,allowDups=false,overwritePending=false,overwriteCommitted=false


So it looks like the combination of default values of allowDups, overwriteCommitted, and overwritePending
(all false) in UpdateRequest is not supported by Solr.  Should we change the default to something
that is supported (setting overwirte to true)?  I can open a separate bug and take care of

> UpdateRequest is duplicating commit and optimize requests
> ---------------------------------------------------------
>                 Key: SOLR-352
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>          Components: clients - java
>    Affects Versions: 1.3
>            Reporter: Bill Au
>            Assignee: Bill Au
>            Priority: Minor
>         Attachments: solr-352.patch, solr-352.patch
> UpdateRequest current sets both query args and a update XML message in the POST body.
 This causes Solr to do two commit/optimize for each commit/optimize request sent in by SolrJ.
 I will be attaching a patch to remove the commit/optimize query args.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message