Messed up values in scripting


(dunaeth) #1

Hi,

I'm having strange issues with data stored in ES. If I do this search query
:

{
"_source":["uri","referer"],
"script_fields":{
"ref_uri_eq":{
"script":"doc.referer.values.contains(doc.uri.values)"
},
"referer1":{
"script":"doc.referer.values"
},
"uri1":{
"script":"doc.uri.values"
},
"referer2":{
"script":"_source.referer"
},
"uri2":{
"script":"_source.uri"
}
},
"query":{
"bool":{
"must":[
{
"term":{
"ip":"24.143.67.34"
}
},
{
"term":{
"valid":true
}
}
]
}
},
"from":0,
"size":250
}

I have results where doc values (referer1, uri1) seem taken from a
different document than the current one :

{
"took":7,
"timed_out":false,
"_shards":{
"total":2,
"successful":2,
"failed":0
},
"hits":{
"total":30,
"max_score":1.4227529,
"hits":[
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"7qWEU6Q-TaqZodwd7xLZWw",
"_score":1.4227529,
"_source":{
"referer":
"http://affilie.quaelead.com/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
,
"uri":
"/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[

"http://affilie.quaelead.com/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[

"/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"UPrfwEgRR_WhuiafzJAsVQ",
"_score":1.4227529,
"_source":{
"referer":
"http://affilie.quaelead.com/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
,
"uri":
"/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[

"http://affilie.quaelead.com/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[

"/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"ZMTm0vmZRvWKGHar3LXc8g",
"_score":1.4227529,
"_source":{
"referer":
"http://affilie.quaelead.com/buy/36/nuisette-et-string-cotton-candy-149585.html"
,
"uri":"/buy/36/nuisette-et-string-cotton-candy-149585.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[

"http://affilie.quaelead.com/buy/36/nuisette-et-string-cotton-candy-149585.html"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[
"/buy/36/nuisette-et-string-cotton-candy-149585.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"HgJuj8YnTp2yg17tDCIUGQ",
"_score":1.4227529,
"_source":{
"referer":
"http://affilie.quaelead.com/buy/36/nuisette-et-string-cotton-candy-149585.html"
,
"uri":"/buy/36/nuisette-et-string-cotton-candy-149585.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[

"http://affilie.quaelead.com/buy/36/nuisette-et-string-cotton-candy-149585.html"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[
"/buy/36/nuisette-et-string-cotton-candy-149585.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"oTg9fkMnQ6-bIM6aQp8dng",
"_score":1.4227529,
"_source":{
"referer":
"http://affilie.quaelead.com/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
,
"uri":
"/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[

"http://affilie.quaelead.com/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[

"/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"BfKWylc2RjyapShJKTTAbA",
"_score":1.4227529,
"_source":{
"referer":
"http://affilie.quaelead.com/buy/36/ooh-la-la-shorty-noir-freya-145086.html"
,
"uri":"/buy/36/ooh-la-la-shorty-noir-freya-145086.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[

"http://affilie.quaelead.com/buy/36/ooh-la-la-shorty-noir-freya-145086.html"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[
"/buy/36/ooh-la-la-shorty-noir-freya-145086.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"6WRervaHRxax0beYeD46zA",
"_score":1.4227529,
"_source":{
"referer":
"http://affilie.quaelead.com/buy/36/betty-babydoll-noir-elomi-145051.html",
"uri":"/buy/36/betty-babydoll-noir-elomi-145051.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[

"http://affilie.quaelead.com/buy/36/betty-babydoll-noir-elomi-145051.html"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[
"/buy/36/betty-babydoll-noir-elomi-145051.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"gpyE18DSR7qTkxa7cUYM9Q",
"_score":1.4227529,
"_source":{
"referer":
"http://affilie.quaelead.com/buy/36/betty-babydoll-noir-elomi-145051.html",
"uri":"/buy/36/betty-babydoll-noir-elomi-145051.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[

"http://affilie.quaelead.com/buy/36/betty-babydoll-noir-elomi-145051.html"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[
"/buy/36/betty-babydoll-noir-elomi-145051.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"CKfEuhLVTeaxdxoGzelZZQ",
"_score":1.4227529,
"_source":{
"referer":
"http://affilie.quaelead.com/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
,
"uri":
"/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[

"http://affilie.quaelead.com/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[

"/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"glEL93i5TVGyzB39m4BWYQ",
"_score":1.4227529,
"_source":{
"referer":
"http://affilie.quaelead.com/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
,
"uri":
"/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[

"http://affilie.quaelead.com/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[

"/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"VDMJd7mTSCygz_rXYSe3AQ",
"_score":1.4227529,
"_source":{
"referer":
"http://affilie.quaelead.com/buy/36/nuisette-et-string-cotton-candy-149585.html"
,
"uri":"/buy/36/nuisette-et-string-cotton-candy-149585.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[

"http://affilie.quaelead.com/buy/36/nuisette-et-string-cotton-candy-149585.html"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[
"/buy/36/nuisette-et-string-cotton-candy-149585.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"3QPwQGsmQk2YyBKKw5WzaQ",
"_score":1.4227529,
"_source":{
"referer":
"http://affilie.quaelead.com/buy/36/betty-babydoll-noir-elomi-145051.html",
"uri":"/buy/36/betty-babydoll-noir-elomi-145051.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[

"http://affilie.quaelead.com/buy/36/betty-babydoll-noir-elomi-145051.html"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[
"/buy/36/betty-babydoll-noir-elomi-145051.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"RLYmpQddT5imwM2KvvKzqA",
"_score":1.4227529,
"_source":{
"referer":
"http://affilie.quaelead.com/buy/36/ooh-la-la-shorty-noir-freya-145086.html"
,
"uri":"/buy/36/ooh-la-la-shorty-noir-freya-145086.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[

"http://affilie.quaelead.com/buy/36/ooh-la-la-shorty-noir-freya-145086.html"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[
"/buy/36/ooh-la-la-shorty-noir-freya-145086.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"G8IjKEcLSKSuof96JP329Q",
"_score":1.4227529,
"_source":{
"referer":
"http://affilie.quaelead.com/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
,
"uri":
"/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[

"http://affilie.quaelead.com/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[

"/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"-7DFm0IRTQS2oy8zwl390w",
"_score":1.4227529,
"_source":{
"referer":
"http://affilie.quaelead.com/buy/36/betty-babydoll-noir-elomi-145051.html",
"uri":"/buy/36/betty-babydoll-noir-elomi-145051.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[

"http://affilie.quaelead.com/buy/36/betty-babydoll-noir-elomi-145051.html"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[
"/buy/36/betty-babydoll-noir-elomi-145051.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"fDA32GwnS1iehQ92oif96w",
"_score":1.4227529,
"_source":{
"referer":
"http://affilie.quaelead.com/buy/36/betty-babydoll-noir-elomi-145051.html",
"uri":"/buy/36/betty-babydoll-noir-elomi-145051.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[

"http://affilie.quaelead.com/buy/36/betty-babydoll-noir-elomi-145051.html"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[
"/buy/36/betty-babydoll-noir-elomi-145051.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"yJtCl4pGQZu67qRFqc5NNQ",
"_score":1.4226677,
"_source":{
"referer":
"http://affilie.quaelead.com/buy/36/ooh-la-la-shorty-noir-freya-145086.html"
,
"uri":"/buy/36/ooh-la-la-shorty-noir-freya-145086.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[

"http://affilie.quaelead.com/buy/36/ooh-la-la-shorty-noir-freya-145086.html"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[
"/buy/36/ooh-la-la-shorty-noir-freya-145086.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"Q7r3GtCYQtCwqzsnM3K-5A",
"_score":1.4226677,
"_source":{
"referer":
"http://affilie.quaelead.com/buy/36/nuisette-et-string-cotton-candy-149585.html"
,
"uri":"/buy/36/nuisette-et-string-cotton-candy-149585.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[

"http://affilie.quaelead.com/buy/36/nuisette-et-string-cotton-candy-149585.html"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[
"/buy/36/nuisette-et-string-cotton-candy-149585.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"5LBHx8TFRU2uSQ0BDtCmWA",
"_score":1.4226677,
"_source":{
"referer":
"http://affilie.quaelead.com/buy/36/betty-babydoll-noir-elomi-145051.html",
"uri":"/buy/36/betty-babydoll-noir-elomi-145051.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[

"http://affilie.quaelead.com/buy/36/betty-babydoll-noir-elomi-145051.html"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[
"/buy/36/betty-babydoll-noir-elomi-145051.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"k8-cjQwPSMuPl2UjqDBdhQ",
"_score":1.4226677,
"_source":{
"referer":
"http://affilie.quaelead.com/buy/36/nuisette-et-string-cotton-candy-149585.html"
,
"uri":"/buy/36/nuisette-et-string-cotton-candy-149585.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[

"http://affilie.quaelead.com/buy/36/nuisette-et-string-cotton-candy-149585.html"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[
"/buy/36/nuisette-et-string-cotton-candy-149585.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"yNAmvgNsQ52dfFXdiMuXRw",
"_score":1.4226677,
"_source":{
"referer":
"http://affilie.quaelead.com/buy/36/nuisette-et-string-cotton-candy-149585.html"
,
"uri":"/buy/36/nuisette-et-string-cotton-candy-149585.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[

"http://affilie.quaelead.com/buy/36/nuisette-et-string-cotton-candy-149585.html"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[
"/buy/36/nuisette-et-string-cotton-candy-149585.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"HYnO-22HTiuw2sYEdIACRQ",
"_score":1.4226677,
"_source":{
"referer":
"http://affilie.quaelead.com/buy/36/ooh-la-la-shorty-noir-freya-145086.html"
,
"uri":"/buy/36/ooh-la-la-shorty-noir-freya-145086.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[

"http://affilie.quaelead.com/buy/36/ooh-la-la-shorty-noir-freya-145086.html"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[
"/buy/36/ooh-la-la-shorty-noir-freya-145086.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"0WrRdHGpSE6Q6Wn-hPSnHg",
"_score":1.4226677,
"_source":{
"referer":
"http://affilie.quaelead.com/buy/36/nuisette-et-string-cotton-candy-149585.html"
,
"uri":"/buy/36/nuisette-et-string-cotton-candy-149585.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[

"http://affilie.quaelead.com/buy/36/nuisette-et-string-cotton-candy-149585.html"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[
"/buy/36/nuisette-et-string-cotton-candy-149585.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"09JbJub-Sdy_nqW317oW_w",
"_score":1.4226677,
"_source":{
"referer":
"http://affilie.quaelead.com/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
,
"uri":
"/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[

"http://affilie.quaelead.com/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[

"/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"J0YngzXBSEOO4FSgUuBHpg",
"_score":1.4226677,
"_source":{
"referer":
"http://affilie.quaelead.com/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
,
"uri":
"/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[

"http://affilie.quaelead.com/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[

"/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"aR4CZh0uQMy_W-vBz0nUhg",
"_score":1.4226677,
"_source":{
"referer":
"http://affilie.quaelead.com/buy/36/betty-babydoll-noir-elomi-145051.html",
"uri":"/buy/36/betty-babydoll-noir-elomi-145051.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[

"http://affilie.quaelead.com/buy/36/betty-babydoll-noir-elomi-145051.html"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[
"/buy/36/betty-babydoll-noir-elomi-145051.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"wzyy3SfiScSokIAXilZXLQ",
"_score":1.4226677,
"_source":{
"referer":
"http://affilie.quaelead.com/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
,
"uri":
"/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[

"http://affilie.quaelead.com/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[

"/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"Ncu-yKyXRSS2xQp83Ho3nA",
"_score":1.4226677,
"_source":{
"referer":
"http://affilie.quaelead.com/buy/36/ooh-la-la-shorty-noir-freya-145086.html"
,
"uri":"/buy/36/ooh-la-la-shorty-noir-freya-145086.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[

"http://affilie.quaelead.com/buy/36/ooh-la-la-shorty-noir-freya-145086.html"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[
"/buy/36/ooh-la-la-shorty-noir-freya-145086.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"vV5LXrfeR1qTfibqB-oS_Q",
"_score":1.4226677,
"_source":{
"referer":
"http://affilie.quaelead.com/buy/36/betty-babydoll-noir-elomi-145051.html",
"uri":"/buy/36/betty-babydoll-noir-elomi-145051.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[

"http://affilie.quaelead.com/buy/36/betty-babydoll-noir-elomi-145051.html"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[
"/buy/36/betty-babydoll-noir-elomi-145051.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"qAD5WHF5T7SBPsV_J9BMyg",
"_score":1.4226677,
"_source":{
"referer":
"http://affilie.quaelead.com/buy/36/betty-babydoll-noir-elomi-145051.html",
"uri":"/buy/36/betty-babydoll-noir-elomi-145051.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[

"http://affilie.quaelead.com/buy/36/betty-babydoll-noir-elomi-145051.html"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[
"/buy/36/betty-babydoll-noir-elomi-145051.html"
]
}
}
]
}
}

the so-called "fixed" script fields actually vary on the documents returned
by the search query (ie. if I limit the result set, those fields can have
values from another document from the result set). Any idea of what might
cause this issue ?

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/90c46041-06ab-427e-bc33-74e35e6c6212%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(dunaeth) #2

Might help to notice that replacing "script":"doc.referer.values"
with "script":"doc.referer.values.toString()" returns the right values.

Le mardi 27 mai 2014 10:49:07 UTC+2, Dunaeth a écrit :

Hi,

I'm having strange issues with data stored in ES. If I do this search
query :

{
"_source":["uri","referer"],
"script_fields":{
"ref_uri_eq":{
"script":"doc.referer.values.contains(doc.uri.values)"
},
"referer1":{
"script":"doc.referer.values"
},
"uri1":{
"script":"doc.uri.values"
},
"referer2":{
"script":"_source.referer"
},
"uri2":{
"script":"_source.uri"
}
},
"query":{
"bool":{
"must":[
{
"term":{
"ip":"24.143.67.34"
}
},
{
"term":{
"valid":true
}
}
]
}
},
"from":0,
"size":250
}

I have results where doc values (referer1, uri1) seem taken from a
different document than the current one :

{
"took":7,
"timed_out":false,
"_shards":{
"total":2,
"successful":2,
"failed":0
},
"hits":{
"total":30,
"max_score":1.4227529,
"hits":[
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"7qWEU6Q-TaqZodwd7xLZWw",
"_score":1.4227529,
"_source":{
"referer":"
http://affilie.quaelead.com/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html
",
"uri":
"/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[
"
http://affilie.quaelead.com/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html
"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[

"/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"UPrfwEgRR_WhuiafzJAsVQ",
"_score":1.4227529,
"_source":{
"referer":"
http://affilie.quaelead.com/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html
",
"uri":
"/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[
"
http://affilie.quaelead.com/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html
"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[

"/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"ZMTm0vmZRvWKGHar3LXc8g",
"_score":1.4227529,
"_source":{
"referer":"
http://affilie.quaelead.com/buy/36/nuisette-et-string-cotton-candy-149585.html
",
"uri":"/buy/36/nuisette-et-string-cotton-candy-149585.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[
"
http://affilie.quaelead.com/buy/36/nuisette-et-string-cotton-candy-149585.html
"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[
"/buy/36/nuisette-et-string-cotton-candy-149585.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"HgJuj8YnTp2yg17tDCIUGQ",
"_score":1.4227529,
"_source":{
"referer":"
http://affilie.quaelead.com/buy/36/nuisette-et-string-cotton-candy-149585.html
",
"uri":"/buy/36/nuisette-et-string-cotton-candy-149585.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[
"
http://affilie.quaelead.com/buy/36/nuisette-et-string-cotton-candy-149585.html
"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[
"/buy/36/nuisette-et-string-cotton-candy-149585.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"oTg9fkMnQ6-bIM6aQp8dng",
"_score":1.4227529,
"_source":{
"referer":"
http://affilie.quaelead.com/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html
",
"uri":
"/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[
"
http://affilie.quaelead.com/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html
"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[

"/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"BfKWylc2RjyapShJKTTAbA",
"_score":1.4227529,
"_source":{
"referer":"
http://affilie.quaelead.com/buy/36/ooh-la-la-shorty-noir-freya-145086.html
",
"uri":"/buy/36/ooh-la-la-shorty-noir-freya-145086.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[
"
http://affilie.quaelead.com/buy/36/ooh-la-la-shorty-noir-freya-145086.html
"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[
"/buy/36/ooh-la-la-shorty-noir-freya-145086.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"6WRervaHRxax0beYeD46zA",
"_score":1.4227529,
"_source":{
"referer":"
http://affilie.quaelead.com/buy/36/betty-babydoll-noir-elomi-145051.html",
"uri":"/buy/36/betty-babydoll-noir-elomi-145051.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[
"
http://affilie.quaelead.com/buy/36/betty-babydoll-noir-elomi-145051.html"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[
"/buy/36/betty-babydoll-noir-elomi-145051.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"gpyE18DSR7qTkxa7cUYM9Q",
"_score":1.4227529,
"_source":{
"referer":"
http://affilie.quaelead.com/buy/36/betty-babydoll-noir-elomi-145051.html",
"uri":"/buy/36/betty-babydoll-noir-elomi-145051.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[
"
http://affilie.quaelead.com/buy/36/betty-babydoll-noir-elomi-145051.html"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[
"/buy/36/betty-babydoll-noir-elomi-145051.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"CKfEuhLVTeaxdxoGzelZZQ",
"_score":1.4227529,
"_source":{
"referer":"
http://affilie.quaelead.com/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html
",
"uri":
"/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[
"
http://affilie.quaelead.com/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html
"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[

"/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"glEL93i5TVGyzB39m4BWYQ",
"_score":1.4227529,
"_source":{
"referer":"
http://affilie.quaelead.com/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html
",
"uri":
"/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[
"
http://affilie.quaelead.com/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html
"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[

"/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"VDMJd7mTSCygz_rXYSe3AQ",
"_score":1.4227529,
"_source":{
"referer":"
http://affilie.quaelead.com/buy/36/nuisette-et-string-cotton-candy-149585.html
",
"uri":"/buy/36/nuisette-et-string-cotton-candy-149585.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[
"
http://affilie.quaelead.com/buy/36/nuisette-et-string-cotton-candy-149585.html
"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[
"/buy/36/nuisette-et-string-cotton-candy-149585.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"3QPwQGsmQk2YyBKKw5WzaQ",
"_score":1.4227529,
"_source":{
"referer":"
http://affilie.quaelead.com/buy/36/betty-babydoll-noir-elomi-145051.html",
"uri":"/buy/36/betty-babydoll-noir-elomi-145051.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[
"
http://affilie.quaelead.com/buy/36/betty-babydoll-noir-elomi-145051.html"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[
"/buy/36/betty-babydoll-noir-elomi-145051.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"RLYmpQddT5imwM2KvvKzqA",
"_score":1.4227529,
"_source":{
"referer":"
http://affilie.quaelead.com/buy/36/ooh-la-la-shorty-noir-freya-145086.html
",
"uri":"/buy/36/ooh-la-la-shorty-noir-freya-145086.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[
"
http://affilie.quaelead.com/buy/36/ooh-la-la-shorty-noir-freya-145086.html
"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[
"/buy/36/ooh-la-la-shorty-noir-freya-145086.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"G8IjKEcLSKSuof96JP329Q",
"_score":1.4227529,
"_source":{
"referer":"
http://affilie.quaelead.com/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html
",
"uri":
"/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[
"
http://affilie.quaelead.com/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html
"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[

"/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"-7DFm0IRTQS2oy8zwl390w",
"_score":1.4227529,
"_source":{
"referer":"
http://affilie.quaelead.com/buy/36/betty-babydoll-noir-elomi-145051.html",
"uri":"/buy/36/betty-babydoll-noir-elomi-145051.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[
"
http://affilie.quaelead.com/buy/36/betty-babydoll-noir-elomi-145051.html"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[
"/buy/36/betty-babydoll-noir-elomi-145051.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"fDA32GwnS1iehQ92oif96w",
"_score":1.4227529,
"_source":{
"referer":"
http://affilie.quaelead.com/buy/36/betty-babydoll-noir-elomi-145051.html",
"uri":"/buy/36/betty-babydoll-noir-elomi-145051.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[
"
http://affilie.quaelead.com/buy/36/betty-babydoll-noir-elomi-145051.html"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[
"/buy/36/betty-babydoll-noir-elomi-145051.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"yJtCl4pGQZu67qRFqc5NNQ",
"_score":1.4226677,
"_source":{
"referer":"
http://affilie.quaelead.com/buy/36/ooh-la-la-shorty-noir-freya-145086.html
",
"uri":"/buy/36/ooh-la-la-shorty-noir-freya-145086.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[
"
http://affilie.quaelead.com/buy/36/ooh-la-la-shorty-noir-freya-145086.html
"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[
"/buy/36/ooh-la-la-shorty-noir-freya-145086.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"Q7r3GtCYQtCwqzsnM3K-5A",
"_score":1.4226677,
"_source":{
"referer":"
http://affilie.quaelead.com/buy/36/nuisette-et-string-cotton-candy-149585.html
",
"uri":"/buy/36/nuisette-et-string-cotton-candy-149585.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[
"
http://affilie.quaelead.com/buy/36/nuisette-et-string-cotton-candy-149585.html
"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[
"/buy/36/nuisette-et-string-cotton-candy-149585.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"5LBHx8TFRU2uSQ0BDtCmWA",
"_score":1.4226677,
"_source":{
"referer":"
http://affilie.quaelead.com/buy/36/betty-babydoll-noir-elomi-145051.html",
"uri":"/buy/36/betty-babydoll-noir-elomi-145051.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[
"
http://affilie.quaelead.com/buy/36/betty-babydoll-noir-elomi-145051.html"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[
"/buy/36/betty-babydoll-noir-elomi-145051.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"k8-cjQwPSMuPl2UjqDBdhQ",
"_score":1.4226677,
"_source":{
"referer":"
http://affilie.quaelead.com/buy/36/nuisette-et-string-cotton-candy-149585.html
",
"uri":"/buy/36/nuisette-et-string-cotton-candy-149585.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[
"
http://affilie.quaelead.com/buy/36/nuisette-et-string-cotton-candy-149585.html
"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[
"/buy/36/nuisette-et-string-cotton-candy-149585.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"yNAmvgNsQ52dfFXdiMuXRw",
"_score":1.4226677,
"_source":{
"referer":"
http://affilie.quaelead.com/buy/36/nuisette-et-string-cotton-candy-149585.html
",
"uri":"/buy/36/nuisette-et-string-cotton-candy-149585.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[
"
http://affilie.quaelead.com/buy/36/nuisette-et-string-cotton-candy-149585.html
"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[
"/buy/36/nuisette-et-string-cotton-candy-149585.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"HYnO-22HTiuw2sYEdIACRQ",
"_score":1.4226677,
"_source":{
"referer":"
http://affilie.quaelead.com/buy/36/ooh-la-la-shorty-noir-freya-145086.html
",
"uri":"/buy/36/ooh-la-la-shorty-noir-freya-145086.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[
"
http://affilie.quaelead.com/buy/36/ooh-la-la-shorty-noir-freya-145086.html
"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[
"/buy/36/ooh-la-la-shorty-noir-freya-145086.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"0WrRdHGpSE6Q6Wn-hPSnHg",
"_score":1.4226677,
"_source":{
"referer":"
http://affilie.quaelead.com/buy/36/nuisette-et-string-cotton-candy-149585.html
",
"uri":"/buy/36/nuisette-et-string-cotton-candy-149585.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[
"
http://affilie.quaelead.com/buy/36/nuisette-et-string-cotton-candy-149585.html
"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[
"/buy/36/nuisette-et-string-cotton-candy-149585.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"09JbJub-Sdy_nqW317oW_w",
"_score":1.4226677,
"_source":{
"referer":"
http://affilie.quaelead.com/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html
",
"uri":
"/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[
"
http://affilie.quaelead.com/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html
"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[

"/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"J0YngzXBSEOO4FSgUuBHpg",
"_score":1.4226677,
"_source":{
"referer":"
http://affilie.quaelead.com/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html
",
"uri":
"/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[
"
http://affilie.quaelead.com/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html
"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[

"/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"aR4CZh0uQMy_W-vBz0nUhg",
"_score":1.4226677,
"_source":{
"referer":"
http://affilie.quaelead.com/buy/36/betty-babydoll-noir-elomi-145051.html",
"uri":"/buy/36/betty-babydoll-noir-elomi-145051.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[
"
http://affilie.quaelead.com/buy/36/betty-babydoll-noir-elomi-145051.html"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[
"/buy/36/betty-babydoll-noir-elomi-145051.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"wzyy3SfiScSokIAXilZXLQ",
"_score":1.4226677,
"_source":{
"referer":"
http://affilie.quaelead.com/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html
",
"uri":
"/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[
"
http://affilie.quaelead.com/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html
"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[

"/buy/35/marinella-bas-de-maillot-de-bain-noue-sur-les-cotes-multicolore-freya-223435.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"Ncu-yKyXRSS2xQp83Ho3nA",
"_score":1.4226677,
"_source":{
"referer":"
http://affilie.quaelead.com/buy/36/ooh-la-la-shorty-noir-freya-145086.html
",
"uri":"/buy/36/ooh-la-la-shorty-noir-freya-145086.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[
"
http://affilie.quaelead.com/buy/36/ooh-la-la-shorty-noir-freya-145086.html
"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[
"/buy/36/ooh-la-la-shorty-noir-freya-145086.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"vV5LXrfeR1qTfibqB-oS_Q",
"_score":1.4226677,
"_source":{
"referer":"
http://affilie.quaelead.com/buy/36/betty-babydoll-noir-elomi-145051.html",
"uri":"/buy/36/betty-babydoll-noir-elomi-145051.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[
"
http://affilie.quaelead.com/buy/36/betty-babydoll-noir-elomi-145051.html"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[
"/buy/36/betty-babydoll-noir-elomi-145051.html"
]
}
},
{
"_index":"log-2014-04",
"_type":"partner_product_clic",
"_id":"qAD5WHF5T7SBPsV_J9BMyg",
"_score":1.4226677,
"_source":{
"referer":"
http://affilie.quaelead.com/buy/36/betty-babydoll-noir-elomi-145051.html",
"uri":"/buy/36/betty-babydoll-noir-elomi-145051.html"
},
"fields":{
"referer1":[
[
"145051",
"36",
"affilie",
"babydoll",
"betty",
"buy",
"com",
"elomi",
"html",
"http",
"noir",
"quaelead"
]
],
"referer2":[
"
http://affilie.quaelead.com/buy/36/betty-babydoll-noir-elomi-145051.html"
],
"ref_uri_eq":[
false
],
"uri1":[
[
"145051",
"36",
"babydoll",
"betty",
"buy",
"elomi",
"html",
"noir"
]
],
"test":[
false
],
"uri2":[
"/buy/36/betty-babydoll-noir-elomi-145051.html"
]
}
}
]
}
}

the so-called "fixed" script fields actually vary on the documents
returned by the search query (ie. if I limit the result set, those fields
can have values from another document from the result set). Any idea of
what might cause this issue ?

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/083e4579-19d5-450f-be5f-e9827d6384f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #3