Hi Sandeep,

In both scenarios you describe how a DocumentNodeStore instance
is created. Your application must have more components than just
a NodeStore implementation to get search working in Oak using
Lucene. The NodeStore implementation itself does not provide
any search functionality. Please check how the DocumentNodeStore
is further used in your application to initialize an Oak ContentRepository
or a JCR Repository. I assume, this is where the difference is.

Regards
 Marcel


On 09.03.20, 08:43, "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

Reply via email to