hi!! Is this possible to display the advance search(search by title,description…) results on categories basis on result page???? suppose i have two category A,B if i am searching content which title is 'c' then result should be display in form…..
The search API only returns a list of nodes. Using Lucene, you can constrain the search to the appropriate Categories (Using PATH element):
- you have to interogate the returned ScriptNodes and sort them appropriately inside your javaScript. Then you can display them whichever way you want.
A less performant (but faster to implement) way would be to perform multiple searches, one for Category A and another for B, and then display the results.