lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Bergmann <RBERGM...@colsa.com>
Subject Partial Field Update "removeregex" Command
Date Wed, 07 Dec 2016 18:31:27 GMT
Hello,

I am new to this and have found no examples or guidance on how to use "removeregex" to remove
(in my case) all entries in a multi-valued field.

The following curl commands work just fine:

curl . . . -d '[{"id":"docId","someField":{"add",["val1","val2"]}}]'

and

curl . . . -d '[{"id":"docId","someField":{"remove",["val1","val2"]}}]'


None of the following have any effect, however:

curl . . . -d '[{"id":"docId","someField":{"removeregex","val1"}}]'

curl . . . -d '[{"id":"docId","someField":{"removeregex",".*"}}]'


I appreciate your help and hope your answer makes it out on the cloud somewhere so others
can find the solution.

Regards,

Rich Bergmann

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message