cancel
Showing results for 
Search instead for 
Did you mean: 

custom search with single index using KM API

Former Member
0 Kudos

Hi all,

I have created custom search component. In this , i can able to retrieve search results from all index using

indexList = indexService.getActiveIndexes();

now i want to get search result from only one index.

can any one tell how to achieve this using KM APIs

Regards,

Shanthakumar.

Accepted Solutions (1)

Accepted Solutions (1)

former_member388485
Contributor
0 Kudos

Hi,

Try this:

indexList = new ArrayList();
indexList.add(indexService.getIndex("Index-ID"));

Best regards,

Avishai Zamir

Answers (0)