Re: Remove operation of partial update doesn't work

2015-07-12 Thread Mohsen Saboorian
Solved as I updated to latest solr 5.2.1. I seems that solr 4.10 is buggy with partial remove operation. On Wed, Jul 8, 2015 at 8:44 PM, Mohsen Saboorian wrote: > Can you post your solrj code? > در تاریخ 8 ژوئیهٔ 2015 19:32، "Alessandro Benedetti" < > benedetti.ale...@gmail.com> نوشت: > >> I jus

Re: Remove operation of partial update doesn't work

2015-07-08 Thread Mohsen Saboorian
Can you post your solrj code? در تاریخ 8 ژوئیهٔ 2015 19:32، "Alessandro Benedetti" < benedetti.ale...@gmail.com> نوشت: > I just tried on my own, and it is working perfectly. > Stupid question, have you committed after your update? > > Cheers > > 2015-07-08 15:41 GMT+01:00 Mohsen Saboorian : > > >

Re: Remove operation of partial update doesn't work

2015-07-08 Thread Mohsen Saboorian
Yes I did. I use commitWithin to commit after a fixed timeout. Moreover my add operation works! در تاریخ 8 ژوئیهٔ 2015 19:32، "Alessandro Benedetti" < benedetti.ale...@gmail.com> نوشت: > I just tried on my own, and it is working perfectly. > Stupid question, have you committed after your update? >

Re: Remove operation of partial update doesn't work

2015-07-08 Thread Erick Erickson
Won June Tai: Please follow the instructions here: http://lucene.apache.org/solr/resources.html search for unsubscribe. You must use the _exact_ e-mail you used to subscribe. Also see the "problems" link if it doesn't work the first time. Best, Erick On Wed, Jul 8, 2015 at 8:03 AM, Won June Tai

Re: Remove operation of partial update doesn't work

2015-07-08 Thread Won June Tai
I’d like to unsubscribe please. > On Jul 8, 2015, at 11:01 AM, Alessandro Benedetti > wrote: > > I just tried on my own, and it is working perfectly. > Stupid question, have you committed after your update? > > Cheers > > 2015-07-08 15:41 GMT+01:00 Mohsen Saboorian : > >> ​ >> I use add and

Re: Remove operation of partial update doesn't work

2015-07-08 Thread Alessandro Benedetti
I just tried on my own, and it is working perfectly. Stupid question, have you committed after your update? Cheers 2015-07-08 15:41 GMT+01:00 Mohsen Saboorian : > ​ > I use add and remove both on a multivalue field (think of tags on a blog > post). For this, set null won't work because I want on

Re: Remove operation of partial update doesn't work

2015-07-08 Thread Mohsen Saboorian
​ I use add and remove both on a multivalue field (think of tags on a blog post). For this, set null won't work because I want only one value (tag) to be removed ​, ​ and set null neither remove one nor all of values (all tags here). So I use some ​S olr ​J code which would translate to something

Re: Remove operation of partial update doesn't work

2015-07-08 Thread Alessandro Benedetti
In this scenarios, Documentation is key : Modifier Usage set Set or replace the field value(s) with the specified value(s), or *remove the values if 'null' or empty list is specified as the new value.* May be specified as a single value, or as a list for multivalued fields add Adds the speci

Re: Remove operation of partial update doesn't work

2015-07-08 Thread Mohsen Saboorian
In my code when operation is "add" it works correctly on a multivalue field. But no multivalue field can be deleted with "remove" operation. The add operation adds a value to a multivaled field. The remove operation removes a value from a multivalued field. If you believe that something is not wor

Re: Remove operation of partial update doesn't work

2015-07-07 Thread Jack Krupansky
The add operation adds a value to a multivaled field. The remove operation removes a value from a multivalued field. If you believe that something is not working, please state clearly why you believe that something is not working. Start by describing the symptom. -- Jack Krupansky On Mon, Jul 6

Remove operation of partial update doesn't work

2015-07-06 Thread Mohsen Saboorian
I can partially 'add' fields to my Solr index, but 'remove' operation seems not working. I'm on Solr 4.10. Here is my SolrJ snippet: SolrInputDocument doc = new SolrInputDocument(); Map partialUpdate = new HashMap<>(); partialUpdate.put(operation, value); // val