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
ISPN-10957 Support index/query by key for remote queries #12281
base: main
Are you sure you want to change the base?
Conversation
0735701
to
22b8154
Compare
object-filter/src/main/java/org/infinispan/objectfilter/impl/syntax/IndexedFieldProvider.java
Show resolved
Hide resolved
3679ec5
to
86eaed5
Compare
Thank you @tristantarrant for the review. I added this commit to make the no index field provider caches as static instance again: 86eaed5. |
@fax4ever please also include documentation about this feature |
I tried to write it |
= Queries by keys | ||
|
||
If a key of a cache entry has an indexed type, it is possible to index the key fields as well the the value fields, | ||
so that also the formers could be used in the `Ickle` queries. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Former cannot be pluralized. Reword as:
Use indexed types as keys to query caches by key using Ickle.
|
||
[NOTE] | ||
==== | ||
This feature is at the moment available only with indexed remote queries. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This feature is currently only available with indexed remote queries.
|
||
If the value already has a property named `key`, the definition of the key entity could create a naming conflict | ||
with the properties. | ||
For this reason but also in general, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this part of the sentence and start it with "It is possible..."
e9dbc9d
to
2c39f50
Compare
Thanks @tristantarrant. I applied the changes to the doc. |
I think we need one for each generic type, since we cannot make static a generic instance.
2c39f50
to
33ba85a
Compare
https://issues.redhat.com/browse/ISPN-10957