Replies: 2 comments 3 replies
-
I don't understand the problem. The way result processing is currently done, there is no way to benefit in having multiple terms for the same category in the same stage. There is currently also no direct way to specify that you would want elements that are the most similar to all query elements specifically. Adding 'redundant' query terms would result in you receiving results that are similar to any of your terms, which you can then aggregate such that the ones that are similar to more of them are ranked higher. In fact, that is what the default aggregation would do. If you want to enforce the similarity to all your terms, you can indeed achieve this with stages, and since if is a hard filter, the ordering of them would not be important. Could you maybe give a more specific example of what you would want to express that would benefit from such 'redundancy'? |
Beta Was this translation helpful? Give feedback.
-
I'm completely fine with adding this. The reason it's currently implemented that way is because this was minimally invasive. The main change would be changing some maps to lists in the query-processing, I don't see any other complications. |
Beta Was this translation helpful? Give feedback.
-
Cineast currently does not allow multiple different query terms with the same feature category within the same query stage:
cineast/cineast-api/src/main/java/org/vitrivr/cineast/api/util/QueryUtil.java
Line 148 in e5587fc
I agree that it makes little sense in many cases, such as allowing multiple sketches with the same features for known item search tasks, but I also think, that it arbitrarily restricts query flexibility.
I understand that it is possible to work around this limitation by specifically engineering features to allow this on a per-feature basis, but I don't think this is a good solution.
For example, if I want to find the media item most similar to n other media items according to the same feature, I have the options to:
I am aware that the utility of allowing this heavily depends on the number of retrieved media items for each query term, however this is a separate issue, that affects the combination of any query terms within the same stage.
Beta Was this translation helpful? Give feedback.
All reactions