I want to be able to create custom sections around the results for each category (or custom field) and always display the results for the categories in the same order(i.e. always have results for category 1 always first, then within category 1, the results are based on normal matching algorithm, then category 2, etc)
First question: would it be best to use cgi and xml query for this instead of trying to modify the resulting results code to display in this manner? I would think so..
Second: Using cgi and xml query, would it be best to search for all results, then group xml based on categories and then display. Or, should I perform a different query and limit the query to just the category I want, then display each one. So, if I have 5 categories, there would be 5 different search queries which then get displayed in their perspective section on the results page?
Or, is this a job only for the API instead of trying to use cgi/xml?
Or, is this not even a proper use of the software to begin with
thanks for any insights...
First question: would it be best to use cgi and xml query for this instead of trying to modify the resulting results code to display in this manner? I would think so..
Second: Using cgi and xml query, would it be best to search for all results, then group xml based on categories and then display. Or, should I perform a different query and limit the query to just the category I want, then display each one. So, if I have 5 categories, there would be 5 different search queries which then get displayed in their perspective section on the results page?
Or, is this a job only for the API instead of trying to use cgi/xml?
Or, is this not even a proper use of the software to begin with
thanks for any insights...
Comment