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-13842 Infinispan indexing annotations #10125

Merged

Conversation

fax4ever
Copy link
Contributor

@fax4ever fax4ever commented May 16, 2022

@fax4ever
Copy link
Contributor Author

I'm going to rebase on top of the current master changes.

@karesti
Copy link
Contributor

karesti commented May 17, 2022

@fax4ever needs rebase

@fax4ever
Copy link
Contributor Author

@fax4ever needs rebase

Hi Katia. I'm doing it.

@tristantarrant
Copy link
Member

Be careful with adding the infinispan-api dependency to other modules: it requires JDK 11 (most of our stuff is JDK 8 compatible). I'd make it optional

@fax4ever fax4ever force-pushed the ISPN-13842-new-indexing-annotations branch from daa961d to 5b797b8 Compare May 17, 2022 10:50
@fax4ever
Copy link
Contributor Author

Be careful with adding the infinispan-api dependency to other modules: it requires JDK 11 (most of our stuff is JDK 8 compatible). I'd make it optional

I rebased, made some changes, but I still need to address well the optionality of the infinispan-api dependency.

String name;

@FullTextField
@Text
String surname;
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing line feed

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added a line feed at the very end of the file

@fax4ever fax4ever force-pushed the ISPN-13842-new-indexing-annotations branch 3 times, most recently from 72dd8f8 to de4caf9 Compare May 17, 2022 15:18
Keeping the adapting from old annotations to new index model bounded to search5 package, that will be a sort of ACL.
That are: norms, searchAnalyzer, termVector, includeDepth, structure.
For decimalScale, we need to support BigDecimal with ProtoStream first.
As we did for legacy annotations values
In order to use query modules without the api, we need to do something like we did for the micrometer dependency, trying to load the class...
@fax4ever fax4ever force-pushed the ISPN-13842-new-indexing-annotations branch from de4caf9 to 374e71c Compare May 17, 2022 18:00
@fax4ever
Copy link
Contributor Author

I've done with the changes. Let me know if we can improve this contribution further.

@tristantarrant tristantarrant merged commit c4de6a5 into infinispan:main May 18, 2022
@tristantarrant
Copy link
Member

Merged, thanks

@fax4ever
Copy link
Contributor Author

Thanks!

@fax4ever fax4ever deleted the ISPN-13842-new-indexing-annotations branch May 18, 2022 07:35
tristantarrant pushed a commit that referenced this pull request Jun 7, 2022
ISPN-13648 Use new annotations for embedded cases
* Make no reindex from derived entity
* Fix protobuf metadata on embedded
* Isolate legacy annotations access
* Make index field mapping following new index model
* Keeping the adapting from old annotations to new index model bounded to search5 package, that will be a sort of ACL.
* Support remotely new indexing annotations
* Support additional features introduced by the new annotations (norms, searchAnalyzer, termVector, includeDepth, structure). 
* Test on remote new indexing annotations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants