i created an application which indexes the WHOLE content of a PDF file to a field 'content' in the lucene index. I also have another field 'title' in the index which maps the title of the document (Metadata of PDF doc available, so i know the title). Well, as you might guess now the title will appear in the title as well as in the content field.
What i want now is that if the search term (e.g 'cancer') is contained in the title field, a found document should be scored higher than a document that only contains the term 'cancer' in the field 'content'.
What is the BEST and SIMPLEST (and a fast => search time) solution for this? I already know that fields that are shorter in length will count more (if the term was found) for the total score automatically. Could anyone give me a concrete example maybe?

Thanks a lot