I've got data in my Algolia index and Firebase Database that are stored as presented in the first image.
enter image description here
There is a parent exercise (in this case "Chest Press") which has two variation factors ("type" and "variation"). When a user searches for an exercise, I would like the data to be presented as shown in the second image.
enter image description here
Is this possible using my current database structure? Any help would be greatly appreciated.
Thanks
I would flatten this out in your index so that each exercise/variation is a unique record. This will aid Algolia indexing and speed up search.
Related
Im using apex 22.2 And with it comes a new feature, the search page, with its search configurations attached, I am implementing this into a project and having trouble using the link function as I would like, the desired result is that after searching for something that comes up in the search configuration it grabs the primary key in this case 'project_ID' and it inputs it into the 'proyect_Id' field in my target page which takes you to the correct page instead of the generic template page with no data. I understand how to do this in any other type of link but with search configurations I can't find any items that bring up what I just searched/selected from the search If anyone knows the way to do this or a workaround that helps my case it'd be much appreciated!
Ive tried browsing the items that i can set as value, using various &PRIMARY_KEY AND &PROJECT_ID type values and setting the value into an item but none of them have worked. i also cant find much info in this
Using &PROJECT_ID. with a dot at the end as the Value in the Link dialog should work to select the selected project.
This formula below does extract the file ID and yields the correct image url. Now, how to fetch the correct url to extract that ID from by verifying a key using VLOOKUP() maybe?
I've seen that REGEXEXTRACT() requires JOIN() and could this be the reason why it doesn't work?
Current formula doesn't populate the rows, but only the one it's sitting in:
=arrayformula(iferror(image("https://drive.google.com/uc?export=view&id="®exextract(VLOOKUP($F$3:$F$100,$I:$I,2,0),"d/(.+)/view")),""))
Here's a file for tests, if you feel like operating.
Thank you!
Your formula is working! Just change $I:$I with $I:$J.
You need to put the whole range including the column to look at and the column with the results.
I want to do a data table in kibana like the following:
see image
That means, the 2 first columns are the sum of price and quantity and the 3rd column divides both sums to get a ratio.
Also I want this to be dynamic to changes in time range.
As far as I've seen getting the ratio is not possible in kibana, but I've noticed that there is a plugin were you can create Vega-Lite graphs in kibana.
I am new both in Vega-Lite and in kibana, so is there an example of code that creates a data table?
The Vega-Lite site did not help me a lot...
Thank you!
I believe you could add a scripted field to calculate this ratio and then u can have the column you want :D
https://www.elastic.co/guide/en/kibana/current/scripted-fields.html
I have used the LireSolr and indexed around a 1000 images. Now i try to obtain a similar image from google, that is, if there is a black bag in the indexed data I get a black bag and I try to obtain histograms using above flow and for JCD, ColorLayout, PHOG and Edge Histogram but the results are irrelevant and the result changes everytime. On searching the same image as the indexed one also different result images as returned. Anyone encountered the same problem before?
Thanks for the help in advance..!!!
Well I found the answer, the query should be like this:-
http://localhost:8983/solr/ImageMatch/select?q={!cache=false}:&sort=lirefunc(eh,"gICEkYGwg6CAgJOAg7GgwqCRsYDAgIGCgKCAg4GAkYOQwICEkYOTgA==")+asc
Lirefunc is the function query and {!cache=false} disables the cache. This is necessary, otherwise even if we try to change the query feature in lirefunc the output results will be picked uo from the cache.
After performing a product evaluation by one of the managers other can change the scoring for certain categories. This changes in scoring are stored in the database for reference.
The structure of the evaluation is like this:
Evaluatoin
- Category
- Scoring point
an evaluation can have many categories which all can have many scoring points.
My problem is the following:
If I change a scoring point a few times all is entered in the database but in the reports i am only seeing the first scoring point. The rest of them with the same name are left blank but are using space just as it would if all were visible. The stored procedure that is delivering the data is working fine. It bring all data to the report which then displayes it wrong.
=Fields.CategoryName is working fine... every category name is displayed correctly
=Fields.ScoringPointName is not working... it displayes only the first and leavese all the rest blank... if for example a scoring point name is Product robustnes it would display only the first change of scoring but wouldnt display the rest
Any ideas???
Found out what the problem was. Maybe it will be helpful for other people
I was showing the data in a group header section with grouping =Fields.DefinitionText. Thus it will only repeat if the Fields.DefinitionText is distinct. About the empty space it's caused by the detail section that repeats for every data record. Thus if I want to display all of the data records I have to move the group header section textboxes to the report's detail section.
Here and Here are some usefull things about reporting.
Cheers