ElasticsSearch 'Script Filter'

2014-07-28 Thread thale jacobs
I have a ES search question and I think it can be solved using ES scripting, but I was not able to solve it and there may be a better way. The index has 3 document types, 'province', 'city' and 'neighborhood' Here is how the index is created: curl -s -XPUT 'localhost:9200/test/province/1' -d

Re: Corruption error after upgrade to 1.0

2014-05-12 Thread thale jacobs
Did you ever get this resolved and if so, how was it resolved? I am experiencing the same issue... On Monday, February 17, 2014 4:25:00 PM UTC-5, Mo wrote: After upgrading to 1.0 I am unable to index any documents. I get the following error. Could somebody help? [Aardwolf] Message

Re: Exact phrase match - city names example

2014-02-27 Thread thale jacobs
Thanks for the reply Prashy - I tried performing a term query like you suggested; I get the same results (all documents containing main are returned...E Main St, W Main St...) Do you only get one document returned using the example I provided above (doc id 9/Main)?? On Thursday, February 27,

Re: Exact phrase match - city names example

2014-02-27 Thread thale jacobs
I get the same results as you using your example Thanks for posting it. I am not sure why my original example does not work, but that is for me to figure out! Thanks again. On Thursday, June 14, 2012 2:02:28 PM UTC-4, Greg Silin wrote: Hi, One of our fields in the index stores city

Re: Exact phrase match - city names example

2014-02-26 Thread thale jacobs
I am having problem a similar problem too. Here is how I set it up the test index: Create the index: curl -s -XPUT 'localhost:9200/test' -d '{ mappings: { properties: { name: { street: { type: string,

Re: Best way to search/index the data - with and without whitespace

2014-02-06 Thread thale jacobs
Hello Binh Ly - Thanks for the replay. I thought I had read that ngram searching should only be used at either index time or search time, but not both... Is that not the case? Thanks again. Thale On Wednesday, January 29, 2014 6:49:10 PM UTC-5, Binh Ly wrote: Thale, I would try edge

Re: Best way to search/index the data - with and without whitespace

2014-02-06 Thread thale jacobs
This is how I set up the mappings: curl -s -XPUT 'localhost:9200/test' -d '{ mappings: { properties: { name: { street: { type: string, index_analyzer: index_ngram, search_analyzer: search_ngram

Best way to search/index the data - with and without whitespace

2014-01-29 Thread thale jacobs
Hello - I am having a problem indexing and searching for words that may or may not contain whitespace...Below is an example Here is how the index is created: curl -s -XPUT 'localhost:9200/test/name/1' -d '{ street: Lakeshore Dr }' curl -s -XPUT 'localhost:9200/test/name/2' -d '{ street:

Re: 0.90.9 in elasticsearch - indexing with ngrams, search returns 0 results

2014-01-16 Thread thale jacobs
, thale jacobs (thale...@gmail.comjavascript:) a écrit: Hello - I am attempting to run a ngram test using elastics 0.90.9. I was able to replicate the problem I am having in our production system by following the example from here: http://blog.rnf.me/2013/exact-substring-search