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 JeyMichael
Date Mon, 15 Oct 2012 00:32:14 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 JeyMichael:
http://wiki.apache.org/solr/UpdateJSON?action=diff&rev1=10&rev2=11

  Note that we added "commit=true" to the URL so that the documents would be immediately searchable.
  
  You should now be able to query for the newly added documents:
- http://localhost:8983/solr/select?q=title:monsters&wt=json&indent=true
+ http://localhost:8983/solr/select?q=name:monsters&wt=json&indent=true
  {{{
  {
    "responseHeader":{
@@ -61, +61 @@

          "inStock":true,
          "price":6.49,
          "pages_i":304,
-         "title":[
+         "name":[
            "The Sea of Monsters"],
          "cat":["book","paperback"]}]
    }}

Mime
View raw message