How to fetch current document(record) in overrided runAsDouble method?


(Shashanksheela) #1

I have created a custom plugin implementing scriptengineservice and overrided runAsDouble method.But facing problem in fetching current document.
I used below code :-
LeafDocLookup doc = lookup.getLeafSearchLookup(leafReaderContext).doc();
Exception:-IndexOutOfBounds exception

Is there any better way to fetch current LeafDocLookup??


(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.