RE: Lower/Uppercase problem when searching in a not-analyzed field

2009-12-14 Thread Jeff Plater
The issue is that you are using an analyzer on the search query and not at index time. The StandardAnalyzer that you are using at search time is lowercasing the query before searching against the index. You have a few options that I can think of: 1 - use a different analyzer at search time (o

RE: Sort fields shouldn't be tokenized

2009-11-16 Thread Jeff Plater
order in user-unexpected ways. Does the proviso make more sense now? - J.J. Larrea On Nov 16, 2009, at 10:36 AM, Jeff Plater wrote: > > I am looking at adding some sorting functionality to my application > and > read that Sort fields should not be tokenized - can anyone explain

Sort fields shouldn't be tokenized

2009-11-16 Thread Jeff Plater
I am looking at adding some sorting functionality to my application and read that Sort fields should not be tokenized - can anyone explain why? I have code that is tokenizing the sort fields and it seems to be working. Is it just because some tokenizing can change the value (like remove stop word

RE: Edit distance and wildcard searching with PhraseQuery

2009-11-11 Thread Jeff Plater
. At least carefully check that your casing is identical. Best Erick On Wed, Nov 11, 2009 at 6:41 PM, Jeff Plater < jpla...@healthmarketscience.com> wrote: > Thanks - I tried it out and it seems to work for "Philadelphid~0.75 PA" but > I can't get it working for "P

RE: Edit distance and wildcard searching with PhraseQuery

2009-11-11 Thread Jeff Plater
Thanks - I tried it out and it seems to work for "Philadelphid~0.75 PA" but I can't get it working for "Phil* PA" yet. Perhaps it is an issue with my Analyzer (I am using WhitespaceAnalyzer)?. Have you used it with wildcard before? -Jeff -Original Message- From: AHMET ARSLAN [mailto:

Edit distance and wildcard searching with PhraseQuery

2009-11-11 Thread Jeff Plater
omplish this? Right now I am having to hit a look up table to translate the city before searching against the main index - not a fan of this option. Thanks. -Jeff Plater