Skip to content

Instantly share code, notes, and snippets.

View medcl's full-sized avatar
💭
We build tools, you change world.

Medcl medcl

💭
We build tools, you change world.
View GitHub Profile
Method:POST,Status:INTERNAL_SERVER_ERROR,Url:127.0.0.1:9500/index_search_operatec758499e-36f5-41a0-b72d-a9f440571ed4/type/_search,
ReqData
{
"from": 0,
"size": 5,
"query": {
"constant_score": {
Url:127.0.0.1:9200/index_search_operate14894cbd-ec15-414f-a405-f329cc370b29/type/_search,
ReqData
{
"from": 0,
"size": 5,
"query": {
"constant_score": {
{
"from": 0,
"size": 5,
"query": {
"constant_score": {
"filter": {
"and": [
{
"term": {
"_tenantid": "100100"
{
"from": 0,
"size": 5,
"query": {
"constant_score": {
"filter": {
"bool": {
"must": [
{
"numeric_range": {
@medcl
medcl / asd1111111111111111111111111111111111111111111111111111
Created November 23, 2011 13:05
asdf1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
hello world
curl localhost:9200/a/b -d'{short:"NP"}'
curl localhost:9200/a/b -d'{short:"NPL"}'
curl localhost:9200/a/b -d'{short:"NPLP"}'
curl localhost:9200/a/b -d'{short:"NPNP"}'
curl localhost:9200/a/b -d'{short:"LNP"}'
curl localhost:9200/a/b -d'{short:"NLNP"}'
curl localhost:9200/a/b -d'{short:"NNP"}'
curl localhost:9200/a/b -d'{short:"NPP"}'
curl localhost:9200/a/b -d'{short:"np"}'
GET http://10.129.8.58:9200/beisen.multitenant.client/_search?q=%2b__TYPEID%3a%22a4b041be-be43-43c0-b4df-918724c19f53%22+%2b_tenantid%3a100001 HTTP/1.1
User-Agent: Fiddler
Host: 10.129.8.58:9200
Content-Length: 0
HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Content-Type: application/json; charset=UTF-8
Content-Length: 3727
@medcl
medcl / gist:758402
Created December 29, 2010 10:28 — forked from kimchy/gist:758398
curl -XPUT 'http://localhost:9200/dbparent/metadata/1' -d '{ "user" : "senthil", "Title" : "trying out Elastic Search"}'
curl -XPUT 'http://localhost:9200/dbparent/metadata/2' -d '{ "user" : "kumar", "Title" : "Elastic Search"}'
curl -XPUT 'http://localhost:9200/dbparent/child/_mapping' -d '{ "child" : { "_parent" : { "type" : "metadata" } }}'
curl -XPUT 'http://localhost:9200/dbparent/child/1?parent=1' -d '{ "tag" : "something"}'
curl -XGET 'http://localhost:9200/dbparent/_search' -d '{
{"error":"SearchPhaseExecutionException[Failed to execute phase [query], total failure; shardFailures {null: ArrayIndexOutOfBoundsException[null]}{null: ArrayIndexOutOfBoundsException[null]}{null: ArrayIndexOutOfBoundsException[null]}{null: ArrayIndexOutOfBoundsException[null]}{null: ArrayIndexOutOfBoundsException[null]}]"}
another exception:
http://localhost:9200/dataaccesstest/c2b63cbc-e147-43bc-adb7-95ed7226d476/_search?q=%2b__TENANTID%3a100001+%2b__TYPEID%3ac2b63cbc-e147-43bc-adb7-95ed7226d476+Score:{0 TO 70.5}
[2010-11-04 13:47:19,679][DEBUG][index.gateway ] [Mister Buda] [search_index][1] recovery completed from local, took [47ms]
index : files [0] with total_size [0b], took[14917.2d]
: recovered_files [0] with total_size [0b]
: reusing_files [0] with total_size [0b]
translog : number_of_operations [0], took [14917.2d]
[2010-11-04 13:47:19,685][DEBUG][index.shard.recovery ] [Mister Buda] [search_index][0] recovery completed from [Time Bomb][cJXGXAPCQNWk6DwrwcGozw][inet[/10.129.6.33:9300]], took[6ms]
phase1: recovered_files [1] with total_size of [32b], took [2ms], throttling_wait [0s]
: reusing_files [0] with total_size of [0b]
phase2: recovered [0] transaction log operations, took [3ms]
phase3: recovered [0] transaction log operations, took [1ms]