cancel
Showing results for 
Search instead for 
Did you mean: 

search groups java api

nikes
Champ on-the-rise
Champ on-the-rise
Hello,

We have legacy code which makes use of SearchService and lucene to perform group search function.

Is it possible to search group using non-lucene/solr api, or using other service api which used DB as source for searching groups?

Lucene search returns more than one result when group exist in different case in system. So we need same level of search by with non-lucene/solr api. This is because when solr node is down, our custom module should be able to work. (We have separate solr node)

Thanks
3 REPLIES 3

kaynezhang
World-Class Innovator
World-Class Innovator
You can try to use fts-alfresco query language ,it will  attempt to run the query against the database first.

nikes
Champ on-the-rise
Champ on-the-rise

In which API we can use "fts-alfresco" query language option? Java foundation SearchService?

kaynezhang
World-Class Innovator
World-Class Innovator
Yes ,you can use  Java foundation SearchService.
for javascript api you can call search.query()
for remote api ,you can use webscript api with url
/service/slingshot/search