[ 
https://issues.apache.org/jira/browse/GEODE-5543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Blake Bender resolved GEODE-5543.
---------------------------------
    Resolution: Won't Fix

This support isn't going to rise to the level of a fix or enhancement for a 
very long time, if ever.  Resolving/closing for now to keep the bug database 
tidy.  If Lucene ever becomes important enough for us to need this, it'll come 
up again in planning and we'll create a new issue.

> LuceneQueryFactory API for Geode Native (C++ & C#)
> --------------------------------------------------
>
>                 Key: GEODE-5543
>                 URL: https://issues.apache.org/jira/browse/GEODE-5543
>             Project: Geode
>          Issue Type: New Feature
>          Components: native client
>            Reporter: Addison
>            Priority: Major
>
> Currently, Geode Native does not have the ability to call Lucene indexes 
> directly.  The aim of this story is to provide an API similar to the remote 
> query service that allows users to make queries against Lucene indices.
> The Java client exposes a Lucene query service and factory method.
> {code:java}
> LuceneService lucene = LuceneServiceProvider.get(cache);
> LuceneQuery<Integer, EmployeeData> query = 
> lucene.createLuceneQueryFactory().create(SIMPLE_INDEX, EXAMPLE_REGION, 
> "firstName:Chris~2", "firstname");
> result = query.findValues());{code}
> Geode Native should do something similar to the remote query service.  For 
> example:
> C++
> {code:java}
> std::shared_ptr<LuceneService> luceneService = nullptr;
> luceneService = pool->getLuceneService();
> LuceneFactory lf = luceneService::createLuceneQueryFactory();
> auto query = lf.create(SIMPLE_INDEX, EXAMPLE_REGION, "firstName:Chris~2", 
> "firstname");
> auto results = query->findValues(); {code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to