cancel
Showing results for 
Search instead for 
Did you mean: 

Override/ Extend Advance Search

armedia
Champ in-the-making
Champ in-the-making
Hello all,

I have created custom content type "custom:XXXDoc".

I have configured advanced search drop down box for the above Content Type, the JSP page is showing the custom content type.
However  when I select it  and with no other fields entered or selected, and click search i get following message

Not enough information was entered to perform a search, at least one value must be entered or a location selected to search within. Text fields require a minimum of 3 characters.

Now to approach this problem, tried the following implementations:

1. Configure the <search-minimum> in config file to 1
2. Performed the search by entering the following values in keywords: *.* or **.

None of the above seems to get the documents of specified content type.

I believe we got to override the existing advance search implementation. Any ideas or guidance to approach?
1 REPLY 1

savic_prvoslav
Champ on-the-rise
Champ on-the-rise
you can always change something in AdvancedSearchDialog,


when you execute advanced searc from your content forms query 


TYPE:"{http://www.blatest.com/model/content/1.0}hiddenfolder" ( example )

fileTypeQuery = " TYPE:\"" + contentType + "\" "; {from SearchContext.java }
I gues that in this is an error, you can always your content type and execute the lucene search your self to test.