I am trying to use elasticsearch to index my log files. Some of my
environment details are given below:
Version of elasticsearch that I am using: 0.90.3
Version of JVM that I am using: 1.7.0_17 JVM (64-bit)
Operating System: Windows Server 2008
- cluster_name: logstash
- status: yellow
- timed_out: false
- number_of_nodes: 2
- number_of_data_nodes: 1
- active_primary_shards: 15
- active_shards: 15
- relocating_shards: 0
- initializing_shards: 0
- unassigned_shards: 15
Right now, I am in development stage and am playing around with
elasticsearchto see how it works. I am running into one problem. Some of
the documents in my index have the hash symbol (#) in them. For Example:
FlexCubeCash_001#0103347CAD2203178.000000000. When I query for documents
that have this string (FlexCubeCash_001#0103347CAD2203178.000000000) in
them, it returns all the documents which have the string "FlexCubeCash_001"
(in other words text before the hash symbol) in them.
How do I get around this problem? I must be doing some thing wrong. I have
created a small snippet of code to reproduce the problem your environment.
This code snippet is in the Gist URL given below:
As you can see from the code snippet, there is only document that matches
the search string but I get all three documents back.
If you have any questions or need any other information, please let me
know, Any help provided will be greatly appreciated.
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/8c57e164-0072-4196-a137-06800704a10c%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.