[
https://issues.apache.org/jira/browse/SOLR-17583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17904911#comment-17904911
]
ASF subversion and git services commented on SOLR-17583:
--------------------------------------------------------
Commit 57eabb5a809abb1172c5ccad560a3dcdd109b2ce in solr's branch
refs/heads/main from cfeldmann
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=57eabb5a809 ]
SOLR-17583: Bring back documentation for Adding Custom Expressions (#2903)
The section for adding Custom Expressions was removed in Solr 8.8. This change
brings it back.
Co-authored-by: Christine Feldmann <[email protected]>
> Bring back documentation for Adding Custom Expressions
> ------------------------------------------------------
>
> Key: SOLR-17583
> URL: https://issues.apache.org/jira/browse/SOLR-17583
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Components: documentation
> Affects Versions: 9.7
> Reporter: cfeldmann
> Priority: Major
> Labels: newdev, pull-request-available
> Time Spent: 40m
> Remaining Estimate: 0h
>
> A change was pushed to do a major revision of the Streaming Expressions guide
> almost 4 years ago in version 8.8: SOLR-13105 A visual guide to Solr Math
> Expressions and Streaming Expressions
>
> In this change, the following section was removed:
>
> {quote}Adding Custom Expressions
> Creating your own custom expressions can be easily done by implementing the
> [Expressible|https://lucene.apache.org/solr/8_5_0/solr-solrj/org/apache/solr/client/solrj/io/stream/expr/Expressible.html]
> interface. To add a custom expression to the list of known mappings for the
> /stream and /graph handlers, you just need to declare it as a plugin in
> solrconfig.xml via:
> <expressible name="custom" class="org.example.CustomStreamingExpression"/>
> {quote}
>
> There was no mention of deprecating the feature or removing this section.
> Given the massive size of the diff, it looks to be an inadvertent removal.
>
> The feature works. There’s no deprecation of this feature mentioned in any
> of the Solr docs since it was removed from the guide without explanation.
> The code itself is not deprecated.
>
> The Config API doc still includes
> add-expressible/update-expressible/delete-expressible
>
> Since the feature still works, has not been deprecated and seems to have been
> accidently removed from the documentation, let's bring this section back.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]