cancel
Showing results for 
Search instead for 
Did you mean: 

Adding a filter to the search result before it is displayed

Former Member
0 Kudos

Hi,

I am having an index with over 150000 documents which contains documents from various repositories. We have indexed some files which we dont want the users to see. All these documents are external documents(internet webpages etc). I was thinking to add a filter which will filter the resources by checking the file name or the file extension. I know that we can add filer in the crawler to not to pick up certain docs but i need these pages because these pages contains links which i need to index.

Is there anyway we can do this?

Regards

Prakash

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member195891
Active Participant
0 Kudos

Hi Prakash,

You could achieve a kind of filtering by using ACLs on document level resp. folder level. Moreover, if you could split the large index into several indexes you could also use ACLs on index level (-> Permissions in the Index Administration iView).

Does it help?

Kind regards,

Roland

Former Member
0 Kudos

Hi Roland,

Thanks for your reply. But as per our requirement we need to have a single index as we are implementing taxonomy also. The documents are mostly web pages belonging to our intranet. So ACL permissions may not work. The issue is there are some pages which we were not supposed to index but follow the links from that page. Since we have already indexed all the documents i need to filter them from getting dispayed in the search results.

Regards

Prakash

thilo_brandt
Employee
Employee
0 Kudos

Hi Prakash,

what you will need is a ResourceListFilter for FlexUI. It filters only resources on a UI level. It quite new and will be available since NW04 SPS12. I am currently writing an SDN article on this, which will be uploaded in the next few days. Keep attention on the Code Sample area of KMC page, I will update it, as soon as the publication process of the article is finished.

Regards,

Thilo

Former Member
0 Kudos

Hi Thilo,

Thanks for your reply. I will keep an eye on the Code Sample pages.

Regards

Prakash

thilo_brandt
Employee
Employee
0 Kudos

Hi Prakash,

it's only since some minutes )

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/kmc/implementing resource list filters for flexible ui navigation/index.htm

Regards,

Thilo

Former Member
0 Kudos

Hi Thilo,

is there a difference between a NamespaceFilter and ResourceListFilter from the functionality point of view?

regards,

Marco

thilo_brandt
Employee
Employee
0 Kudos

Hi Marco,

yes, definitivly. A Namespace Filter is applied on the Repository Framework level and is applied on at least one complete repository (if not restricted by config). The ResourceListFilter is only applied on FlexUI level, means on a CollectionRendererSetting level. So you can say, it is more a UI filter than a Repository Filter. You can have e.g. two FlexUI iViews pointing to the same repository, but rendering a different set of resources.

Best regards,

Thilo