Hello All, I am kind of new to Lucene, and having problem filtering search results.
Background: My Indexed documents have multiple bills and each bill has multiple versions. Each version of the same bill has a different bill Version Id, but the same bill Id. In most likely case, the text in different versions varies only slightly. The text for all these versions indexed. Problem: Lets say, for a particular search term, if it is present in one version of the bill, in most cases it is present in all other versions too. So the users have come up with a requirement stating that they would like to see only the latest bill version for the same bill having this search term. So when I perform a search for a particular word, I might get different versions of the same bill, but have to display only the latest record for that bill. I did some research and understood that filters could be used to implement this kind of requirement, however I am not sure how to proceed. Any hints on how to implement this would be highly appreciated. Thanks. -- View this message in context: http://n3.nabble.com/Problem-with-search-tp717137p717137.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org