ES not indexing numbers?


Well-known member
Any ideas where to start looking for the problem? Everything else seems fine at the moment, but I realized that any searches for numbers come back empty.


Formerly CyclingTribe
Just wondering if this is a string length issue or character type issue - when you say numbers, do you mean short numbers such a 5 or 13 or 323 - or do larger numbers not work too, such as 20000 or 75000?

My thinking is that there is a general string length restriction (usually 3/4 chars [unless you alter it in the settings]) so if you're searching for smaller values such as 15 it may not work anyway because it is only two characters long.


Well-known member
Rebuilt the indices just for fun. No change.

Interestingly, mixes of letters and numbers (M3, etc) work fine, but strings only of numbers do not. How would I go about checking the maps and blocklists?


Well-known member
Just an update: I upgraded java to the current version, upgraded ES to 0.19.12, rebuilt the indices, and it seems to be working properly again. It was on 0.18.?? before.


Well-known member
It's the tokenizer you have it set to use (or just the default one). Most don't support indexing numbers (they will index alpha-numeric words though as you noticed).

This is the settings I use for which breaks apart words on punctuation (for example you could find a post that had "" in it by searching for "digitalpoint"... normally that's not the case), AND it indexes numbers with the pattern tokenizer.