Category Archives: csv

Fusion 3.1.0: How to Use The REST Query Index Pipeline Stage

Fusion 3.1, everybody! The following may or may not work on past, or future, versions of Fusion.

Don’t have it? Go get it!¬†Don’t make the cat do all the work.

Question: How do I use the Fusion REST Query index pipeline stage to add additional metadata to an inbound document?

Answer: This assumes the existence of a Solr collection with metadata and that Fusion knows of its existence (that means either use the default Solr cluster that runs within Fusion or make sure that the external Solr cluster you are using is registered with Fusion).

The basic steps:

  • create a collection to store the metadata and populate it the metadata of your choice
  • create a collection which will hold new enhanced content with additional metadata from the first collection
  • configure the index pipeline of the second collection to include the REST Query stage which will make a query to the first collection and add some content to the current inbound content of the second collection

Some detail:
Continue reading

LWS: Ingesting a CSV File (Part 2)

Need to ingest a CSV file into Solr and not sure how to do it? Have a seat my friend (have you seen part 1?).

Let me start by admitting that I do all of my examples using LucidWorks Search. That means that if you use a plain vanilla Solr installation I might ask you to do something or to find something that is not there (or against your moral code of ethics). Not a pretty picture. Continue reading