Simple search et faceted search

Hello,

I have 2 questions for personalize “simple search” and “faceted search”.

Simple search : I have a state in a lifecycle = “Archived”. How can I do to get a simple search that searches for documents not deleted and not archived ? I don't find in Studio where I can do that. In Nuxeo documentation, I find an XML but when I inserted in “XML Extension” it doesn't work.

Faceted search : I want hide “coverage” and “topic” in faceted search, and add some metadata. How can I do that ? I try with studio but it deletes all the faceted search and style.

Thanks in advance,

0 votes

1 answers

2147 views

ANSWER



Hi Delphine,

Faceted search is not customizable easily yet with Studio in 5.6 (even if the flag is there). However, here is a little trick that could help you : http://answers.nuxeo.com/questions/4941/add-faceted-search-from-studio-in-nuxeo-56

For the simple search, did not looked at it yet, but there should be a contribution that you can override with your own query, can you point me where you looked at?

Thanks

Fred

0 votes



Thanks for your answer.

I'll test the faceted search.

For the simple search, I found this : http://answers.nuxeo.com/questions/255/how-can-i-change-the-content-view-for-a-simple-search and http://explorer.nuxeo.org/nuxeo/site/distribution/Nuxeo%20DM-5.4.2/viewContribution/org.nuxeo.ecm.webapp.contentview.search.contrib--contentViews

I add this XML in XML extensions. But it doesn't matter.

Thanks in advance !

05/03/2013

I tested for the faceted search, but I don't understant this part: "Finally I added this as first Widget in my content view form

Generic Widget Hide Label: checked Fields: #{layoutValue} Widget Type: layout layout mode: search custom property configuration: name / faceted_search_default_selectors And as last widget in my content view form

Generic Widget Hide Label: checked Fields: #{layoutValue} Widget Type: layout layout mode: search custom property configuration: name / faceted_search_default_actions"

What and where to do it ?

Thanks in advance !

05/03/2013