forked from crosswire/jsword
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Update lucene to version 8.11.2 #16
Merged
+386
−1,786
Merged
Changes from 26 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
8258128
Compiles
JJK96 41a8b6d
Uncleaned version that supports regex searching
JJK96 fbeaac7
For regex queries search in full non-canonical text, while for other …
JJK96 982ce80
Add switch for regex search type
JJK96 4239e9c
Make Regex search case insensitive
JJK96 4c92c9c
Fix Thai analyzer
JJK96 a06ecda
Fix Hebrew analyser
JJK96 c784ccc
Fix Arabic
JJK96 7c43cca
Fix Persian
JJK96 d7616bc
Remove local.properties
JJK96 02fa61f
Fix analyzer references
JJK96 54c73b6
Fix tests
JJK96 a4f26c2
Add local.properties to gitignore
JJK96 c3933c7
Add smartcn analyzer
JJK96 d26a312
Fix Chinese and Japanese
JJK96 f00f512
Fix French stemmer test
JJK96 f355696
Fix all tests
JJK96 d830c48
Removed AbstractBookAnalyzer
JJK96 25ceeb8
All tests compiling, but not completely working yet
JJK96 c588094
Update test, stemming has been implemented now
JJK96 069667a
Make stopwording optional but disabled by default
JJK96 dd6c939
Make code cleaner
JJK96 4aaf655
Restructured
JJK96 89d6f45
Remove print
JJK96 9e6da6d
Apply range query to regex queries as well. Fixes bug where regex que…
JJK96 c2a7da0
Invalidate old Lucene indices
JJK96 b2989d4
Code review fixes
tuomas2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,5 @@ rebel.xml | |
/.gradle/ | ||
/build/ | ||
atlassian-ide-plugin.xml | ||
.DS_Store | ||
local.properties |
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,18 @@ | ||
Functionality AbstractBookAnalyzer | ||
|
||
Add Book to analyzer | ||
Is this necessary | ||
It is used to automatically get the right language from the book | ||
Might be done a level higher, when selecting the right analyser | ||
Set DoStemming | ||
Stemming is done by default in language-specific analyzers | ||
Set DoStopWords | ||
Initializing with empty stopwords set should disable stopwording | ||
|
||
Why is createComponents necessary? | ||
I think to support optional stemming and stopwords | ||
Both jSword itself and and-bible nowhere use these options, except when initializing them to the defaults | ||
|
||
# TODO | ||
|
||
Fix deleted tests |
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
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -44,6 +44,7 @@ public interface Index { | |||||
* @throws BookException | ||||||
*/ | ||||||
Key find(String query) throws BookException; | ||||||
Key find(String query, boolean full_text) throws BookException; | ||||||
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.
Suggested change
|
||||||
|
||||||
/** | ||||||
* An index must be able to create KeyLists for users in a similar way to | ||||||
|
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
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.
this file should be deleted before merging, right?