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

Key: CMP-590
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Shay Banon
Reporter: Maurice Nicholson
Votes: 0
Watchers: 0
Operations

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

Make numeric Searchable-Properties un-tokenized by default

Created: 23/Mar/08 02:28 PM   Updated: 24/Mar/08 10:05 AM
Component/s: Compass::Core
Affects Version/s: None
Fix Version/s: 2.0.0 RC1


 Description  « Hide
...with an option to restore backwards compatible functionality since this is a breaking change.

See http://forum.compass-project.org/thread.jspa?threadID=215179&tstart=0

How do you feel about other types? I reckon boolean/Boolean and Enum are also fine candidates for the un-tokenized treatment.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Shay Banon added a comment - 24/Mar/08 09:55 AM
Fixed. Here is what the upgrade.txt states:

6. By default, Compass will now try to use Index type based on the actual type. For example, every formattable type
(such as number and dates), URL, URI, and Boolean are now UN_TOKENIZED by defualt (if not explicitly specified).

Note, I did not add a flag to revert to the previous behavior as I think it is an important one. Specific mappings can be controlled still.


Shay Banon added a comment - 24/Mar/08 10:05 AM
I did not do it for Enum since usually Enums are defined with capital letters and you do want them analyzed (which basically lower case them).