Re: Custom Tokenization of a Single Field

2008-01-08 Thread Briggs
Cool. I just realized that compass also has an annotation value of analyzer. Now I'll just have to find out if you can truly have more than one per index. Thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

Re: Custom Tokenization of a Single Field

2008-01-08 Thread Erick Erickson
I *think* you want to consider writing your own analyzer that tokenizes your special fields however you want to. Then use PerFieldAnalyzerWrapper at both index and query time to break the stream up appropriately for this (and only this) field.. This would give you two tokens for the attribute fiel

Custom Tokenization of a Single Field

2008-01-08 Thread Briggs
I have an index that contains a couple special fields that I need to tokenize differently than the rest. The case is that I basically have a key/value pair stored as the value. The field name is "attribute" and it's value is "SomeValue=1.9" I need to tokenize the value so that I can search on t