Hello Dan ,

Can you paste the above as JSON.
I am not exactly able to make out what is the query.

Thanks
          Vineeth

On Thu, Sep 11, 2014 at 5:50 PM, Dan <da...@adena.nl> wrote:

> Nobody? :(
>
> Op woensdag 10 september 2014 21:24:19 UTC+2 schreef Dan:
>
>> Hi Guys,
>>
>> I have a simple query which is not working. I am using the same query on
>> another server with the same mapping; where it does work.
>> Everything else is working like a charm.
>>
>> I am talking about the following query.
>> The problem is to be found when I using the query > field > tags query.
>> When I do not use this part, everything works fine.
>>
>> Array
>> (
>>     [from] => 0
>>     [size] => 100000
>>     [query] => Array
>>         (
>>      *       [field] => Array
>>                 (
>>                     [tags] => *blaat*
>>                 )
>> *
>>         )
>>
>>     [filter] => Array
>>         (
>>             [and] => Array
>>                 (
>>                     [0] => Array
>>                         (
>>                             [term] => Array
>>                                 (
>>                                     [representative] => 1
>>                                 )
>>
>>                         )
>>
>>                     [1] => Array
>>                         (
>>                             [term] => Array
>>                                 (
>>                                     [is_gift] => 0
>>                                 )
>>
>>                         )
>>
>>                     [2] => Array
>>                         (
>>                             [term] => Array
>>                                 (
>>                                     [active] => 1
>>                                 )
>>
>>                         )
>>
>>                     [3] => Array
>>                         (
>>                             [terms] => Array
>>                                 (
>>                                     [website_ids] => Array
>>                                         (
>>                                             [0] => 1
>>                                         )
>>
>>                                     [execution] => and
>>                                 )
>>
>>                         )
>>
>>                 )
>>
>>         )
>>
>> )
>>
>>
>> The mapping is as follows:
>>
>>
>>   "product" : {
>>     "properties" : {
>>       "action" : {
>>         "type" : "string"
>>       },
>>       "active" : {
>>         "type" : "string"
>>       },
>>       "brand_ids" : {
>>         "type" : "string"
>>       },*      "tags" : {
>>         "type" : "string"
>>       },*
>> .....
>>
>>
>> When I index an item I am using the following part:
>>
>> Array
>> (
>>     [2359] => Array
>>         (
>>             ....
>>     *        [tags] => blaat, another blaat, etc*
>>           ....
>>
>> Maby an installation confuguring issue?
>>
>> Does anyone have a clue?
>>
>> Thanks!
>>
>>  --
> 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/574351f6-a7ea-4b60-8dd4-3a5dea2f4d3b%40googlegroups.com
> <https://groups.google.com/d/msgid/elasticsearch/574351f6-a7ea-4b60-8dd4-3a5dea2f4d3b%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAGdPd5%3DLDzK%2BDQJY-VTsfqq6_64yr%2Bm1y5oC915Hus%2BOONA4bw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to