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
{"query":{"filtered":{"query":{"text":{"_all":"poker"}},"filter":[{"term":{"user.role":"expert"}},{"term":{"expertprofile.approved":1}},{"term":{"expertprofile.is_public":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
{"query": {"filtered": { | |
"query": {"text": {"_all": "poker"}}, | |
"filter": {"or": [ | |
{"term": {"user.role": "expert"}}, | |
{"term": {"expertprofile.approved": 1}}, | |
{"term": {"expertprofile.is_public": 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
{"filtered": { | |
"query": {"text": {"_all": "poker"}}, | |
"filter": [ | |
{"term": {"user.role": "expert"}}, | |
{"term": {"expertprofile.approved": 1}}, | |
{"term": {"expertprofile.is_public": 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
{"User": { | |
"email": "bc561@hotmail.com", | |
"slug": "philip-newall", | |
"role": "expert", | |
"id": "4d792f20-4c60-447b-8e37-065dadcb5c22" | |
}} |
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
{"filtered": { | |
"query": {"text": {"_all": "poker"}}, | |
"filter": {"and": [ | |
{"term": {"user.role": "expert"}}, | |
{"term": {"expertprofile.approved": 1}}, | |
{"term": {"expertprofile.is_public": 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
{"user": {"properties": { | |
"User": { | |
"dynamic": "true", | |
"properties": { | |
"id": {"type": "string"}, | |
"email": {"type": "string"}, | |
"role": {"type": "string"}, | |
"slug": {"type": "string"} | |
} | |
}, |
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
jQuery(function() { | |
var Property = Backbone.Model.extend({ | |
/** | |
* Primary key-like ID for each model | |
*/ | |
idAttribute: 'ListingKey', | |
/** |
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
{ | |
"_index":"listings", | |
"_type":"latest", | |
"_id":"1500-main-st-venice-ca-90291", | |
"_version":1, | |
"exists":true, | |
"_source":{ | |
"BuildingSize":2915, | |
"Country":"UNITED STATES OF AMERICA", | |
"ListPrice":4995000, |
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
// http://cl.ly/2y1P02082I2n2g3B3h1s <-- ES results on left, cleaned up results on right | |
{ | |
"query":{ | |
"match_all":{ | |
} | |
}, | |
"filter":{ | |
"and":[ |
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
{ | |
"query":{ | |
"query_string":{ | |
"default_field":"FullAddress", | |
"query":"2920^0 Valle^1 Vista^2 Drive,^3 Eagle^4 Rock,^5 CA^6" | |
} | |
}, | |
"filter":{ | |
"terms":{ | |
"ListingStatus":[ |
OlderNewer