*In scenario 1 *, I have created a repository using a node store created
using  RDBDocumentNodeStoreBuilder

public DocumentNodeStore createRDBStore(){String
jdbcurl="jdbc:postgresql://127.0.0.1:5432/SP05";String
user="postgres";String pw="manager";DataSource dataSource =
RDBDataSourceFactory.forJdbcUrl(jdbcurl, user, pw);

DocumentNodeStore store = new
RDBDocumentNodeStoreBuilder().newRDBDocumentNodeStoreBuilder()
   .setRDBConnection(dataSource).build();
return store;

}


*In scenario 2: i have created a repository by autowiring *NodeStore
*osgi service.*


*i have given both scenario 1 and scenario 2 code in previous mail.*


*major difference in scenario 1 and scenario 2 is , In scenario 2 i am
using nodestore osgi service.*


On Thu, Mar 5, 2020 at 5:20 PM Julian Reschke <[email protected]> wrote:

> On 05.03.2020 11:22, Sandeep Ambule wrote:
> > I am trying to implement Lucene index full-text search with OSGi RDB
> > document service, but it's not working,
> >
> > Lucene search working fine if I created repository like below,
> >
> > Scenario 1: searching working correctly
> > ...
>
> So you've got one scenario where it works, and one where it does not.
>
> Could you please summarize how these scenarios differ?
>
> Best regards, Julian
>

Reply via email to