Analyzer for phrase/sub phrase searching

Hi,

I am trying to search on phrases and sub-phrases, but also on keywords.
What is the best solution? I am using a query_string but specify only a few
fields.

I have a mapping using the standard analyzer and a custom keyword tokenizer

  • lowercase filter to store fields as;

"the quick Brown fox jump over a lazy dog" is stored as;

quick 2 brown 3 fox 4 jump 5 over 6 lazy 8 dog 9

and

"the quick brown fox jump over a lazy dog"

My problem is how do I find "quick brown fox"

Any help will be greatly appreciated.

Juan

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/8018e2e1-d902-48a5-9ae0-a3d694333114%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hi,

See.

Does it make sense?

Regards,

--
Jun Ohtani

2013/12/10 Juan Herbst jjherbst@gmail.com

Hi,

I am trying to search on phrases and sub-phrases, but also on keywords.
What is the best solution? I am using a query_string but specify only a few
fields.

I have a mapping using the standard analyzer and a custom keyword
tokenizer + lowercase filter to store fields as;

"the quick Brown fox jump over a lazy dog" is stored as;

quick 2 brown 3 fox 4 jump 5 over 6 lazy 8 dog 9

and

"the quick brown fox jump over a lazy dog"

My problem is how do I find "quick brown fox"

Any help will be greatly appreciated.

Juan

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/8018e2e1-d902-48a5-9ae0-a3d694333114%40googlegroups.com
.
For more options, visit https://groups.google.com/groups/opt_out.

--

Jun Ohtani
blog : http://blog.johtani.info

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAPW8A5z_-Axy-b_xz_N-pktvK3K7UPr%2B69mGVKfUO%3Ds1F8zFxw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.