-
Notifications
You must be signed in to change notification settings - Fork 236
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
Feature improve excerpt iterator #2304
base: integration
Are you sure you want to change the base?
Conversation
f56d550
to
7327e3d
Compare
warehouse/query-core/src/main/java/datawave/query/iterator/logic/WordsAndScores.java
Show resolved
Hide resolved
warehouse/query-core/src/main/java/datawave/query/transformer/ExcerptTransform.java
Outdated
Show resolved
Hide resolved
1c16d03
to
b9c0bd9
Compare
warehouse/query-core/src/main/java/datawave/query/iterator/logic/WordsAndScores.java
Show resolved
Hide resolved
2748049
to
b00394a
Compare
216f3c5
to
f832805
Compare
219b1e1
to
2f1f8b2
Compare
d9b6f68
to
f25999b
Compare
141dd68
to
1a90a71
Compare
b165000
to
38ac57d
Compare
1a13f6f
to
8ee0f26
Compare
8da2efd
to
592611a
Compare
611153a
to
c8692f8
Compare
* @param start | ||
* the index in the array where we want to start setting values to null at | ||
*/ | ||
private void trimBeginning(String[] termsToOutput, int beforeIndex, float start) { |
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.
Should start
be int
rather than float
?
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.
possibly. I don't remember why I made it a float in the first place. Just have to cast the computation for "start" to an int to get everything to compile still.
* @param start | ||
* the index in the array where we want to start setting values to null at | ||
*/ | ||
private void trimEnd(String[] termsToOutput, int afterIndex, float start) { |
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.
Should start
be int
rather than float
?
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.
possibly. I don't remember why I made it a float in the first place. Just have to cast the computation for "start" to an int to get everything to compile still.
f9eb209
to
b718ef3
Compare
documentation pt1 format documentation pt2 format set retry to 0 and add log for testing wordsandscores test testing format fix documentation and add new method more tests, fix edge case, documentation test, log, tostring more methods, more tests add getArrSize pass skips on end of cq squash me squash me working except for excerptTest fix test squash me fix before/after method not cq upgrade retry change start offset logic quicker fail and retry make scores output more user readable change output score to 0-1 brackets around whole phrase and add override scores, no scores, onebest excerpt clean and test ln for score and fix skippedword return one best eps fix remove google.sets from excerpt test fix brackets around all phrases in excerpts clean
b718ef3
to
8958c0e
Compare
8958c0e
to
10bbe6a
Compare
No description provided.