Skip to content
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

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

fax4ever
Copy link
Contributor

@fax4ever fax4ever commented Apr 12, 2024

@github-actions github-actions bot added this to the 15.0.1.Final milestone Apr 12, 2024
@fax4ever fax4ever force-pushed the fix-toConvertedEntityJavaClass branch 2 times, most recently from 0735701 to 22b8154 Compare April 13, 2024 09:19
@fax4ever fax4ever changed the title ISPN-10957 Simplify indexed type filtering ISPN-10957 Support index/query by key for remote queries Apr 15, 2024
@fax4ever fax4ever force-pushed the fix-toConvertedEntityJavaClass branch from 3679ec5 to 86eaed5 Compare April 17, 2024 12:46
@fax4ever
Copy link
Contributor Author

Thank you @tristantarrant for the review. I added this commit to make the no index field provider caches as static instance again: 86eaed5.
If you have different implementation ideas, of course we can change it.

@tristantarrant
Copy link
Member

@fax4ever please also include documentation about this feature

@fax4ever
Copy link
Contributor Author

@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.
Copy link
Member

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.
Copy link
Member

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,
Copy link
Member

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..."

@pruivo pruivo modified the milestones: 15.0.2.Final, 15.0.3.Final Apr 20, 2024
@fax4ever fax4ever force-pushed the fix-toConvertedEntityJavaClass branch from e9dbc9d to 2c39f50 Compare April 20, 2024 15:36
@fax4ever
Copy link
Contributor Author

Thanks @tristantarrant. I applied the changes to the doc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants