Re: No terms generated for trigram analyzer

2014-06-26 Thread Andreas Falk
Ok, thanks again for the help! On Wednesday, June 25, 2014 3:37:00 PM UTC+2, Cédric Hourcade wrote: In fact they are in the _all field, but not analyzed with your trigrams analyzer. Cédric Hourcade c...@wal.fr javascript: On Wed, Jun 25, 2014 at 3:12 PM, Andreas Falk adde...@gmail.com

Re: No terms generated for trigram analyzer

2014-06-25 Thread Andreas Falk
Hey, Yeah, that was it. Thanks! Andreas On Tuesday, June 24, 2014 2:13:10 PM UTC+2, Cédric Hourcade wrote: Hello, You are performing a search by uri, by default it searches in the _all field. In your case this field doesn't use at all your trigrams analyzer. You could either pass an

Re: No terms generated for trigram analyzer

2014-06-25 Thread Andreas Falk
I understand that my fields aren't in the _all field and that's why my query fails. But shouldn't they be included in _all by default according to the documentation, index defaults to analyzed and include_in_all default to true?

Re: No terms generated for trigram analyzer

2014-06-25 Thread Cédric Hourcade
In fact they are in the _all field, but not analyzed with your trigrams analyzer. Cédric Hourcade c...@wal.fr On Wed, Jun 25, 2014 at 3:12 PM, Andreas Falk adde.f...@gmail.com wrote: I understand that my fields aren't in the _all field and that's why my query fails. But shouldn't they be

Re: No terms generated for trigram analyzer

2014-06-24 Thread Cédric Hourcade
Hello, You are performing a search by uri, by default it searches in the _all field. In your case this field doesn't use at all your trigrams analyzer. You could either pass an explicit query : {query: {...} }, or specify which field you want to match: curl -XGET