Any updates on this? On Mon, Mar 9, 2020, 12:24 PM Sandeep Ambule <sandyamb...@gmail.com> wrote:
> >So, this is not about RDB, but about using the DocumentNodeStoreService > or not, right? > > Yes, This is not about RDB ,Its about using osgi service, here i am using > DocumentNodeStoreService. > > In scenario 2: i have injected datascource,and Using DocumentNodeStoreService > created repository . > i can store data and create index but not able to do full text search. > > In scenario 1: i have created DocumentNodeStre created dataSource using > RDBDataSourceFactory and created DocumentNodeStore using > RDBDocumentNodeStoreBuilder insted of injecting osgi service. > Using this scenario fulltext search working correctly > > may be i am missing something while creating repository while using osgi > service? > > but if you see my code i have used same code to create repository only > difference is > > DocumentNodeStoreService. > > In scenario 1 , i have provided DocumenNodeStore and In scenario 2: i have > provided > > > On Sat, Mar 7, 2020 at 12:45 AM Julian Reschke <julian.resc...@gmx.de> > wrote: > >> On 06.03.2020 05:47, Sandeep Ambule wrote: >> > *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.* >> >> Yes. But we are all volunteers here, so it's good to provide all the >> information you have in a form that makes the question easier to >> understand. >> >> > *major difference in scenario 1 and scenario 2 is , In scenario 2 i am >> > using nodestore osgi service.* >> >> So, this is not about RDB, but about using the DocumentNodeStoreService >> or not, right? If it works with the latter, it's likely it's setting up >> in addition to what you do in scenario 1, no? >> >> Best regards, Julian >> >