SourceForge.net Logo
Main Overview Wiki Issues Forum Build Fisheye
Issue Details (XML | Word | Printable)

Key: CMP-507
Type: New Feature New Feature
Status: Open Open
Priority: Minor Minor
Assignee: Shay Banon
Reporter: arsee
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Compass

Filters

Created: 15/Jan/08 06:24 PM   Updated: 17/Mar/08 03:24 AM
Component/s: Compass::Core
Affects Version/s: None
Fix Version/s: None


 Description  « Hide
It would be nice to have the equivalent of the Filter feature in Lucene.
Though one can construct a query to have the same effect but all terms in a query add to the scoring. But using filters to limit the matching documents doesn't add to the scoring. For example this feature would be a suitable candidate to filter results based on a security filter.

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Shay Banon added a comment - 16/Jan/08 04:08 AM
There is support for filters in Compass. Just have a look at CompassSession#queryFilterBuilder, and each CompassQuery has a setFilter method.