lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Update of "UpdateJSON" by JanHoydahl
Date Fri, 03 Feb 2012 10:38:54 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "UpdateJSON" page has been changed by JanHoydahl:
http://wiki.apache.org/solr/UpdateJSON?action=diff&rev1=6&rev2=7

Comment:
CommitWithin example for JSON delete

  "commit": {},
  "optimize": { "waitFlush":false, "waitSearcher":false },
  
- "delete": { "id":"ID" },         /* delete by ID */
+ "delete": { "id":"ID" },                               /* delete by ID */
- "delete": { "query":"QUERY" }    /* delete by query */
+ "delete": { "query":"QUERY" }                          /* delete by query */
+ "delete": { "query":"QUERY", 'commitWithin':'500' }    /* delete by query, commit within
500ms */
  }
  }}}
  

Mime
View raw message