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 "Per Steffensen/Update semantics" by Per Steffensen
Date Mon, 05 Mar 2012 14:42:58 GMT
Dear Wiki user,

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

The "Per Steffensen/Update semantics" page has been changed by Per Steffensen:
http://wiki.apache.org/solr/Per%20Steffensen/Update%20semantics?action=diff&rev1=4&rev2=5

Comment:
Using it, except SolrJ

  #format wiki
  #language en
  = Update semantics =
+ 
+ <!> [[Solr4.0]] (I hope)
  
  Please note that the features describes here has not been committed yet.
  
@@ -30, +32 @@

  
  == Using it ==
  
- This section describes how to use the feature as a Solr client.
+ This section describes how to use the feature as a Solr client. Basically "semantics" has
been added as an [[UpdateXmlMessages#Optional_attributes_for_.22add.22|optinal attribute for
add]] and as a potential URL parameter.
  
  === Requirements ===
  
@@ -55, +57 @@

  }}}
  
  === HTTP requests ===
+ 
+ Add &semantics=XXXX, where XXXX is "semantics=db-insert", "semantics=db-update" or "semantics=db-update-version-control",
to you HTTP update requests.
+ 
+ ==== JSON ====
+ 
+ Add semantics field to your "add" JavaScript Objects (see more [[UpdateJSON|here]])
+ {{{#!json
+ {
+ "add": {
+   "semantics": XXXX
+ }
+ }
+ }}}
+ 
+ ==== XML ====
+ 
+ Add semantics attribute to your add tags (see more [[UpdateXMLMessages|here]])
+ {{{#!xml
+ <add semantics="XXXX">
+   ...
+ </add>
+ }}}
+ 
  === SolrJ ===
  

Mime
View raw message