-
-
Notifications
You must be signed in to change notification settings - Fork 45
Improve custom analyzer config #706
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
Improve custom analyzer config #706
Conversation
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 needs some explication. the difference between String
and String[ ]
is far from self-evident.
the prose mentions javadocs but lacks a link, its also ambiguous if refers to the javadoc of Lucene 4
which might not be easy to find anymore, or exist-db 5.4.0
which similarly are hard to find in a publicly available location.
also please resolve the conflict, needs a rebase
851bb04
to
eba9f14
Compare
I would like to see an example for at least one of the new types added to the documentation. |
@line-o Here you go: <analyzer class="com.evolvedbinary.lucene.analyzer.PLMultiAnalyzer">
<param name="minimumTermLength" type="int" value="2" />
<param name="punctuationDictionary" type="java.lang.char[]">
<value>'</value>
<value>-</value>
<value>’</value>
</param>
<analyzer> |
@adamretter |
@adamretter My original request was also to add the example as a listing to the documentation for others to be able to see how to use that feature. |
Sorry that wasn't clear at all @line-o . Also that analyser above is private so I don't think it makes sense as an example in the docs. We don't have a public analyser that takes such arguments. |
To describe an interface you do not need to publish the implementation. Additional argument types are useless until it is documented how to declare them in the index configuration. I see you edited your example to now pass in
|
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.
Please correct the types in the keyword list.
487fd72
to
e631e1c
Compare
@duncdrum Are there still outstanding changes you're requesting? If not, could you mark this as approved? |
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.
According to the commit messages @adamretter addressed @duncdrum's concerns, and @duncdrum has had over a month to raise objections, so I will override the block and merge. |
Counterpart to eXist-db/exist#4082.