This will be a short one. At least the cat hopes so.
The question of how to change a date from something like 2020-04-01 into something less foolish (like 2020-04) came up recently and I couldn’t help but feel the pull of a simplistic solution (simple as well, but simplistic was the draw). This is something that is applicable to numerous scenarios where a string and its composite parts might be better off being rearranged (kind of like kaleidoscope without all the colors).
As Fusion 4 is available I will be using that for this example. Continue reading
Yes, my example is going to be trivial.
No, the cat is not happy with that.
Yes, I am doing it anyway.
With the advent of Solr 6.5 we have (drum roll, please) multi-term synonym support! Yes! Do that happy dance, but remember not to scuff up the floor too much.
Let’s run through a trivial example to show it off. Continue reading
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