JavaScript Archives - Capture Club

Overriding the Query Pipeline, Pt III

When we last left our rogue query pipeline in Pt II, we had made our Solr query and had tucked the response into a JSON object.  This call was made from our “main” function, which is incidentally the last function — an anonymous function — declared at the end of your stage.  For example: function […]

kmcowan 3 May, 2018 0

Overriding the Query Pipeline in Lucidworks Fusion 3.x

One of the most common questions I come across when discussing a query pipeline solution would have to be this: “How do I alter or transform the final result set?” The short answer, in Fusion 3, is that you’re not able to modify that in a query pipeline, but that you would need a middle […]

kmcowan 2 May, 2018 1

Making Lucidworks Fusion Work For You: Custom Parsing and Index Pipelines

Out-of-the-box, Lucidworks Fusion® does a great many tasks remarkably well. Every now and then, however, you come across an issue that may take a little extra effort to index. What I’ll describe below, in this particular case, is a way to circumvent the Fusion parser and spin up your own custom PipelineDocument in an Index […]

kmcowan 26 April, 2018 0

Java and JavaScript, Living Together!

“Dogs and Cats, living together… mass hysteria!” One of the very interesting features of a JavaScript stage in Fusion (and of Java 8/Nashorn, in general) is the ability to intermingle the two languages. By way of example, I offer the following JavaScript stage. In this case, we’re pulling from an geolocation process, and creating a […]

kmcowan 16 April, 2018 0