| 1 |
18.42 ms |
4.00 ms |
{"query":{"bool":{"must_not":[{"terms":{"_id":["ET040-40"]}}],"must":[{"match":{"texte":{"query":"professionnel","minimum_should_match":"75%","fuzziness":"0.75"}}},{"bool":{"should":[{"terms":{"ville":["40281"]}},{"bool":{"should":[{"geo_distance":{"distance":"20km","coordonnees":{"lat":43.883333,"lon":-0.516667}}}],"minimum_should_match":1}}],"minimum_should_match":1}}]}},"size":0,"sort":[{"_script":{"type":"string","order":"desc","script":{"lang":"painless","source":"\n String participant =\n 'true' == doc['participant'].value ?\n '1' : '0';\n String type =\n false == Collections.disjoint(doc['type'], params.types) ?\n '1' : '0';\n String ville =\n false == Collections.disjoint(doc['ville'], params.villes) ?\n '1' : '0';\n\n return\n participant + '_' +\n type + '_' +\n ville + '_' +\n (params.graine + doc['graine'].value).hashCode();\n ","params":{"graine":"144ba38e","types":[],"villes":["40281"]}}}}]}
Path: aep_etablissement/etablissement/_search
Query: search_type=query_then_fetch
Method: GET (Http on localhost:9200)
Item count: 0
View formatted query
View cURL query
View query backtrace
curl -XGET 'http://localhost:9200/aep_etablissement/etablissement/_search?search_type=query_then_fetch' -H 'Content-Type: application/json' -d '{"query":{"bool":{"must_not":[{"terms":{"_id":["ET040-40"]}}],"must":[{"match":{"texte":{"query":"professionnel","minimum_should_match":"75%","fuzziness":"0.75"}}},{"bool":{"should":[{"terms":{"ville":["40281"]}},{"bool":{"should":[{"geo_distance":{"distance":"20km","coordonnees":{"lat":43.883333,"lon":-0.516667}}}],"minimum_should_match":1}}],"minimum_should_match":1}}]}},"size":0,"sort":[{"_script":{"type":"string","order":"desc","script":{"lang":"painless","source":"\n String participant =\n 'true' == doc['participant'].value ?\n '1' : '0';\n String type =\n false == Collections.disjoint(doc['type'], params.types) ?\n '1' : '0';\n String ville =\n false == Collections.disjoint(doc['ville'], params.villes) ?\n '1' : '0';\n\n return\n participant + '_' +\n type + '_' +\n ville + '_' +\n (params.graine + doc['graine'].value).hashCode();\n ","params":{"graine":"144ba38e","types":[],"villes":["40281"]}}}}]}'
#0 /app/vendor/friendsofsymfony/elastica-bundle/src/Elastica/Client.php(145): FOS\ElasticaBundle\Logger\ElasticaLogger->logQuery()
#1 /app/vendor/friendsofsymfony/elastica-bundle/src/Elastica/Client.php(72): FOS\ElasticaBundle\Elastica\Client->logQuery()
#2 /app/vendor/ruflin/elastica/lib/Elastica/Search.php(488): FOS\ElasticaBundle\Elastica\Client->request()
#3 /app/vendor/ruflin/elastica/lib/Elastica/Type.php(377): Elastica\Search->count()
#4 /app/vendor/friendsofsymfony/elastica-bundle/src/Paginator/RawPaginatorAdapter.php(93): Elastica\Type->count()
#5 /app/src/Elasticsearch/Moteur.php(94): FOS\ElasticaBundle\Paginator\RawPaginatorAdapter->getTotalHits()
#6 /app/src/Controller/FicheController.php(162): App\Elasticsearch\Moteur->cherche()
#7 /app/vendor/symfony/http-kernel/HttpKernel.php(163): App\Controller\FicheController->index()
#8 /app/vendor/symfony/http-kernel/HttpKernel.php(75): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
#9 /app/vendor/symfony/http-kernel/Kernel.php(202): Symfony\Component\HttpKernel\HttpKernel->handle()
#10 /app/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php(86): Symfony\Component\HttpKernel\Kernel->handle()
#11 /app/vendor/symfony/http-kernel/HttpCache/HttpCache.php(479): Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle()
#12 /app/vendor/symfony/framework-bundle/HttpCache/HttpCache.php(73): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward()
#13 /app/vendor/symfony/http-kernel/HttpCache/HttpCache.php(452): Symfony\Bundle\FrameworkBundle\HttpCache\HttpCache->forward()
#14 /app/vendor/symfony/http-kernel/HttpCache/HttpCache.php(346): Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch()
#15 /app/vendor/symfony/http-kernel/HttpCache/HttpCache.php(224): Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup()
#16 /app/vendor/symfony/http-kernel/Kernel.php(193): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle()
#17 /app/public/index.php(22): Symfony\Component\HttpKernel\Kernel->handle()
#18 {main}
|
| 2 |
3.21 ms |
2.00 ms |
{"query":{"bool":{"must":[{"match":{"texte":{"query":"professionnel","minimum_should_match":"75%","fuzziness":"0.75"}}},{"bool":{"should":[{"terms":{"ville":["40281"]}},{"bool":{"should":[{"geo_distance":{"distance":"20km","coordonnees":{"lat":43.883333,"lon":-0.516667}}}],"minimum_should_match":1}}],"minimum_should_match":1}}]}},"size":0}
Path: aep_etablissement/etablissement/_search
Query: search_type=query_then_fetch
Method: GET (Http on localhost:9200)
Item count: 1
View formatted query
View cURL query
View query backtrace
curl -XGET 'http://localhost:9200/aep_etablissement/etablissement/_search?search_type=query_then_fetch' -H 'Content-Type: application/json' -d '{"query":{"bool":{"must":[{"match":{"texte":{"query":"professionnel","minimum_should_match":"75%","fuzziness":"0.75"}}},{"bool":{"should":[{"terms":{"ville":["40281"]}},{"bool":{"should":[{"geo_distance":{"distance":"20km","coordonnees":{"lat":43.883333,"lon":-0.516667}}}],"minimum_should_match":1}}],"minimum_should_match":1}}]}},"size":0}'
#0 /app/vendor/friendsofsymfony/elastica-bundle/src/Elastica/Client.php(145): FOS\ElasticaBundle\Logger\ElasticaLogger->logQuery()
#1 /app/vendor/friendsofsymfony/elastica-bundle/src/Elastica/Client.php(72): FOS\ElasticaBundle\Elastica\Client->logQuery()
#2 /app/vendor/ruflin/elastica/lib/Elastica/Search.php(488): FOS\ElasticaBundle\Elastica\Client->request()
#3 /app/vendor/ruflin/elastica/lib/Elastica/Type.php(377): Elastica\Search->count()
#4 /app/src/Elasticsearch/Moteur.php(223): Elastica\Type->count()
#5 /app/src/Controller/FicheController.php(180): App\Elasticsearch\Moteur->count()
#6 /app/vendor/symfony/http-kernel/HttpKernel.php(163): App\Controller\FicheController->index()
#7 /app/vendor/symfony/http-kernel/HttpKernel.php(75): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
#8 /app/vendor/symfony/http-kernel/Kernel.php(202): Symfony\Component\HttpKernel\HttpKernel->handle()
#9 /app/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php(86): Symfony\Component\HttpKernel\Kernel->handle()
#10 /app/vendor/symfony/http-kernel/HttpCache/HttpCache.php(479): Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle()
#11 /app/vendor/symfony/framework-bundle/HttpCache/HttpCache.php(73): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward()
#12 /app/vendor/symfony/http-kernel/HttpCache/HttpCache.php(452): Symfony\Bundle\FrameworkBundle\HttpCache\HttpCache->forward()
#13 /app/vendor/symfony/http-kernel/HttpCache/HttpCache.php(346): Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch()
#14 /app/vendor/symfony/http-kernel/HttpCache/HttpCache.php(224): Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup()
#15 /app/vendor/symfony/http-kernel/Kernel.php(193): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle()
#16 /app/public/index.php(22): Symfony\Component\HttpKernel\Kernel->handle()
#17 {main}
|
| 3 |
7.06 ms |
6.00 ms |
{"query":{"bool":{"must":[{"match":{"texte":{"query":"professionnel","minimum_should_match":"75%","fuzziness":"0.75"}}},{"bool":{"should":[{"terms":{"ville":["40281"]}},{"bool":{"should":[{"geo_distance":{"distance":"20km","coordonnees":{"lat":43.883333,"lon":-0.516667}}}],"minimum_should_match":1}}],"minimum_should_match":1}}]}},"size":1000,"sort":[{"_script":{"type":"string","order":"desc","script":{"lang":"painless","source":"\n String participant =\n 'true' == doc['participant'].value ?\n '1' : '0';\n String type =\n false == Collections.disjoint(doc['type'], params.types) ?\n '1' : '0';\n String ville =\n false == Collections.disjoint(doc['ville'], params.villes) ?\n '1' : '0';\n\n return\n participant + '_' +\n type + '_' +\n ville + '_' +\n (params.graine + doc['graine'].value).hashCode();\n ","params":{"graine":"bffc4515","types":[],"villes":["40281"]}}}}]}
Path: aep_etablissement/etablissement/_search
Query:
Method: GET (Http on localhost:9200)
Item count: 1
View formatted query
View cURL query
View query backtrace
curl -XGET 'http://localhost:9200/aep_etablissement/etablissement/_search' -H 'Content-Type: application/json' -d '{"query":{"bool":{"must":[{"match":{"texte":{"query":"professionnel","minimum_should_match":"75%","fuzziness":"0.75"}}},{"bool":{"should":[{"terms":{"ville":["40281"]}},{"bool":{"should":[{"geo_distance":{"distance":"20km","coordonnees":{"lat":43.883333,"lon":-0.516667}}}],"minimum_should_match":1}}],"minimum_should_match":1}}]}},"size":1000,"sort":[{"_script":{"type":"string","order":"desc","script":{"lang":"painless","source":"\n String participant =\n 'true' == doc['participant'].value ?\n '1' : '0';\n String type =\n false == Collections.disjoint(doc['type'], params.types) ?\n '1' : '0';\n String ville =\n false == Collections.disjoint(doc['ville'], params.villes) ?\n '1' : '0';\n\n return\n participant + '_' +\n type + '_' +\n ville + '_' +\n (params.graine + doc['graine'].value).hashCode();\n ","params":{"graine":"bffc4515","types":[],"villes":["40281"]}}}}]}'
#0 /app/vendor/friendsofsymfony/elastica-bundle/src/Elastica/Client.php(145): FOS\ElasticaBundle\Logger\ElasticaLogger->logQuery()
#1 /app/vendor/friendsofsymfony/elastica-bundle/src/Elastica/Client.php(72): FOS\ElasticaBundle\Elastica\Client->logQuery()
#2 /app/vendor/ruflin/elastica/lib/Elastica/Search.php(460): FOS\ElasticaBundle\Elastica\Client->request()
#3 /app/vendor/ruflin/elastica/lib/Elastica/Type.php(361): Elastica\Search->search()
#4 /app/src/Elasticsearch/Moteur.php(121): Elastica\Type->search()
#5 /app/src/Controller/FicheController.php(181): App\Elasticsearch\Moteur->createContext()
#6 /app/vendor/symfony/http-kernel/HttpKernel.php(163): App\Controller\FicheController->index()
#7 /app/vendor/symfony/http-kernel/HttpKernel.php(75): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
#8 /app/vendor/symfony/http-kernel/Kernel.php(202): Symfony\Component\HttpKernel\HttpKernel->handle()
#9 /app/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php(86): Symfony\Component\HttpKernel\Kernel->handle()
#10 /app/vendor/symfony/http-kernel/HttpCache/HttpCache.php(479): Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle()
#11 /app/vendor/symfony/framework-bundle/HttpCache/HttpCache.php(73): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward()
#12 /app/vendor/symfony/http-kernel/HttpCache/HttpCache.php(452): Symfony\Bundle\FrameworkBundle\HttpCache\HttpCache->forward()
#13 /app/vendor/symfony/http-kernel/HttpCache/HttpCache.php(346): Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch()
#14 /app/vendor/symfony/http-kernel/HttpCache/HttpCache.php(224): Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup()
#15 /app/vendor/symfony/http-kernel/Kernel.php(193): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle()
#16 /app/public/index.php(22): Symfony\Component\HttpKernel\Kernel->handle()
#17 {main}
|