Results 1 to 1 of 1
- 07-16-2012, 05:56 PM #1
Member
- Join Date
- Jul 2012
- Posts
- 2
- Rep Power
- 0
Simple Question about Lucene Highlighting
Hi Everyone , I want to index source code and create multiple fields for methods, variables , classes to store the name of these elements, and i will have a filed called content to store the entire code.
when I want to search for a method with the name (add), the highlighter of course will highlight any word (add) in the content field.
so how can I approach this scenario, so that I can only highlight the fields the user is searching for ?
Thanks in advance.
Similar Threads
-
A simple question
By chris.bos in forum New To JavaReplies: 11Last Post: 12-02-2011, 05:37 PM -
Simple Question
By new2oojava in forum New To JavaReplies: 1Last Post: 09-29-2011, 07:14 AM -
Simple question
By Qsc in forum New To JavaReplies: 6Last Post: 03-06-2011, 11:24 PM -
Lucene Software/Hardware Setup Question
By Sideout in forum LuceneReplies: 0Last Post: 10-25-2010, 06:43 PM -
A question regarding apache Lucene usage
By need in forum LuceneReplies: 1Last Post: 03-16-2010, 10:58 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks