Re: Error while executing dynamic Lucene query

2020-04-07 Thread vas aj
Hi Dan, Thanks for the reply. I moved the Lucene query logic to Geode Function and now the query is working as expected. Regards, Aj On Tue, Apr 7, 2020 at 12:52 AM Dan Smith wrote: > Your custom query code does need to be on the server in order for this to > work. Specifically, this lambda is

Re: Error while executing dynamic Lucene query

2020-04-07 Thread Dan Smith
Great, glad to hear it! -Dan On Tue, Apr 7, 2020 at 10:01 AM vas aj wrote: > Hi Dan, > > Thanks for the reply. > I moved the Lucene query logic to Geode Function and now the query is > working as expected. > > Regards, > Aj > > On Tue, Apr 7, 2020 at 12:52 AM Dan Smith wrote: > >> Your custom

Re: Error while executing dynamic Lucene query

2020-04-06 Thread Dan Smith
Your custom query code does need to be on the server in order for this to work. Specifically, this lambda is your LuceneQueryProvider, which needs to be serializable in some way (Serializable, DataSerializable, etc.) and the code need to be on the server: index -> {

Re: Error while executing dynamic Lucene query

2020-04-06 Thread vas aj
Hi team, Do I need to write & deploy a custom Geode Function in order to run the dynamic Lucene query? Can I get some help, please? I need to somehow execute a dynamic lucene query on Geode cluster. I am able to run successfully a static lucene query using the standard Lucene's StandardQueryParse