Re: Non Alphanumeric character searching

2014-01-02 Thread deep saxena
Hey
Thanx for the reply. I am not able to install the inquisitor, can you 
please  show us the path on this

On Thursday, 2 January 2014 01:43:30 UTC+5:30, Alexander Reelsen wrote:

 Hey,

 most likely those special chars have been removed before your data has 
 been stored in the inverted index - and thus cannot be searched for. This 
 highly depends on the mapping for a field. You can play around with the 
 analyze API to find out, how a string is tokenized and stored. See 
 http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-analyze.html

 Or use the awesome inquisitor plugin, which offers a nice GUI around that 
 functionality, see https://github.com/polyfractal/elasticsearch-inquisitor


 --Alex


 On Mon, Dec 30, 2013 at 3:05 PM, deep saxena sandy1...@gmail.comjavascript:
  wrote:

 #%##%#%#$%#%#$%#$ my data contain this string.

 I am firing this query, but not able to search the data. any clues why it 
 is not searching? if I put abc in between #%##%#%#abc$%#%#$%#$ and fire the 
 same query which this query string it find out the result for me.

 {
   from : 0,
   size : 3,
   query : {
 filtered : {
   query : {
 bool : {
   should : {
 query_string : {
   query : \#%##%#%#$%#%#$%#$\,
   default_field : DATA
 }
   }
 }
   },
   filter : {
 range : {
   timestamp : {
 from : 0,
 to : 1388412035468,
 include_lower : true,
 include_upper : true
   }
 }
   }
 }
   }
 }

 -- 
 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 elasticsearc...@googlegroups.com javascript:.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/elasticsearch/b13816bb-e08b-4627-a517-dce0f90ca581%40googlegroups.com
 .
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/dfe29397-662a-45b8-b1de-dcb3ca4c0a43%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Non Alphanumeric character searching

2013-12-30 Thread deep saxena
#%##%#%#$%#%#$%#$ my data contain this string.

I am firing this query, but not able to search the data. any clues why it 
is not searching? if I put abc in between #%##%#%#abc$%#%#$%#$ and fire the 
same query which this query string it find out the result for me.

{
  from : 0,
  size : 3,
  query : {
filtered : {
  query : {
bool : {
  should : {
query_string : {
  query : \#%##%#%#$%#%#$%#$\,
  default_field : DATA
}
  }
}
  },
  filter : {
range : {
  timestamp : {
from : 0,
to : 1388412035468,
include_lower : true,
include_upper : true
  }
}
  }
}
  }
}

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/b13816bb-e08b-4627-a517-dce0f90ca581%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.