Hi all, I’ve got my UBIComponent that tracks what doc id’s a user is seeing working great in a single node situation. The logic runs as part of the public void process(ResponseBuilder rb) method: [1]
The component requires that the documents to be returned have been added to the ResponseBuilder already, and so in a distributed path with the distributedProcess() [2] call I keep getting errors that they haven’t been populated… java.lang.NullPointerException: Cannot read field "docList" because the return value of "org.apache.solr.handler.component.ResponseBuilder.getResults()" is null at org.apache.solr.handler.component.UBIComponent.doStuff(UBIComponent.java:315) ~[?:?] at org.apache.solr.handler.component.UBIComponent.distributedProcess(UBIComponent.java:252) ~[?:?] at org.apache.solr.handler.component.SearchHandler.processComponents(SearchHandler.java:552) ~[?:?] I am looking for some examples of where components have done something with the docs before returning them to the user to get some insights into how to get this working! Any pointers? Eric [1] https://github.com/apache/solr/pull/2452/files#diff-ed00c3d8a9826a7228746319ebb61c8a4a6a2b29f25676d0cd1a37768d55ef7a [2] https://github.com/apache/solr/pull/2452/files#diff-ed00c3d8a9826a7228746319ebb61c8a4a6a2b29f25676d0cd1a37768d55ef7a _______________________ Eric Pugh | Founder | OpenSource Connections, LLC | 434.466.1467 | http://www.opensourceconnections.com <http://www.opensourceconnections.com/> | My Free/Busy <http://tinyurl.com/eric-cal> Co-Author: Apache Solr Enterprise Search Server, 3rd Ed <https://www.packtpub.com/big-data-and-business-intelligence/apache-solr-enterprise-search-server-third-edition-raw> This e-mail and all contents, including attachments, is considered to be Company Confidential unless explicitly stated otherwise, regardless of whether attachments are marked as such.