Hi David,
I have done following steps u suggested. The exact string search is working
now.
But when I'm trying the below query for string matching it's giving null
result.
May this is very basic and I'm doing something wrong. I'm a week old on
elasticsearch and trying to understand the
Hi David,
I have done following steps u suggested. The string search is working now.
But for filter I have to always pass strings in lowercase; where as for
query text search I can give the proper string sequence inserted in doc.
query shown below.
May be this is very basic and I'm doing
message field has been analyzed using standard analyzer. It means that you
message content has been indexed using lowercase.
a Term Filter does not analyze your query.
DEBUG is than debug.
If you want to find your term in the inverted index, you have either to analyze
your query (matchQuery
Hi Binh,
The query you given is working. Thanks for your help.
But if I change the query and search for string requestproxyauthentication
instead, It's not working. Below is the mapping for message field.
I'm trying to understand how elasticsearch analyze the field data. Pls
comment.
Didn't you read my previous answer?
This example has nothing in common with your data!
That said, you need to apply the mapping before indexing any document!
We can't help you without a full curl recreation which actually reproduce your
issue.
I think you are doing something wrong here but it's
Hi David,
The data is coming through logstash and taking default mapping in
elasticsearch. Can I do update mapping for that index id ?
Pls let me know.
--
You received this message because you are subscribed to the Google Groups
elasticsearch group.
To unsubscribe from this group and stop
Hi David,
Trying to query as following, but still getting null result. Please suggest.
{
query: {
constant_score: {
filter: {
term: { message: requestproxyauthentication }
}
}
}
}
-Subhadip
--
You received this message because
what is your mapping?
--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr
Le 11 mars 2014 à 11:03:00, Subhadip Bagui (i.ba...@gmail.com) a écrit:
Hi David,
Trying to query as following, but still getting null result. Please suggest.
{
query: {
mapping...
{
- movies:{
- mappings:{
- movie:{
- properties:{
- director:{
- type:string,
- fields:{
- original:{
- type:string,
-
mapping...default
{
- logstash-2014.03.03:{
- mappings:{
- apache-access:{
- dynamic_templates:[
- {
- string_fields:{
- mapping:{
- type:multi_field,
- fields:{
This example has nothing in common with your data!
That said, you need to apply the mapping before indexing any document!
--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr
Le 11 mars 2014 à 14:47:34, Subhadip Bagui (i.ba...@gmail.com) a écrit:
Hi David,
11 matches
Mail list logo