A Pen by Nick Mkrtchyan on CodePen.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
h1,.antidot-tabs,.breadcrumbs li:first-child,.antidot-empty-container{display:none!important;} | |
.breadcrumbs li:last-child { | |
font-size:44px; | |
text-align: right; | |
width: 830px; | |
overflow: hidden; | |
margin: 100px; | |
display: flex; | |
justify-content: flex-end; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
past this json object here : http://www.jsonlint.com/ | |
{ | |
"took": 7, | |
"timed_out": false, | |
"_shards": { | |
"total": 5, | |
"successful": 5, | |
"failed": 0 | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
creation of the index : | |
curl -XPUT localhost:9200/places -d '{ | |
"settings" : { | |
"index" : { | |
"analysis" : { | |
"analyzer" : { | |
"default" : { | |
"type" : "custom", | |
"tokenizer" : "whitespace", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
inside MYMODULE.info : | |
/** | |
* Implements hook_library(). | |
*/ | |
function MYMODULE_library(){ | |
$libraries=array(); | |
// UI checkbox | |
$libraries['ui.checkbox'] = array( | |
'title' => 'jQuery UI: Checkbox', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@www:~# curl -XDELETE 'http://localhost:9200/places/' | |
{"error":"IndexMissingException[[places] missing]","status":404}root@www:~# ^C | |
root@www:~# curl -XPUT localhost:9200/places -d '{ | |
> "settings" : { | |
> "index" : { | |
> "analysis" : { | |
> "analyzer" : { | |
> "default" : { | |
> "type" : "custom", | |
> "tokenizer" : "whitespace", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -XPUT localhost:9200/places -d '{ | |
"settings" : { | |
"index" : { | |
"analysis" : { | |
"default" : { | |
"type" : "custom", | |
"tokenizer" : "whitespace", | |
"filter" : ["standard", "lowercase", "snowball"] | |
}, | |
"motcle":{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define analyzer ?maybe is better to define inside the mapping... | |
index: | |
analysis: | |
analyzer: | |
default: | |
type: custom | |
tokenizer: whitespace | |
filter:[standard, lowercase, snowball] | |
motcle: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is my analyzer configuration : | |
index: | |
analysis: | |
analyzer: | |
default: | |
type: custom | |
tokenizer: whitespace | |
filter:[standard, lowercase, snowball] | |
motcle: | |
tokenizer: keyword |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"LEADID":"351877000000048133","SMOWNERID":"351877000000040003","name":"B COLLETTE HOLDING","TEL":"04 75 25 12 84","created":"2011-03-05 09:47:25","modified":"2011-03-05 09:47:25","ADRESSE":"Peyrambert","CITY":"CREST","CP":"26400","RUBRIQUE_PROFESSIONNELLE":"Activit\ufffds des soci\ufffdt\ufffds holding","CODE_NAF":"6420Z","location":"44.710905,5.0108645"} |
NewerOlder