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

Key: CMP-598
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Shay Banon
Reporter: Eric Rizzo
Votes: 0
Watchers: 0
Operations

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

Add ability to configure fuzzy search "minimumSimilarity" at a global or session level

Created: 27/Mar/08 07:21 AM   Updated: 27/Mar/08 04:05 PM
Component/s: Compass::Core
Affects Version/s: None
Fix Version/s: 2.0.0 RC1


 Description  « Hide
Please add the ability for an application to override the default minimumSimilarity for fuzzy searches; I'm thinking of either a configuration property or API on the CompassSession, but other implementation ideas may work. As long as I can set it one time and have it apply to all fuzzy searches (including complex String queries that use the ~ modifier).
See forum thread http://forum.compass-project.org/thread.jspa?messageID=294486

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Shay Banon added a comment - 27/Mar/08 04:05 PM
Added support for this in the query parser configuration. Here is an example:

compass.engine.queryParser.default.fuzzyMinSimilarity=0.5f
compass.engine.queryParser.default.fuzzyPrefixLength=0

(the above are default values).