Aggregations of phrases

2015-03-20 Thread Bruno Kamiche
I have a field that contains text from different sources (it could be a facebook post, a twitter tweet, a blog article, etc), so it varies in length. I need to find common phrases in that field to determine conversation subjects. terms aggregations works fine for words, but I need to find phra

Field Mapping

2015-01-04 Thread Bruno Kamiche
I've mapped several fields as "byte" and "float", but when I retrieve the search result (using the PHP library), those fields are returned as strings in the JSON, is that correct? Bruno -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsu

Re: How is data stored

2015-01-01 Thread Bruno Kamiche
Thanks for your replies, that gave me the clue for what I was looking for, and now it is solved! On Wednesday, December 31, 2014 10:36:27 PM UTC-5, Bruno Kamiche wrote: > > Hello, I'm new in using elasticsearch, so maybe this is a basic question... > > Is there any way to se

How is data stored

2014-12-31 Thread Bruno Kamiche
Hello, I'm new in using elasticsearch, so maybe this is a basic question... Is there any way to see how is the text "stored" or at least how it would look once the filters defined for a field (in the analyzer) are applied? I know that the actual field is stored "as is", and the filters are cons

Term Length when doing aggregations

2014-12-22 Thread Bruno Kamiche
Is there any way to set the mininum term length for aggregations? I mean, I need aggregations of words with a minimum length of 3 characters for example, also is there any wait to have an skip word list? Bruno -- You received this message because you are subscribed to the Google Groups "elas

Re: User free text query

2014-12-16 Thread Bruno Kamiche
ticsearch.com>* > @dadoonet <https://twitter.com/dadoonet> | @elasticsearchfr > <https://twitter.com/elasticsearchfr> | @scrutmydocs > <https://twitter.com/scrutmydocs> > > > > Le 17 déc. 2014 à 03:40, Bruno Kamiche > > a écrit : > > Ok, it

Re: User free text query

2014-12-16 Thread Bruno Kamiche
n Tuesday, December 16, 2014 9:22:22 PM UTC-5, David Pilato wrote: > > Replace match with a simpleQueryString query. > > David > > Le 17 déc. 2014 à 03:13, Bruno Kamiche > > a écrit : > > My application interface offers fields for filtering (and they are working > on e

Re: User free text query

2014-12-16 Thread Bruno Kamiche
ually, elasticsearch will search computer in _all field and as you said > 0003 in category field. > You should may be disable _all field and use the copy_to feature instead > BTW. > > If your interface has different inputs for text and category, then you > should probably b

User free text query

2014-12-16 Thread Bruno Kamiche
I need to query elasticsearch and let the user specify on which other fields to search for certain attributes... I have a field named "texto" with the actual text on which queries are done. I have a field name "category" with values like "0001,0003" (meaning the record is on categories 1 and 3)

Re: Mixing Filters

2014-12-12 Thread Bruno Kamiche
t an error, the returned fields are not complying with the range.... On Friday, December 12, 2014 3:35:23 PM UTC-5, Bruno Kamiche wrote: > > This is my mapping > > 'fecha' => [ > 'type' => 'date', >

Re: Mixing Filters

2014-12-12 Thread Bruno Kamiche
rote: > > Text should be fine. But are you sure you defined the field as date in > mapping? > With the right format? > > David > > Le 12 déc. 2014 à 21:15, Bruno Kamiche > > a écrit : > > I think I figured it out, I needed an extra set o

Re: Mixing Filters

2014-12-12 Thread Bruno Kamiche
earch I see the correct dates in the retrieved information, now I need to filter upon this data with a range of dates, how shall I express the range values, as text or as a unixtime ? I've tried both and although theres data that should comply elastic does not r

Re: Mixing Filters

2014-12-12 Thread Bruno Kamiche
tcher)) #3 /root/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php(53): Symf in /root/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/GuzzleConnection.php on line 266 On Friday, December 12, 2014 3:06:47 PM UTC-5, David Pilato wrote: > &

Mixing Filters

2014-12-12 Thread Bruno Kamiche
Hello, I'm testing elastic search and I need to apply different filters, when I include the "range" filter I get an error and the query is not executed, here's the json: $json = '{ "size" : 10, "from" : 0, "sort" : [ { "_timestamp" : { "order" : "desc" } }