This file contains 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
// could be struct? | |
public class MultiResponse<T, E> { | |
// could be struct? | |
public class OkResponse: MultiResponse<T,E> { | |
public T value; | |
} | |
public class ErrResponse: MultiResponse<T,E> { | |
public E value; | |
} |
This file contains 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
POST /hackers/_search | |
{ | |
"query":{ | |
"fuzzy": { | |
"name": "ram" | |
} | |
} | |
} |
This file contains 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
Term | Doc Ids | |
---|---|---|
ra | 3 | |
ram | 3 | |
ramo | 3 | |
… | … |
This file contains 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
Text Input | Terms | |
---|---|---|
Rámon Sánchez | ramon, sanchez |
This file contains 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
Text Input | Terms | |
---|---|---|
Rámon Sánchez | rámon, sánchez |
This file contains 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
{ | |
"mappings": { | |
"_doc": { | |
"properties": { | |
"name" : { | |
"type" : "text", | |
"analyzer": "fuzzy_analysis" | |
}, | |
"handles": { | |
"type": "text", |
This file contains 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
POST /hackers/_search | |
{ | |
"query":{ | |
"fuzzy": { | |
"name": "dat" | |
} | |
} | |
} |
This file contains 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
POST hackers/_search | |
{ | |
"query":{ | |
"term": { | |
"name": "da" | |
} | |
} | |
} |
This file contains 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
Term | Doc Ids | |
---|---|---|
da | 1 | |
dad | 1 | |
dade | 1 | |
… | … |
This file contains 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
{ | |
"mappings": { | |
"_doc": { | |
"properties": { | |
"name" : { | |
"type" : "text", | |
"analyzer": "fuzzy_analysis" | |
}, | |
"handles": { | |
"type": "text", |
NewerOlder