You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the documents are ruby hashes why convert it to XML, wouldn't be easier to convert to JSON?
Also, with this conversion is impossible to add nested documents. Using JSON, nested documents are added to "_childDocuments" field and Solr processes them automatically. With XML it's necessary to create a new doc and embed it into the parent.
The text was updated successfully, but these errors were encountered:
@vruizext RSolr 2.0.0.pre1 now uses JSON by default (with support for _childDocuments_ and atomic updates). It's not quite as easy as Hash#to_json, but certainly better than building XML documents.
If the documents are ruby hashes why convert it to XML, wouldn't be easier to convert to JSON?
Also, with this conversion is impossible to add nested documents. Using JSON, nested documents are added to "_childDocuments" field and Solr processes them automatically. With XML it's necessary to create a new doc and embed it into the parent.
The text was updated successfully, but these errors were encountered: