-
Notifications
You must be signed in to change notification settings - Fork 63
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
[hibernate-search] Introduce Hibernate Search framework and implement indexing page #6218
Open
matthias-ronge
wants to merge
30
commits into
kitodo:hibernate-search
Choose a base branch
from
matthias-ronge:5760_2a+b
base: hibernate-search
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
f94697a
Add HibernateSearch dependencies to DataManagement module
solth 43dbc44
Declare Hibernate Search version in root POM, and bump to 6.2.4.Final
matthias-ronge 10ebf2f
Add HibernateSearch annotations to base indexed classes
solth adcd4a1
Add index names, add 'Indexed' annotation
solth d1a5c97
Add annotations for complex fields
solth e8c841a
Add annotations for Docket, Filter, Ruleset and Workflow
solth 6c28a24
Show the indexing page if the search server is available
matthias-ronge 40e5249
Remove Create Mapping and Delete Index buttons (henceforth implied)
matthias-ronge e97eba0
Remove button to index remaining - not supported by Hibernate Search
matthias-ronge 26280cf
Index all objects of given 'objectType' with massIndexer
IkramMaalej faeed43
Re-implement indexing page
matthias-ronge 40ef313
Fix checkstyle
matthias-ronge 11bcf85
Improve wording, add Javadoc
matthias-ronge caf4bae
Don't show a total of 0 objects when starting indexing
matthias-ronge 5b2e0ef
Returns result processing to the calling class
matthias-ronge d6ae013
Remove test for mapping - created transparently
matthias-ronge 24a2005
Set number of database objects
matthias-ronge 5fa7f85
Add template count
matthias-ronge 732997c
Bring OpenSearch background instance for tests
matthias-ronge ea5f0e3
Add MockDatabase index to Kitodo - DataManagement
matthias-ronge 6c0eecc
Fix test
matthias-ronge 5fa2d88
Increase timeout (slow laptop)
matthias-ronge 60bcacf
Fix problems
matthias-ronge d97ac6a
Fix search for ID
matthias-ronge 9c20c89
Log all queries
matthias-ronge 0c8374c
Add missing file for tests
matthias-ronge afd9ae8
Fix tests
matthias-ronge 3369fa3
Add Hibernate Search config file to Selenium resources
matthias-ronge 963e1c7
Remove unused imports
matthias-ronge c1bbea7
Add tasks to processes to enable sorting by sortHelperStatus
matthias-ronge File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
hibernate.search.enabled=true | ||
hibernate.search.backend.hosts=localhost:9200 | ||
hibernate.search.backend.protocol=http | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is an |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Question must this content not be added to the existing
hibernate.cfg.xml
file or did we need two configuration files?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.
As I understand it, this is the configuration file for the Hibernate Search framework. I would be surprised if we could mix the two configurations.
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.
Does this mean, that everyone must run ElasticSearch / Opensearch on localhost and port 9200? If so I'm unable to do this in my development system nor on a productive environment.