seredkin / solrj-custom-json-update

Example code for indexing custom JSON in Apache Solr

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

solrj-custom-json-update

This repository contains example code that shows how to index custom JSON in Apache Solr using SolrJ.

This blog post by LucidWords shows how the JSON update handler works using curl: Indexing Custom Json Data.

IndexJSONTest contains two tests:

  • testAddCustomJsonWithContentStreamUpdateRequest - demonstrates how to use the built-in SolrJ classes to perform the update
  • testAddCustomJsonWithJSONUpdateRequest - demonstrates how to use a custom update request to perform the update

About

Example code for indexing custom JSON in Apache Solr

License:Apache License 2.0


Languages

Language:Java 100.0%