Using cfsearch vs database query
Hi,
I am looking into building a product search tool for our e-commerce site and I am looking into using coldfusion's solr search engine. However, I haven't figure out a way to rank search results based on the products popularity. For instance, if someone searches for 'widget', I would like to return 'red widget', 'green widget', 'blue widget' - in order of their popularity. Is this possible to do?
Or should I just use cfquery? This would be very simple to do in cfquery, especially since I only need to index product titles and skus. What are the advantages of using search engine vs using query in my case?
Thanks!
