cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic search Facet

ebuild
Champ on-the-rise
Champ on-the-rise
I have a requirement where the user can filter search results by custom aspect properties.
For instance, using Facet, when the user select "Invoice" he will get only filters associated to invoice properties.
Thanks in advance.
3 REPLIES 3

tsafarog
Champ on-the-rise
Champ on-the-rise
You mean in the search results?

This? http://docs.alfresco.com/community5.0/tasks/filtered-search-custom.html

or

1) You can achieve this by making a custom advanced search form where the user can define the custom properties for his search

2) In the fast search you can also define the searchable custom properties but keep in mind that this option will return you many results depending on your model and keywords

Let me know how you want to achieve this and i will send you info on the above

ebuild
Champ on-the-rise
Champ on-the-rise
Thanks Tsafarog,
The idea is to give user the ability to select the filters-set by Aspect of document type, so when user want to search for document with Aspect x he can get search Facet with only that aspect properties. So the facet become dynamic depending on user selection.

tsafarog
Champ on-the-rise
Champ on-the-rise
so you need the filtering ability in the advanced search?

excuse my questions but i am trying to understand what you need

FAST SEARCH

To my knowledge:
1) solr by default index all default aspects and properties
2) you need to configure in your model your custom aspectSmiley Tongueropertie to be indexed
3) the fast search (the one on the top right) needs to be configured to include any custom properties.
4) Then you need to configure the new filters of your aspect based on the link i gave you above.

In my opinion this is how you achieve the filtering based on your custom aspects (if anyone from community can correct me please do)

ADVANCED SEARCH

If you configure a separate form for your model i see no point for a filter to exist since the user can select in the form the custom properties he wants to search for


I hope i helped