Hi Hue Team!
I’m playing around with Solr Search in Hue 3.11 on top of CDH-5.10(parcels).
AFAIK I can’t create new field during indexing so I did a custom Solr query to calculate required values.
I see “query definitions” button in right upper corner in hue search dashboard – can I use it to add my custom Solr’s query? If yes – how?
If no – is there a way to make my calculated values available during dashboard’s creation?
The query I use:
It seems I was wrong: mentioned "query definition" simply saves current dashboard filtering.
What I need is a way to inject a new value/field obtained from a custom solr query executed outside hue.
I have a database with fueling statistics and there is no existing field with average fuel consumption. I have everything I need to calculate it using provided solr query. Now I try to inject it somehow to hue's search index/dashboard.
The question is: does hue support something like this?
Let me clarify a bit more my situation:
I've a database with fuel consumption statistic which I can index without problems using new indexer.
I've tried to add a new field based on simple calculation of two existing fields during the indexing but I didn't find an option to do that.
So I've created a Solr query (directly in Solr GUI) which calculates required field (fuel consumption):
Now I want to be able to use it somehow in hue search dashboard (for fuel consumption graph for example).
Can I visualize something that is not directly in index in hue search dashboard?