Sample Usage For the PHP Turkish Stemmer Project
You can download the gist as zip and open it. After open it, run the below command:
composer install
Then our environment ready. Just run the file :
You can download the gist as zip and open it. After open it, run the below command:
composer install
Then our environment ready. Just run the file :
; Choose how the process manager will control the number of child processes. | |
; Possible Values: | |
; static - a fixed number (pm.max_children) of child processes; | |
; dynamic - the number of child processes are set dynamically based on the | |
; following directives. With this process management, there will be | |
; always at least 1 children. | |
; pm.max_children - the maximum number of children that can | |
; be alive at the same time. | |
; pm.start_servers - the number of children created on startup. | |
; pm.min_spare_servers - the minimum number of children in 'idle' |
# images field type is nested
GET products/_search
{
"track_total_hits": true,
"size": 0,
"aggs": {
"counts": {
"terms": {
"script": "params['_source']['images'].size()",
//******************************************************************* | |
// Welcome to CompileJava! | |
// If you experience any issues, please contact us ('More Info') --> | |
// Sorry that the "Paste" feature no longer works! GitHub broke it. | |
//******************************************************************* | |
import java.lang.Math; // headers MUST be above the first class | |
/* |
<?php | |
trait A { | |
public static function dispatch() | |
{ | |
var_dump(func_get_args()); | |
return new static(...func_get_args()); | |
} | |
} |
DELETE demodata
PUT demodata
{
"mappings": {
"document": {
"properties": {
"documentName": {
########
GET _analyze
{
"text": ["document.txt"],
"analyzer": "standard"
}
{
DELETE products
PUT products
{
"settings": {
"number_of_shards": 1,
"number_of_replicas": 0
},
"mappings": {
DELETE products
PUT products
{
"settings": {
"number_of_shards": 1,
"number_of_replicas": 0
},
"mappings": {
<?php | |
class Container | |
{ | |
protected $container = []; | |
public function add($a) | |
{ | |
$this->container[] = $a; | |
} |