cancel
Showing results for 
Search instead for 
Did you mean: 

simple search to include categories

gcoleman
Champ in-the-making
Champ in-the-making
I was wondering how hard it would be to make the simple search search categories. For example if you have a category called fish and you search for fish in the simple search it will return all of the documents in the category fish or any of its sub-categories (parrot-fish, butterfly-fish, trout, cod etc).

I am using Alfresco as a photo repository and I want to use categories extensively. I really like the idea of sub-categories. Potentially I would have thousands of categories. Would there be a problem having that many categories?

Cheers

Greg.
2 REPLIES 2

kevinr
Star Contributor
Star Contributor
It will require a code change to the class:
org.alfresco.web.bean.SearchContext
It is not too hard to do as code to search in a specific category is already present (as you can pick categories to search using Advanced Search). You may have to write some code to select the correct category based on the text the user has entered.

There should not be a problem having many categories - it is advisable to create a sensible hierarchy though i.e. not have all categories at the same level.

Thanks,

Kevin

rivarola
Champ on-the-rise
Champ on-the-rise
Hello Kevin,

There should not be a problem having many categories - it is advisable to create a sensible hierarchy though i.e. not have all categories at the same level.

Can you explain a little bit this performance issue, please ?