Special characters search in elastic search

Hi ,
Can any one explain how to search for special characters
in elastic search?
I am using standard analyzer for indexing and searching.
For example in elastic search a field have a value @. if i
search like "_text:@" means i am getting the results of 0 documents.

Standard analyzer, uses standard tokenizer, which splits words at
punctuation characters, removing punctuation.

On Dec 8, 10:54 pm, Arulkumar arulkuma...@gmail.com wrote:

Hi ,
Can any one explain how to search for special characters
in Elasticsearch?
I am using standard analyzer for indexing and searching.
For example in Elasticsearch a field have a value @. if i
search like "_text:@" means i am getting the results of 0 documents.

thank you .. So i can't search for special characters using standard
analyzer right... If i want to search special character means which is
the suitable analyzer for indexing and searching.....?

On Dec 9, 12:35 pm, Paul ppea...@gmail.com wrote:

Standard analyzer, uses standard tokenizer, which splits words at
punctuation characters, removing punctuation.

On Dec 8, 10:54 pm, Arulkumar arulkuma...@gmail.com wrote:

Hi ,
Can any one explain how to search for special characters
in Elasticsearch?
I am using standard analyzer for indexing and searching.
For example in Elasticsearch a field have a value @. if i
search like "_text:@" means i am getting the results of 0 documents.

Correct. For very fine grained and explicit control you may want to
check out the pattern analyzer.

On Dec 9, 1:20 am, Arulkumar arulkuma...@gmail.com wrote:

thank you .. So i can't search for special characters using standard
analyzer right... If i want to search special character means which is
the suitable analyzer for indexing and searching.....?

On Dec 9, 12:35 pm, Paul ppea...@gmail.com wrote:

Standard analyzer, uses standard tokenizer, which splits words at
punctuation characters, removing punctuation.

On Dec 8, 10:54 pm, Arulkumar arulkuma...@gmail.com wrote:

Hi ,
Can any one explain how to search for special characters
in Elasticsearch?
I am using standard analyzer for indexing and searching.
For example in Elasticsearch a field have a value @. if i
search like "_text:@" means i am getting the results of 0 documents.

Can you explain the scenario of pattern analyzer. Is it possible to
search like below example using pattern analyzer? I need to find the
exact path in these....

For example path field contains the list of values like,

  C:\Users\sample\data\test files\
  C:\Users\sample\data\test files\sample data\sample.csv

On Dec 9, 9:50 pm, Paul ppea...@gmail.com wrote:

Correct. For very fine grained and explicit control you may want to
check out the pattern analyzer.

On Dec 9, 1:20 am, Arulkumar arulkuma...@gmail.com wrote:

thank you .. So i can't search for special characters using standard
analyzer right... If i want to search special character means which is
the suitable analyzer for indexing and searching.....?

On Dec 9, 12:35 pm, Paul ppea...@gmail.com wrote:

Standard analyzer, uses standard tokenizer, which splits words at
punctuation characters, removing punctuation.

On Dec 8, 10:54 pm, Arulkumar arulkuma...@gmail.com wrote:

Hi ,
Can any one explain how to search for special characters
in Elasticsearch?
I am using standard analyzer for indexing and searching.
For example in Elasticsearch a field have a value @. if i
search like "_text:@" means i am getting the results of 0 documents.

Read up on the analysis process:
http://www.elasticsearch.com/docs/elasticsearch/index_modules/analysis/

Here are the specific details on pattern analyzer:
http://www.elasticsearch.com/docs/elasticsearch/index_modules/analysis/analyzer/pattern/

The docs do a much better job explaining than I can.

Bottom line, though, the answer to your question depends on how you
want to search the data.

Regards

On Dec 9, 10:43 pm, Arulkumar arulkuma...@gmail.com wrote:

Can you explain the scenario of pattern analyzer. Is it possible to
search like below example using pattern analyzer? I need to find the
exact path in these....

For example path field contains the list of values like,

  C:\Users\sample\data\test files\
  C:\Users\sample\data\test files\sample data\sample.csv

On Dec 9, 9:50 pm, Paul ppea...@gmail.com wrote:

Correct. For very fine grained and explicit control you may want to
check out the pattern analyzer.

On Dec 9, 1:20 am, Arulkumar arulkuma...@gmail.com wrote:

thank you .. So i can't search for special characters using standard
analyzer right... If i want to search special character means which is
the suitable analyzer for indexing and searching.....?

On Dec 9, 12:35 pm, Paul ppea...@gmail.com wrote:

Standard analyzer, uses standard tokenizer, which splits words at
punctuation characters, removing punctuation.

On Dec 8, 10:54 pm, Arulkumar arulkuma...@gmail.com wrote:

Hi ,
Can any one explain how to search for special characters
in Elasticsearch?
I am using standard analyzer for indexing and searching.
For example in Elasticsearch a field have a value @. if i
search like "_text:@" means i am getting the results of 0 documents.