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
-uname1
-uname2
By Email
-uname1
-uname2
-uname3
-By_FirstName
-uname1
-fname2
Help appreciated!!!
Thx in Advance.
没有评论:
发表评论