I have been looking if it is possible to do a GROUP BY filter on Zend Lucene search results similar to MySQL so that if it returns some rows that have the same specified field, it will only return it is 1 row.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I am not sure about Zend, but in Lucene/Solr world this feature is called “field collapsing”.
A few pointers: