-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix RRE export format #928
Comments
Just for reference, I had a go at implementing an rre import for rankquest studio. The implementation lives here in rankquest-core: It's pretty easy to add more features there or alternative formats. I based my implementation on the one example in the RRE repo that I was able to find: I'm happy to do some more work on this but it would help to get some better examples to work with. |
Other open questions is whether the rating should be an Int or a Double. I'm treating it as an Int so far. |
Here is the new format for RRE:
|
It's still a bit different from the format I linked above which has topics, query_groups, and then queries. Did you test the format with RRE? |
so i don't have topics, and i thought some of that was optional.. honestly, i haven't tested it casue it's been a while that i've used RRE.... |
so, i wonder if i should just support the direct rankquest format instead? |
depends, who else is using the export currently? |
I modeled my importer after the one sample I found in their repo. But of course it would be nice if that lines up with what people actually are using and expecting currently. Otherwise, I'm open to suggestions and in no way tied to the RRE format. |
Okay, I think the better route to go is to introduce a RankQuest format.. that way each can evolve as market demand drives it.. Do you have an example of a export file I can use? |
Here's an example: movie-quotes-rated-searches-2024-01-22T16 56 59.954Z.json You need a matching search plugin configuration that can handle the parameters. The parameter map (search context) is all strings. Comment and tag fields are optional. |
the label is optional too but it's nice to have some hint what the document is about. Usually the document title would be appropriate. |
size in the search context refers to how many results to fix, the rest is similar to the parameters in rre. |
Describe the bug
We export rre as:
But in talking to @jillesvangurp figured out that it should be...
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: