11-30-2016 09:14 AM
When I add a custom search filter to the solr, It shows up on the search when I am looking for documents, which is perfect. It says "Hawaii 1" for example, but then when I click on the Hawaii 1 I get no results, when I should be getting the one result for Hawaii. Is there something I am doing wrong?
I noticed that when I click it, my namespace shows up in the URL for the search. Do I have to create this namespace somewhere for this all to work?
Thanks!!!
11-30-2016 03:39 PM
Can you just clarify what you've done exactly - have you directly configured Solr or are you configuring the facets used for searching (i.e. via the "Search Manager" page)? or are you adding a new custom property that you're then adding as a facet.
In your example I would expect "Hawaii" to be the value of a property that is being faceted on. If this is the case then which property is "Hawaii" a value of?
The namespace is in the URL because the URL is updated to include the properties being filtered on (and these properties are all fully name spaced) - this enables search page URLs to be shared so that the same filters are automatically applied when that URL is loaded.
12-01-2016 02:31 PM
I added the fields through the Model manager to an Aspect. Then I added the Aspect to the document Library and filled out the form with some values. I then Added the Filters with the Search Manager GUI
12-01-2016 02:57 PM
Thanks for providing this information... I just want to dive into it a bit more... firstly you said that you applied the aspect to the Document Library - did you actually apply an aspect to the actual Document Library node? Or did you just apply the aspect to a document in a Document Library of a Site... I just want to be able to fully understand what's happening rather than making assumptions. When you say you filled out the form, you mean the form that you created via the model manager that is associated with the your custom aspect?
In order for faceting to work correctly the property needs to be configured appropriately - see this documentation page: Content Model - Defining and Deploying | Alfresco Documentation
Is the property that you've created defined appropriately for faceting as described? It's possible that it's not supported yet in the Model Manager - I'll try and delve into this tomorrow, I just wanted to provide a response and clarify the steps that you've taken.
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.