When I look at the Zend framework documentation, Zend Search Lucene has the ability to boost search terms.
Is there a way to boost fields? That is, make hits in a field more relevant than others?
Example:
Document1
Name: Jane Doe
Description: Wife of John Doe
Document2
Name: John Doe
Description: Husband of Jane Doe
Search query = "John Doe"
In this example, I want to boost "Name" field because it is more relevant. The search results should list Document2 first rather than Document1