Is it possible to create custom elasticsearch analyser which can split index by space and then create two tokens? One, with everything before space and second, with everything. For example: I have stored record with field which has following text: '35 G'. Now I want to receive that record by typing only '35' or '35 G' query to that field. So elastic should create two tokens: ['35', '35 G'] and no more.
If it's possible, how to achieve it ?