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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/a18a812b-3d73-47c6-b7d3-53b969c71d85%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to