This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use Stack Overflow.

Grouping results in Zend Lucene Search

Questions relating to sfLucenePlugin, sfSearch etc

Grouping results in Zend Lucene Search

by csajit » Thu Sep 30, 2010 7:40 am

Hello all,

I am using "Zend Lucene Search" for searching purpose. I have Lucene Index built, where I am storing Username, Email, FirstName etc.I have autocomplete input field.whenever user types in, I need to display the search results categorywise. Is there any way to do that?

Is there any function in lucene, which determines which field matched the term(search_string) passed? (In the above case I should know whether it matched username or email or firstname).

structure of search result should be something similar to this.

By UserName
By Email

Help appreciated!!!

Thx in Advance.
Junior Member
Posts: 18
Joined: Sat Mar 14, 2009 7:36 am
Location: India