Hi,
Quote:
I have an object with fields that I have marked as untokenised (due to requirements as the should not be tokenised). As I understand no tokenised fields are stored in the index as they are inputted.
Yes, un-tokenized fields are indexed as they are. This does not mean that they are stored in the index. Indexing and keeping the actual indexed values are two orthogoanl concepts.
Quote:
I use the same analyzer as i use for indexing.
Given that you index all properties un-tokenized you are actually not using any Analyzer at indexing time. So if you are using an analyzer at search time you are actually applying modifications to the search terms which are not applied during indexing.
Quote:
What is the recommended approach for dealing this situation where the user may type in a word which may be lowercase but in the index the token is held as uppercase?
Either manually upper-/lowercase the data and the search terms, or use a custom analyzer which will return the whole field value as single token. Chain this "tokenizer" with a LowerCaseFilter.
--Hardy