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.
Thx in Advance.