-
Notifications
You must be signed in to change notification settings - Fork 748
SOLR-17023: Use Modern NLP Models via ONNX and Apache OpenNLP with Solr #1999
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
Open
epugh
wants to merge
42
commits into
apache:main
Choose a base branch
from
epugh:SOLR-17023
base: main
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
42 commits
Select commit
Hold shift + click to select a range
f19f660
first version w bats test
epugh 48fd37b
not positive I need this
epugh cecd4f6
new name, and OpenNLP is kind of a implmentation detail ;-).
epugh 10abbd0
baby steps, found that packagesstore blows up killing solr when i pos…
epugh dd4cc89
remove resolutionStraregy force from gradle build..
epugh af18d0c
match name in the underlying OpenNLP project. bikeshedding!
epugh 6950629
tidy
epugh 1adba22
reorder params
epugh bcbf16d
log formatting
epugh e634b1c
regenerate...
epugh 778e3f4
dynamically grab the models from hugging face.
epugh 405153b
use logging structure for stack traces
epugh 4e54090
download the correct jar, and document the work to remove this need i…
epugh 9e30c29
Upgrade to OpenNLP 2.3.1 and related dependencies.
epugh ef9364a
no longer need workarounds for gpu/cpu issues with updated OpenNLP.
epugh 08b3de8
Merge remote-tracking branch 'upstream/main' into SOLR-17023
epugh 2c106e9
We cleaned up the name ;-)
epugh 8112229
Merge branch 'main' into SOLR-17023
epugh 8d6187f
prompted to update the locks
epugh 50887bb
Add in required license files
epugh a31ef8e
lint
epugh 4b7528a
precommit warning
epugh 3a760da
Merge remote-tracking branch 'origin/main' into SOLR-17023
cpoerschke bdee568
upgrade OpenNLP from 2.3.1 to 2.3.2 (to match Lucene main branch)
cpoerschke 541dceb
tentative: minimum Java17 for this PR
cpoerschke 633391e
Update gradle-precommit.yml - Java 11 --> 17
cpoerschke e2fe1fe
Update solrj-test.yml - Java 11 --> 17
cpoerschke 855b5ea
Update docker-test.yml - Java 11 --> 17
cpoerschke 9c16a8b
Update bin-solr-test.yml - Java 11 --> 17
cpoerschke 476a7d4
undo 'tentative: minimum Java17 for this PR' -- see PR 1510 instead
cpoerschke 86dd0aa
Merge remote-tracking branch 'upstream/main' into SOLR-17023
epugh 8bffd15
Migrate to new way of specifying dependency versions
epugh f374b4a
New home for FILESTORE_DIRECTORY constant
epugh 36fbb39
lint
epugh c623363
Add Onnx to list of dependencies
epugh 354653d
Update test for recent Solr changes.
epugh e61296f
Satisfy linking warning
epugh 85d6e16
Merge remote-tracking branch 'upstream/main' into SOLR-17023
epugh 84905fe
Update for latest file pattern
epugh dd274ff
Merge remote-tracking branch 'upstream/main' into SOLR-17023
epugh a93b5db
Update to latest OpenNLP, also used by Lucene.
epugh 74e0132
One more dependency declaration.
epugh 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 hidden or 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 hidden or 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 hidden or 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 @@ | ||
43ee677ed42fbe2693e2e052307d48df754d74cf |
This file contains hidden or 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,21 @@ | ||
MIT License | ||
|
||
Copyright (c) Microsoft Corporation | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
Oops, something went wrong.
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.
Looking up https://github.com/microsoft/onnxruntime/blob/v1.15.0/LICENSE here I noticed there's a 1.15.1 and 1.16.x now too, wondering about 1.15.0 vs. the later ones then.
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.
part-answering own question: OpenNLP 2.3.1 uses onnxruntime 1.15.0 - https://github.com/apache/opennlp/blame/opennlp-2.3.1/pom.xml#L176
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.
I think we don't specify the version of onnx, so maybe we poke them to update?
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.
Next opennlp will have 1.16.3 (or higher)