Skip to content

Instantly share code, notes, and snippets.

@woahdae
Created March 18, 2015 05:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save woahdae/fe3d1a3562a463aea4b5 to your computer and use it in GitHub Desktop.
Save woahdae/fe3d1a3562a463aea4b5 to your computer and use it in GitHub Desktop.
Previous query minus 'nested' produces correct results
{
"from": 0,
"size": 10,
"sort": [
{
"_score": {
"order": "desc"
},
"boost": {
"order": "desc",
"missing": "_last",
"ignore_unmapped": true
}
}
],
"query": {
"bool": {
"must": [
{
"function_score": {
"query": {
"filtered": {
"query": {
"match_all": {
}
},
"filter": {
"and": [
{
"match_all": {
}
}
]
}
}
},
"functions": [
{
"script_score": {
"script_id": "fauxNormalizeInventoryItems"
}
}
]
}
},
{
"dis_max": {
"queries": [
{
"function_score": {
"score_mode": "max",
"query": {
"filtered": {
"query": {
"match_all": {
}
},
"filter": {
"and": [
{
"term": {
"_type": "organization"
}
},
{
"geo_bounding_box": {
"organization.locations.coordinates": {
"top_left": {
"lat": 37.81892251706024,
"lon": -122.36382430479199
},
"bottom_right": {
"lat": 37.23999538461684,
"lon": -121.63381452064644
}
}
}
}
]
}
}
},
"functions": [
{
"filter": {
"geo_distance_range": {
"from": "0mi",
"to": "5mi",
"locations.coordinates": [
-121.9885719,
37.5482697
]
}
},
"script_score": {
"script_id": "echo",
"params": {
"value": 3
}
}
},
{
"filter": {
"geo_distance_range": {
"from": "5mi",
"to": "10mi",
"locations.coordinates": [
-121.9885719,
37.5482697
]
}
},
"script_score": {
"script_id": "echo",
"params": {
"value": 2
}
}
},
{
"filter": {
"geo_distance_range": {
"from": "10mi",
"to": "30mi",
"locations.coordinates": [
-121.9885719,
37.5482697
]
}
},
"script_score": {
"script_id": "echo",
"params": {
"value": 1
}
}
}
]
}
}
]
}
}
]
}
},
"filter": {
"bool": {
"should": [
{
"and": [
{
"match_all": {
}
},
{
"nested": {
"path": "schedules",
"filter": {
"and": [
{
"match_all": {
}
}
]
}
}
}
]
},
{
"and": [
{
"match_all": {
}
}
]
}
]
}
},
"facets": {
"tags": {
"terms": {
"field": "tags.exact",
"size": 15
},
"facet_filter": {
"or": [
{
"term": {
"_type": "inventory_item"
}
},
{
"term": {
"_type": "organization"
}
}
]
}
},
"type": {
"terms": {
"field": "_type"
}
},
"selected_sessions": {
"nested": "schedules",
"facet_filter": {
"and": [
{
"match_all": {
}
},
{
"geo_bounding_box": {
"schedules.location.coordinates": {
"top_left": {
"lat": 37.81892251706024,
"lon": -122.36382430479199
},
"bottom_right": {
"lat": 37.23999538461684,
"lon": -121.63381452064644
}
}
}
}
]
},
"terms": {
"script": "doc[\"schedules.id\"].value + \"\n\" +doc[\"schedules.location.coordinates\"].lat + \"\n\" + doc[\"schedules.location.coordinates\"].lon + \"\n\" + doc[\"schedules.location.id\"].value",
"size": 5000
}
},
"discounts": {
"nested": "schedules",
"facet_filter": {
"and": [
{
"match_all": {
}
},
{
"geo_bounding_box": {
"schedules.location.coordinates": {
"top_left": {
"lat": 37.81892251706024,
"lon": -122.36382430479199
},
"bottom_right": {
"lat": 37.23999538461684,
"lon": -121.63381452064644
}
}
}
}
]
},
"terms": {
"field": "schedules.discount.active"
}
},
"locations": {
"nested": "schedules",
"facet_filter": {
"and": [
{
"match_all": {
}
},
{
"geo_bounding_box": {
"schedules.location.coordinates": {
"top_left": {
"lat": 37.81892251706024,
"lon": -122.36382430479199
},
"bottom_right": {
"lat": 37.23999538461684,
"lon": -121.63381452064644
}
}
}
}
]
},
"terms": {
"size": 10,
"field": "schedules.location.locality_hierarchy.exact"
}
},
"days_of_week": {
"nested": "schedules",
"facet_filter": {
"and": [
{
"match_all": {
}
},
{
"geo_bounding_box": {
"schedules.location.coordinates": {
"top_left": {
"lat": 37.81892251706024,
"lon": -122.36382430479199
},
"bottom_right": {
"lat": 37.23999538461684,
"lon": -121.63381452064644
}
}
}
}
]
},
"terms": {
"field": "schedules.days_of_week_array"
}
},
"dow_clustering": {
"nested": "schedules",
"facet_filter": {
"and": [
{
"match_all": {
}
},
{
"geo_bounding_box": {
"schedules.location.coordinates": {
"top_left": {
"lat": 37.81892251706024,
"lon": -122.36382430479199
},
"bottom_right": {
"lat": 37.23999538461684,
"lon": -121.63381452064644
}
}
}
}
]
},
"terms": {
"field": "schedules.day_clustering"
}
},
"time_of_day": {
"nested": "schedules",
"facet_filter": {
"and": [
{
"match_all": {
}
},
{
"geo_bounding_box": {
"schedules.location.coordinates": {
"top_left": {
"lat": 37.81892251706024,
"lon": -122.36382430479199
},
"bottom_right": {
"lat": 37.23999538461684,
"lon": -121.63381452064644
}
}
}
}
]
},
"terms": {
"field": "schedules.time_of_day"
}
},
"ages": {
"nested": "schedules",
"facet_filter": {
"and": [
{
"match_all": {
}
},
{
"geo_bounding_box": {
"schedules.location.coordinates": {
"top_left": {
"lat": 37.81892251706024,
"lon": -122.36382430479199
},
"bottom_right": {
"lat": 37.23999538461684,
"lon": -121.63381452064644
}
}
}
}
]
},
"terms": {
"field": "schedules.ages_array",
"size": 20
}
},
"cost": {
"nested": "schedules",
"facet_filter": {
"and": [
{
"match_all": {
}
},
{
"geo_bounding_box": {
"schedules.location.coordinates": {
"top_left": {
"lat": 37.81892251706024,
"lon": -122.36382430479199
},
"bottom_right": {
"lat": 37.23999538461684,
"lon": -121.63381452064644
}
}
}
}
]
},
"range": {
"field": "schedules.cost",
"ranges": [
{
"to": 50
},
{
"from": 50,
"to": 100
},
{
"from": 100,
"to": 250
},
{
"from": 250
}
]
}
},
"this_weekend": {
"nested": "schedules",
"facet_filter": {
"and": [
{
"match_all": {
}
},
{
"geo_bounding_box": {
"schedules.location.coordinates": {
"top_left": {
"lat": 37.81892251706024,
"lon": -122.36382430479199
},
"bottom_right": {
"lat": 37.23999538461684,
"lon": -121.63381452064644
}
}
}
}
]
},
"filter": {
"and": [
{
"range": {
"schedules.starts_on": {
"gte": "2015-03-21",
"lte": "2015-03-22"
}
}
},
{
"range": {
"schedules.ends_on": {
"gte": "2015-03-21",
"lte": "2015-03-22"
}
}
}
]
}
},
"next_weekend": {
"nested": "schedules",
"facet_filter": {
"and": [
{
"match_all": {
}
},
{
"geo_bounding_box": {
"schedules.location.coordinates": {
"top_left": {
"lat": 37.81892251706024,
"lon": -122.36382430479199
},
"bottom_right": {
"lat": 37.23999538461684,
"lon": -121.63381452064644
}
}
}
}
]
},
"filter": {
"and": [
{
"range": {
"schedules.starts_on": {
"gte": "2015-03-28",
"lte": "2015-03-29"
}
}
},
{
"range": {
"schedules.ends_on": {
"gte": "2015-03-28",
"lte": "2015-03-29"
}
}
}
]
}
},
"this_month": {
"nested": "schedules",
"facet_filter": {
"and": [
{
"match_all": {
}
},
{
"geo_bounding_box": {
"schedules.location.coordinates": {
"top_left": {
"lat": 37.81892251706024,
"lon": -122.36382430479199
},
"bottom_right": {
"lat": 37.23999538461684,
"lon": -121.63381452064644
}
}
}
}
]
},
"filter": {
"and": [
{
"range": {
"schedules.starts_on": {
"gte": "2015-03-18",
"lte": "2015-04-01"
}
}
},
{
"range": {
"schedules.ends_on": {
"gte": "2015-03-18",
"lte": "2015-04-01"
}
}
}
]
}
},
"next_month": {
"nested": "schedules",
"facet_filter": {
"and": [
{
"match_all": {
}
},
{
"geo_bounding_box": {
"schedules.location.coordinates": {
"top_left": {
"lat": 37.81892251706024,
"lon": -122.36382430479199
},
"bottom_right": {
"lat": 37.23999538461684,
"lon": -121.63381452064644
}
}
}
}
]
},
"filter": {
"and": [
{
"range": {
"schedules.starts_on": {
"gte": "2015-04-01",
"lte": "2015-05-01"
}
}
},
{
"range": {
"schedules.ends_on": {
"gte": "2015-04-01",
"lte": "2015-05-01"
}
}
}
]
}
},
"this_summer": {
"nested": "schedules",
"facet_filter": {
"and": [
{
"match_all": {
}
},
{
"geo_bounding_box": {
"schedules.location.coordinates": {
"top_left": {
"lat": 37.81892251706024,
"lon": -122.36382430479199
},
"bottom_right": {
"lat": 37.23999538461684,
"lon": -121.63381452064644
}
}
}
}
]
},
"filter": {
"and": [
{
"range": {
"schedules.starts_on": {
"gte": "2015-06-21",
"lte": "2015-09-22"
}
}
},
{
"range": {
"schedules.ends_on": {
"gte": "2015-06-21",
"lte": "2015-09-22"
}
}
}
]
}
}
},
"explain": true
}
{
"took":17,
"timed_out":false,
"_shards":{
"total":5,
"successful":5,
"failed":0
},
"hits":{
"total":108,
"max_score":null,
"hits":[
{
"_shard":0,
"_node":"YMcw7ZFSRb-mkkcAeK8jzQ",
"_index":"sigby-development-20150317_183538",
"_type":"organization",
"_id":"275",
"_score":2.1213703,
"_source":{
"id":275,
"name":"Starstruck Youth Performing Arts",
"user_id":null,
"created_at":"2015-03-13T15:17:42.234-07:00",
"updated_at":"2015-03-13T15:17:42.234-07:00",
"location_id":null,
"description":"StarStarStruck Musical Theater was created in 1995 by Lori Stokes a resident of Fremont, CA, who hoped to form a local theater for neighborhood children. It was originally named Kids On Broadway, and first performed at the Fremont Education Foundation’s Fundraiser luncheon at Castlewood Country Club, with twelve local children ranging in age from seven to twelve years old.\n\nFor the first 6 years, Kids On Broadway performed to sold out audiences at the local Broadway West Theatre Company. In the year 2000 it became a 501 [c] 3 non-profit theatre and changed its name to StarStruck Musical Theatre. It soon outgrew the Broadway West theatre. After performing a few shows at Mission San Jose High School, Lori Stokes took the big step and booked the Ohlone College Smith Center to produce her winter show. It was Honk!, and it had overwhelming success! Since then, she has gone on to produce and direct two shows each year. The winter show is indoors at the Jackson Theatre and the summer show is performed outdoors in the Amphitheatre. Her recent shows have included: CATS, Les Misérables, The Music Man, Wizard of Oz and Annie. This year in the summer 2011 season, she will be producing Guys and Dolls.Struck is honored to offer START, a program featuring many classes and camps designed to give the young actors of tomorrow a head start in their theatrical pursuits! Classes have included: Musical Theatre Workshops, Group Voice Lessons, Acting classes, Technical Theatre workshop, dance lessons. Summer and Spring Break camps include training in the arts, and musical productions held in our studio.",
"website":"http://www.starstrucktheatre.org/",
"state":"current",
"administrator_email":null,
"phone_number":"510-659-1319",
"slug":"starstruck-youth-performing-arts",
"curated_by":null,
"more_organizations":null,
"short_description":"StarStruck Musical Theater was created in 1995 by Lori Stokes a resident of Fremont, CA, who hoped to form a local theater for neighborhood children. It was originally named Kids On Broadway, and first performed at the Fremont Education Foundation’s Fundraiser luncheon at Castlewood Country Club, with twelve local children ranging in age from seven to twelve years old.",
"administrator_name":"Lori Stokes",
"parent_organization_id":null,
"accepts_common_app":null,
"common_app_contact_emails":null,
"common_app_contact_fax":null,
"custom_booking_questions":[
],
"published":true,
"spring":null,
"summer":null,
"fall":null,
"winter":null,
"favorites_count":0,
"facebook_fan_page":null,
"administrator_position":null,
"administrator_message":null,
"payment_methods_mask":15,
"check_payment_only":false,
"accepts_tnc":false,
"user_contactable":false,
"tags":[
],
"_boost":0.5,
"boost":0.5,
"medium_image_path":null,
"large_image_path":null,
"location_ids":[
231
],
"locations":[
{
"id":231,
"name":"94539",
"zip_postal_code":"94539",
"description":null,
"created_at":"2015-03-13T15:17:42.324-07:00",
"updated_at":"2015-03-13T15:17:42.324-07:00",
"street_address_1":"42307 Osgood Road, Unit L",
"street_address_2":null,
"city":"Fremont",
"state_province":"CA",
"country":"USA",
"full_address":"42307 Osgood Road, Unit L Fremont, CA 94539",
"latitude":37.5269086,
"longitude":-121.9510779,
"foreign_id":null,
"organization_id":275,
"locality_hierarchy":[
],
"coordinates":[
-121.9510779,
37.5269086
]
}
],
"current_camp_count":0,
"min_age":7,
"max_age":99,
"morning_activities":true,
"afternoon_activities":true,
"all_day_activities":false,
"_type":"organization"
},
"sort":[
2.1213703,
0.5
],
"_explanation":{
"value":2.1213703,
"description":"sum of:",
"details":[
{
"value":4.9999995E-5,
"description":"function score, product of:",
"details":[
{
"value":0.70710677,
"description":"ConstantScore(+*:*), product of:",
"details":[
{
"value":1.0,
"description":"boost"
},
{
"value":0.70710677,
"description":"queryNorm"
}
]
},
{
"value":7.0710674E-5,
"description":"Math.min of",
"details":[
{
"value":7.0710674E-5,
"description":"function score, score mode [multiply]",
"details":[
{
"value":7.0710674E-5,
"description":"function score, product of:",
"details":[
{
"value":1.0,
"description":"match filter: *:*"
},
{
"value":7.0710674E-5,
"description":"script score function: composed of:",
"details":[
{
"value":0.70710677,
"description":"ConstantScore(+*:*), product of:",
"details":[
{
"value":1.0,
"description":"boost"
},
{
"value":0.70710677,
"description":"queryNorm"
}
]
}
]
}
]
}
]
},
{
"value":3.4028235E38,
"description":"maxBoost"
}
]
},
{
"value":1.0,
"description":"queryBoost"
}
]
},
{
"value":2.1213202,
"description":"function score, product of:",
"details":[
{
"value":0.70710677,
"description":"ConstantScore(+cache(_type:organization) ++cache(_type:organization) +GeoBoundingBoxFilter(locations.coordinates, [37.81892251706024, -122.36382430479199], [37.23999538461684, -121.63381452064644])), product of:",
"details":[
{
"value":1.0,
"description":"boost"
},
{
"value":0.70710677,
"description":"queryNorm"
}
]
},
{
"value":3.0,
"description":"Math.min of",
"details":[
{
"value":3.0,
"description":"function score, score mode [max]",
"details":[
{
"value":3.0,
"description":"function score, product of:",
"details":[
{
"value":1.0,
"description":"match filter: GeoDistanceRangeFilter(locations.coordinates, SLOPPY_ARC, [0.0 - 8046.72], 37.5482697, -121.9885719)"
},
{
"value":3.0,
"description":"script score function: composed of:",
"details":[
{
"value":0.70710677,
"description":"ConstantScore(+cache(_type:organization) ++cache(_type:organization) +GeoBoundingBoxFilter(locations.coordinates, [37.81892251706024, -122.36382430479199], [37.23999538461684, -121.63381452064644])), product of:",
"details":[
{
"value":1.0,
"description":"boost"
},
{
"value":0.70710677,
"description":"queryNorm"
}
]
}
]
}
]
}
]
},
{
"value":3.4028235E38,
"description":"maxBoost"
}
]
},
{
"value":1.0,
"description":"queryBoost"
}
]
}
]
}
},
{
"_shard":0,
"_node":"YMcw7ZFSRb-mkkcAeK8jzQ",
"_index":"sigby-development-20150317_183538",
"_type":"organization",
"_id":"282",
"_score":2.1213703,
"_source":{
"id":282,
"name":"Joanne Brown Dancers",
"user_id":null,
"created_at":"2015-03-13T15:19:14.378-07:00",
"updated_at":"2015-03-13T15:19:14.378-07:00",
"location_id":null,
"description":"The Joanne Brown Dancers Studio is a friendly and warm place to bring your child to dance. We have been complimented that the atmosphere surrounding our studio is comfortable and inviting. Our approach to teaching dance is a positive one; we are committed to having our students enjoy themselves, and to develop self-confidence and self-esteem. Students are encouraged to be the best they can be and to ready for the stars. We believe that dancing offers something beneficial for everyone. We offer a wide range of classes including Tap, Jazz, Ballet and Hip Hop and lyrical. We have classes for ages 2 to adult, beginning to advance. Our competition team has won many awards, as well as overall studio awards. We are proud of our dancers and it shows when they are performing. Our staff and students are always trying to add to their dance knowledge by attending various workshops throughout the year. We have had the opportunity to take classes from master teachers from around the United States, and are then able to pass these new techniques on to everyone at the studio. We look forward to you joining the Joanne Brown Dancers, and becoming part of our dance family!",
"website":"http://www.joannebrowndancers.com/",
"state":"current",
"administrator_email":null,
"phone_number":"510-475-4122",
"slug":"joanne-brown-dancers",
"curated_by":null,
"more_organizations":null,
"short_description":"The Joanne Brown Dancers Studio is a friendly and warm place to bring your child to dance. We have been complimented that the atmosphere surrounding our studio is comfortable and inviting. Our approach to teaching dance is a positive one; we are committed to having our students enjoy themselves, and to develop self-confidence and self-esteem. Students are encouraged to be the best they can be and to ready for the stars. We believe that dancing offers something beneficial for everyone.",
"administrator_name":null,
"parent_organization_id":null,
"accepts_common_app":null,
"common_app_contact_emails":null,
"common_app_contact_fax":null,
"custom_booking_questions":[
],
"published":true,
"spring":null,
"summer":null,
"fall":null,
"winter":null,
"favorites_count":0,
"facebook_fan_page":null,
"administrator_position":null,
"administrator_message":null,
"payment_methods_mask":15,
"check_payment_only":false,
"accepts_tnc":false,
"user_contactable":false,
"tags":[
],
"_boost":0.5,
"boost":0.5,
"medium_image_path":"/system/image_attachments/images/000/000/551/medium/ddd_image20150313-60335-hyposa.jpg?1426285154",
"large_image_path":"/system/image_attachments/images/000/000/551/large/ddd_image20150313-60335-hyposa.jpg?1426285154",
"location_ids":[
238
],
"locations":[
{
"id":238,
"name":"Joanne Brown Dancers",
"zip_postal_code":"94587",
"description":null,
"created_at":"2015-03-13T15:19:14.509-07:00",
"updated_at":"2015-03-13T15:19:14.509-07:00",
"street_address_1":"33535 Western Avenue",
"street_address_2":null,
"city":"Union City",
"state_province":"CA",
"country":"USA",
"full_address":"33535 Western Avenue Union City, CA 94587",
"latitude":37.5917155,
"longitude":-122.0349448,
"foreign_id":null,
"organization_id":282,
"locality_hierarchy":[
],
"coordinates":[
-122.0349448,
37.5917155
]
}
],
"current_camp_count":0,
"min_age":0,
"max_age":18,
"morning_activities":false,
"afternoon_activities":false,
"all_day_activities":false,
"_type":"organization"
},
"sort":[
2.1213703,
0.5
],
"_explanation":{
"value":2.1213703,
"description":"sum of:",
"details":[
{
"value":4.9999995E-5,
"description":"function score, product of:",
"details":[
{
"value":0.70710677,
"description":"ConstantScore(+*:*), product of:",
"details":[
{
"value":1.0,
"description":"boost"
},
{
"value":0.70710677,
"description":"queryNorm"
}
]
},
{
"value":7.0710674E-5,
"description":"Math.min of",
"details":[
{
"value":7.0710674E-5,
"description":"function score, score mode [multiply]",
"details":[
{
"value":7.0710674E-5,
"description":"function score, product of:",
"details":[
{
"value":1.0,
"description":"match filter: *:*"
},
{
"value":7.0710674E-5,
"description":"script score function: composed of:",
"details":[
{
"value":0.70710677,
"description":"ConstantScore(+*:*), product of:",
"details":[
{
"value":1.0,
"description":"boost"
},
{
"value":0.70710677,
"description":"queryNorm"
}
]
}
]
}
]
}
]
},
{
"value":3.4028235E38,
"description":"maxBoost"
}
]
},
{
"value":1.0,
"description":"queryBoost"
}
]
},
{
"value":2.1213202,
"description":"function score, product of:",
"details":[
{
"value":0.70710677,
"description":"ConstantScore(+cache(_type:organization) ++cache(_type:organization) +GeoBoundingBoxFilter(locations.coordinates, [37.81892251706024, -122.36382430479199], [37.23999538461684, -121.63381452064644])), product of:",
"details":[
{
"value":1.0,
"description":"boost"
},
{
"value":0.70710677,
"description":"queryNorm"
}
]
},
{
"value":3.0,
"description":"Math.min of",
"details":[
{
"value":3.0,
"description":"function score, score mode [max]",
"details":[
{
"value":3.0,
"description":"function score, product of:",
"details":[
{
"value":1.0,
"description":"match filter: GeoDistanceRangeFilter(locations.coordinates, SLOPPY_ARC, [0.0 - 8046.72], 37.5482697, -121.9885719)"
},
{
"value":3.0,
"description":"script score function: composed of:",
"details":[
{
"value":0.70710677,
"description":"ConstantScore(+cache(_type:organization) ++cache(_type:organization) +GeoBoundingBoxFilter(locations.coordinates, [37.81892251706024, -122.36382430479199], [37.23999538461684, -121.63381452064644])), product of:",
"details":[
{
"value":1.0,
"description":"boost"
},
{
"value":0.70710677,
"description":"queryNorm"
}
]
}
]
}
]
}
]
},
{
"value":3.4028235E38,
"description":"maxBoost"
}
]
},
{
"value":1.0,
"description":"queryBoost"
}
]
}
]
}
},
{
"_shard":0,
"_node":"YMcw7ZFSRb-mkkcAeK8jzQ",
"_index":"sigby-development-20150317_183538",
"_type":"organization",
"_id":"299",
"_score":2.1213703,
"_source":{
"id":299,
"name":"Kidz Love Soccer",
"user_id":null,
"created_at":"2015-03-13T15:20:27.625-07:00",
"updated_at":"2015-03-13T15:20:27.625-07:00",
"location_id":null,
"description":"For more than 30 years, Kidz Love Soccer has been providing communities in California, Oregon, Washington and now Texas with fun, organized soccer classes and camps for children ages 2 to 12 years. We create a lively, positive and safe environment for kids to learn how to play soccer and develop a lifelong love for soccer and sports. Just ask one of our 600,000 graduates! Kidz Love Soccer has a team of trained instructors that love teaching and bring a lot of energy and enthusiasm to the soccer field. Using our field-tested and age-appropriate proprietary curriculum, our youth classes teach kids all the fundamentals of soccer in a high-energy, non-competitive program designed to encourage good sportsmanship and a love for sports. This year, we're excited to expand our program to include classes for adults, beginning with a new training program for women.",
"website":"http://www.kidzlovesoccer.com/city_detail.php?cid=22\u0026t=Class",
"state":"current",
"administrator_email":null,
"phone_number":"1-888-277-9542",
"slug":"kidz-love-soccer",
"curated_by":null,
"more_organizations":null,
"short_description":"For more than 30 years, Kidz Love Soccer has been providing communities in California, Oregon, Washington and now Texas with fun, organized soccer classes and camps for children ages 2 to 12 years. We create a lively, positive and safe environment for kids to learn how to play soccer and develop a lifelong love for soccer and sports. Just ask one of our 600,000 graduates!",
"administrator_name":null,
"parent_organization_id":null,
"accepts_common_app":null,
"common_app_contact_emails":null,
"common_app_contact_fax":null,
"custom_booking_questions":[
],
"published":true,
"spring":null,
"summer":null,
"fall":null,
"winter":null,
"favorites_count":0,
"facebook_fan_page":"https://www.facebook.com/kidzlovesoccer",
"administrator_position":null,
"administrator_message":null,
"payment_methods_mask":15,
"check_payment_only":false,
"accepts_tnc":false,
"user_contactable":false,
"tags":[
],
"_boost":0.5,
"boost":0.5,
"medium_image_path":"/system/image_attachments/images/000/000/592/medium/ddd_image20150313-60335-oid8k7.jpg?1426285227",
"large_image_path":"/system/image_attachments/images/000/000/592/large/ddd_image20150313-60335-oid8k7.jpg?1426285227",
"location_ids":[
251
],
"locations":[
{
"id":251,
"name":"Kidz Love Soccer",
"zip_postal_code":"95460",
"description":null,
"created_at":"2015-03-13T15:20:27.747-07:00",
"updated_at":"2015-03-13T15:20:27.747-07:00",
"street_address_1":"6800 Mowry Ave",
"street_address_2":null,
"city":"Newark",
"state_province":"CA",
"country":"USA",
"full_address":"6800 Mowry Ave Newark, CA 95460",
"latitude":37.51786,
"longitude":-122.0104115,
"foreign_id":null,
"organization_id":299,
"locality_hierarchy":[
],
"coordinates":[
-122.0104115,
37.51786
]
}
],
"current_camp_count":0,
"min_age":0,
"max_age":18,
"morning_activities":false,
"afternoon_activities":false,
"all_day_activities":false,
"_type":"organization"
},
"sort":[
2.1213703,
0.5
],
"_explanation":{
"value":2.1213703,
"description":"sum of:",
"details":[
{
"value":4.9999995E-5,
"description":"function score, product of:",
"details":[
{
"value":0.70710677,
"description":"ConstantScore(+*:*), product of:",
"details":[
{
"value":1.0,
"description":"boost"
},
{
"value":0.70710677,
"description":"queryNorm"
}
]
},
{
"value":7.0710674E-5,
"description":"Math.min of",
"details":[
{
"value":7.0710674E-5,
"description":"function score, score mode [multiply]",
"details":[
{
"value":7.0710674E-5,
"description":"function score, product of:",
"details":[
{
"value":1.0,
"description":"match filter: *:*"
},
{
"value":7.0710674E-5,
"description":"script score function: composed of:",
"details":[
{
"value":0.70710677,
"description":"ConstantScore(+*:*), product of:",
"details":[
{
"value":1.0,
"description":"boost"
},
{
"value":0.70710677,
"description":"queryNorm"
}
]
}
]
}
]
}
]
},
{
"value":3.4028235E38,
"description":"maxBoost"
}
]
},
{
"value":1.0,
"description":"queryBoost"
}
]
},
{
"value":2.1213202,
"description":"function score, product of:",
"details":[
{
"value":0.70710677,
"description":"ConstantScore(+cache(_type:organization) ++cache(_type:organization) +GeoBoundingBoxFilter(locations.coordinates, [37.81892251706024, -122.36382430479199], [37.23999538461684, -121.63381452064644])), product of:",
"details":[
{
"value":1.0,
"description":"boost"
},
{
"value":0.70710677,
"description":"queryNorm"
}
]
},
{
"value":3.0,
"description":"Math.min of",
"details":[
{
"value":3.0,
"description":"function score, score mode [max]",
"details":[
{
"value":3.0,
"description":"function score, product of:",
"details":[
{
"value":1.0,
"description":"match filter: GeoDistanceRangeFilter(locations.coordinates, SLOPPY_ARC, [0.0 - 8046.72], 37.5482697, -121.9885719)"
},
{
"value":3.0,
"description":"script score function: composed of:",
"details":[
{
"value":0.70710677,
"description":"ConstantScore(+cache(_type:organization) ++cache(_type:organization) +GeoBoundingBoxFilter(locations.coordinates, [37.81892251706024, -122.36382430479199], [37.23999538461684, -121.63381452064644])), product of:",
"details":[
{
"value":1.0,
"description":"boost"
},
{
"value":0.70710677,
"description":"queryNorm"
}
]
}
]
}
]
}
]
},
{
"value":3.4028235E38,
"description":"maxBoost"
}
]
},
{
"value":1.0,
"description":"queryBoost"
}
]
}
]
}
},
{
"_shard":0,
"_node":"YMcw7ZFSRb-mkkcAeK8jzQ",
"_index":"sigby-development-20150317_183538",
"_type":"organization",
"_id":"302",
"_score":2.1213703,
"_source":{
"id":302,
"name":"Masako's Music Studio",
"user_id":null,
"created_at":"2015-03-13T15:20:44.004-07:00",
"updated_at":"2015-03-13T15:20:44.004-07:00",
"location_id":null,
"description":"To provide the highest quality of music instruction in a pleasant and positive environment to help students achieve their greatest musical potential. To enrich students' lives through unique instruction and performance opportunities, and to help nurture a lifelong love of music.",
"website":"http://www.masakomusic.net/index.html",
"state":"current",
"administrator_email":null,
"phone_number":"(510) 565-6230",
"slug":"masako-s-music-studio",
"curated_by":null,
"more_organizations":null,
"short_description":"To provide the highest quality of music instruction in a pleasant and positive environment to help students achieve their greatest musical potential.",
"administrator_name":"Masako Yamamoto, founder",
"parent_organization_id":null,
"accepts_common_app":null,
"common_app_contact_emails":null,
"common_app_contact_fax":null,
"custom_booking_questions":[
],
"published":true,
"spring":null,
"summer":null,
"fall":null,
"winter":null,
"favorites_count":0,
"facebook_fan_page":"https://www.facebook.com/pages/Masakos-Music-Studio/470162019660674",
"administrator_position":null,
"administrator_message":null,
"payment_methods_mask":15,
"check_payment_only":false,
"accepts_tnc":false,
"user_contactable":false,
"tags":[
],
"_boost":0.5,
"boost":0.5,
"medium_image_path":"/system/image_attachments/images/000/000/609/medium/ddd_image20150313-60335-1te65jy.jpg?1426285243",
"large_image_path":"/system/image_attachments/images/000/000/609/large/ddd_image20150313-60335-1te65jy.jpg?1426285243",
"location_ids":[
253
],
"locations":[
{
"id":253,
"name":"Masako's Music Studio",
"zip_postal_code":"94560",
"description":null,
"created_at":"2015-03-13T15:20:44.338-07:00",
"updated_at":"2015-03-13T15:20:44.338-07:00",
"street_address_1":"6231 Jarvis Ave",
"street_address_2":null,
"city":"Newark",
"state_province":"CA",
"country":"USA",
"full_address":"6231 Jarvis Ave Newark, CA 94560",
"latitude":37.5488384,
"longitude":-122.0507562,
"foreign_id":null,
"organization_id":302,
"locality_hierarchy":[
],
"coordinates":[
-122.0507562,
37.5488384
]
}
],
"current_camp_count":0,
"min_age":0,
"max_age":18,
"morning_activities":false,
"afternoon_activities":false,
"all_day_activities":false,
"_type":"organization"
},
"sort":[
2.1213703,
0.5
],
"_explanation":{
"value":2.1213703,
"description":"sum of:",
"details":[
{
"value":4.9999995E-5,
"description":"function score, product of:",
"details":[
{
"value":0.70710677,
"description":"ConstantScore(+*:*), product of:",
"details":[
{
"value":1.0,
"description":"boost"
},
{
"value":0.70710677,
"description":"queryNorm"
}
]
},
{
"value":7.0710674E-5,
"description":"Math.min of",
"details":[
{
"value":7.0710674E-5,
"description":"function score, score mode [multiply]",
"details":[
{
"value":7.0710674E-5,
"description":"function score, product of:",
"details":[
{
"value":1.0,
"description":"match filter: *:*"
},
{
"value":7.0710674E-5,
"description":"script score function: composed of:",
"details":[
{
"value":0.70710677,
"description":"ConstantScore(+*:*), product of:",
"details":[
{
"value":1.0,
"description":"boost"
},
{
"value":0.70710677,
"description":"queryNorm"
}
]
}
]
}
]
}
]
},
{
"value":3.4028235E38,
"description":"maxBoost"
}
]
},
{
"value":1.0,
"description":"queryBoost"
}
]
},
{
"value":2.1213202,
"description":"function score, product of:",
"details":[
{
"value":0.70710677,
"description":"ConstantScore(+cache(_type:organization) ++cache(_type:organization) +GeoBoundingBoxFilter(locations.coordinates, [37.81892251706024, -122.36382430479199], [37.23999538461684, -121.63381452064644])), product of:",
"details":[
{
"value":1.0,
"description":"boost"
},
{
"value":0.70710677,
"description":"queryNorm"
}
]
},
{
"value":3.0,
"description":"Math.min of",
"details":[
{
"value":3.0,
"description":"function score, score mode [max]",
"details":[
{
"value":3.0,
"description":"function score, product of:",
"details":[
{
"value":1.0,
"description":"match filter: GeoDistanceRangeFilter(locations.coordinates, SLOPPY_ARC, [0.0 - 8046.72], 37.5482697, -121.9885719)"
},
{
"value":3.0,
"description":"script score function: composed of:",
"details":[
{
"value":0.70710677,
"description":"ConstantScore(+cache(_type:organization) ++cache(_type:organization) +GeoBoundingBoxFilter(locations.coordinates, [37.81892251706024, -122.36382430479199], [37.23999538461684, -121.63381452064644])), product of:",
"details":[
{
"value":1.0,
"description":"boost"
},
{
"value":0.70710677,
"description":"queryNorm"
}
]
}
]
}
]
}
]
},
{
"value":3.4028235E38,
"description":"maxBoost"
}
]
},
{
"value":1.0,
"description":"queryBoost"
}
]
}
]
}
},
{
"_shard":0,
"_node":"YMcw7ZFSRb-mkkcAeK8jzQ",
"_index":"sigby-development-20150317_183538",
"_type":"organization",
"_id":"319",
"_score":2.1213703,
"_source":{
"id":319,
"name":"Norcal Tennis Academy",
"user_id":null,
"created_at":"2015-03-13T15:21:16.589-07:00",
"updated_at":"2015-03-13T19:22:25.213-07:00",
"location_id":null,
"description":"In October 2003, NorCal tennis Academy started its first two clinics; our program then grew into a complete academy training junior players of all levels. Sai sectional champ Since, it has been a premier tennis academy in the San Jose and Fremont area, our program prepare players for USTA tournaments, leagues, High Schools and College competitions.",
"website":"http://www.norcaltennisacademy.com/fremont-newark/",
"state":"current",
"administrator_email":null,
"phone_number":"408-896-5745",
"slug":"norcal-tennis-academy",
"curated_by":null,
"more_organizations":null,
"short_description":"NorCal Tennis Academy is a premier Tennis program in the San Jose and Fremont area. We specialize in early youth Tennis Development preparing players for USTA tournaments, High Schools and College competitions. Multi-level Tennis lessons, classes, league, USTA events, fitness and competitive matchplay ensure proper development of players",
"administrator_name":null,
"parent_organization_id":null,
"accepts_common_app":null,
"common_app_contact_emails":null,
"common_app_contact_fax":null,
"custom_booking_questions":[
],
"published":true,
"spring":null,
"summer":null,
"fall":null,
"winter":null,
"favorites_count":0,
"facebook_fan_page":null,
"administrator_position":null,
"administrator_message":null,
"payment_methods_mask":15,
"check_payment_only":false,
"accepts_tnc":false,
"user_contactable":false,
"tags":[
],
"_boost":0.5,
"boost":0.5,
"medium_image_path":"/system/image_attachments/images/000/000/646/medium/ddd_image20150313-60335-454w5b.jpg?1426285275",
"large_image_path":"/system/image_attachments/images/000/000/646/large/ddd_image20150313-60335-454w5b.jpg?1426285275",
"location_ids":[
273
],
"locations":[
{
"id":273,
"name":"Waterford Tennis Courts",
"zip_postal_code":"94560",
"description":null,
"created_at":"2015-03-13T15:21:16.875-07:00",
"updated_at":"2015-03-13T15:21:16.875-07:00",
"street_address_1":"6200 Buena Vista Drive",
"street_address_2":null,
"city":"Fremont",
"state_province":"CA",
"country":"USA",
"full_address":"6200 Buena Vista Drive Fremont, CA 94560",
"latitude":37.5166809,
"longitude":-121.995343,
"foreign_id":null,
"organization_id":319,
"locality_hierarchy":[
],
"coordinates":[
-121.995343,
37.5166809
]
}
],
"current_camp_count":0,
"min_age":0,
"max_age":18,
"morning_activities":false,
"afternoon_activities":false,
"all_day_activities":false,
"_type":"organization"
},
"sort":[
2.1213703,
0.5
],
"_explanation":{
"value":2.1213703,
"description":"sum of:",
"details":[
{
"value":4.9999995E-5,
"description":"function score, product of:",
"details":[
{
"value":0.70710677,
"description":"ConstantScore(+*:*), product of:",
"details":[
{
"value":1.0,
"description":"boost"
},
{
"value":0.70710677,
"description":"queryNorm"
}
]
},
{
"value":7.0710674E-5,
"description":"Math.min of",
"details":[
{
"value":7.0710674E-5,
"description":"function score, score mode [multiply]",
"details":[
{
"value":7.0710674E-5,
"description":"function score, product of:",
"details":[
{
"value":1.0,
"description":"match filter: *:*"
},
{
"value":7.0710674E-5,
"description":"script score function: composed of:",
"details":[
{
"value":0.70710677,
"description":"ConstantScore(+*:*), product of:",
"details":[
{
"value":1.0,
"description":"boost"
},
{
"value":0.70710677,
"description":"queryNorm"
}
]
}
]
}
]
}
]
},
{
"value":3.4028235E38,
"description":"maxBoost"
}
]
},
{
"value":1.0,
"description":"queryBoost"
}
]
},
{
"value":2.1213202,
"description":"function score, product of:",
"details":[
{
"value":0.70710677,
"description":"ConstantScore(+cache(_type:organization) ++cache(_type:organization) +GeoBoundingBoxFilter(locations.coordinates, [37.81892251706024, -122.36382430479199], [37.23999538461684, -121.63381452064644])), product of:",
"details":[
{
"value":1.0,
"description":"boost"
},
{
"value":0.70710677,
"description":"queryNorm"
}
]
},
{
"value":3.0,
"description":"Math.min of",
"details":[
{
"value":3.0,
"description":"function score, score mode [max]",
"details":[
{
"value":3.0,
"description":"function score, product of:",
"details":[
{
"value":1.0,
"description":"match filter: GeoDistanceRangeFilter(locations.coordinates, SLOPPY_ARC, [0.0 - 8046.72], 37.5482697, -121.9885719)"
},
{
"value":3.0,
"description":"script score function: composed of:",
"details":[
{
"value":0.70710677,
"description":"ConstantScore(+cache(_type:organization) ++cache(_type:organization) +GeoBoundingBoxFilter(locations.coordinates, [37.81892251706024, -122.36382430479199], [37.23999538461684, -121.63381452064644])), product of:",
"details":[
{
"value":1.0,
"description":"boost"
},
{
"value":0.70710677,
"description":"queryNorm"
}
]
}
]
}
]
}
]
},
{
"value":3.4028235E38,
"description":"maxBoost"
}
]
},
{
"value":1.0,
"description":"queryBoost"
}
]
}
]
}
},
{
"_shard":0,
"_node":"YMcw7ZFSRb-mkkcAeK8jzQ",
"_index":"sigby-development-20150317_183538",
"_type":"organization",
"_id":"326",
"_score":2.1213703,
"_source":{
"id":326,
"name":"Elf Corps Studios",
"user_id":null,
"created_at":"2015-03-13T15:22:44.070-07:00",
"updated_at":"2015-03-13T15:22:44.070-07:00",
"location_id":null,
"description":"Elf Corps Studios was founded in 2005 to serve musicians, young and old, beginning on their musical journey. We Provide Music lessons – electric \u0026 acoustic guitar, electric bass and drums – from age 10 to adult. Our proven teaching methods will get you playing music in just a short time. Our lessons are augmented with other instruments where you learn more about your instrument and how it fits in a typical band setting. We can also give you a chance to show off your skills early on with recitals and home concerts. Our Mission: To help beginning musicians every step of the way through your musical journey, from basic instruction, demo CD recording, providing sound equipment for performances and collaboration with songwriting and band formation.\nOur Goal: To be a part of producing the next generation of musical artists with a solid background of instruction, recording experience, professional sound equipment and musical collaboration.\nOur Commitment: To young and old beginners alike, you will be reading music and applying theory in your everyday playing. We will send you well on your way to higher levels of musical enjoyment and preparation for further study",
"website":"http://elfcorps.com/",
"state":"current",
"administrator_email":null,
"phone_number":"510-410-7622",
"slug":"elf-corps-studios",
"curated_by":null,
"more_organizations":null,
"short_description":"Elf Corps Studios was founded in 2005 to serve musicians, young and old, beginning on their musical journey. We Provide Music lessons – electric \u0026 acoustic guitar, electric bass and drums – from age 10 to adult. Our proven teaching methods will get you playing music in just a short time.",
"administrator_name":"Robert Fumo",
"parent_organization_id":null,
"accepts_common_app":null,
"common_app_contact_emails":null,
"common_app_contact_fax":null,
"custom_booking_questions":[
],
"published":true,
"spring":null,
"summer":null,
"fall":null,
"winter":null,
"favorites_count":0,
"facebook_fan_page":"https://www.facebook.com/elfcorps",
"administrator_position":null,
"administrator_message":null,
"payment_methods_mask":15,
"check_payment_only":false,
"accepts_tnc":false,
"user_contactable":false,
"tags":[
],
"_boost":0.5,
"boost":0.5,
"medium_image_path":"/system/image_attachments/images/000/000/665/medium/ddd_image20150313-60335-g3a8tg.jpg?1426285363",
"large_image_path":"/system/image_attachments/images/000/000/665/large/ddd_image20150313-60335-g3a8tg.jpg?1426285363",
"location_ids":[
280
],
"locations":[
{
"id":280,
"name":"Elf Corps Studios",
"zip_postal_code":"94536",
"description":null,
"created_at":"2015-03-13T15:22:44.243-07:00",
"updated_at":"2015-03-13T15:22:44.243-07:00",
"street_address_1":"37500 Centralmont Place",
"street_address_2":null,
"city":"Fremont",
"state_province":"CA",
"country":"USA",
"full_address":"37500 Centralmont Place Fremont, CA 94536",
"latitude":37.542109,
"longitude":-122.016286,
"foreign_id":null,
"organization_id":326,
"locality_hierarchy":[
],
"coordinates":[
-122.016286,
37.542109
]
}
],
"current_camp_count":0,
"min_age":0,
"max_age":18,
"morning_activities":false,
"afternoon_activities":false,
"all_day_activities":false,
"_type":"organization"
},
"sort":[
2.1213703,
0.5
],
"_explanation":{
"value":2.1213703,
"description":"sum of:",
"details":[
{
"value":4.9999995E-5,
"description":"function score, product of:",
"details":[
{
"value":0.70710677,
"description":"ConstantScore(+*:*), product of:",
"details":[
{
"value":1.0,
"description":"boost"
},
{
"value":0.70710677,
"description":"queryNorm"
}
]
},
{
"value":7.0710674E-5,
"description":"Math.min of",
"details":[
{
"value":7.0710674E-5,
"description":"function score, score mode [multiply]",
"details":[
{
"value":7.0710674E-5,
"description":"function score, product of:",
"details":[
{
"value":1.0,
"description":"match filter: *:*"
},
{
"value":7.0710674E-5,
"description":"script score function: composed of:",
"details":[
{
"value":0.70710677,
"description":"ConstantScore(+*:*), product of:",
"details":[
{
"value":1.0,
"description":"boost"
},
{
"value":0.70710677,
"description":"queryNorm"
}
]
}
]
}
]
}
]
},
{
"value":3.4028235E38,
"description":"maxBoost"
}
]
},
{
"value":1.0,
"description":"queryBoost"
}
]
},
{
"value":2.1213202,
"description":"function score, product of:",
"details":[
{
"value":0.70710677,
"description":"ConstantScore(+cache(_type:organization) ++cache(_type:organization) +GeoBoundingBoxFilter(locations.coordinates, [37.81892251706024, -122.36382430479199], [37.23999538461684, -121.63381452064644])), product of:",
"details":[
{
"value":1.0,
"description":"boost"
},
{
"value":0.70710677,
"description":"queryNorm"
}
]
},
{
"value":3.0,
"description":"Math.min of",
"details":[
{
"value":3.0,
"description":"function score, score mode [max]",
"details":[
{
"value":3.0,
"description":"function score, product of:",
"details":[
{
"value":1.0,
"description":"match filter: GeoDistanceRangeFilter(locations.coordinates, SLOPPY_ARC, [0.0 - 8046.72], 37.5482697, -121.9885719)"
},
{
"value":3.0,
"description":"script score function: composed of:",
"details":[
{
"value":0.70710677,
"description":"ConstantScore(+cache(_type:organization) ++cache(_type:organization) +GeoBoundingBoxFilter(locations.coordinates, [37.81892251706024, -122.36382430479199], [37.23999538461684, -121.63381452064644])), product of:",
"details":[
{
"value":1.0,
"description":"boost"
},
{
"value":0.70710677,
"description":"queryNorm"
}
]
}
]
}
]
}
]
},
{
"value":3.4028235E38,
"description":"maxBoost"
}
]
},
{
"value":1.0,
"description":"queryBoost"
}
]
}
]
}
},
{
"_shard":0,
"_node":"YMcw7ZFSRb-mkkcAeK8jzQ",
"_index":"sigby-development-20150317_183538",
"_type":"organization",
"_id":"333",
"_score":2.1213703,
"_source":{
"id":333,
"name":"Duke's Martial Arts",
"user_id":null,
"created_at":"2015-03-13T15:23:38.428-07:00",
"updated_at":"2015-03-13T16:06:23.979-07:00",
"location_id":null,
"description":"Duke's Martial Arts Center is the premier martial arts center in Fremont, CA, with a diverse weekly schedule of martial arts classes, a complete fitness center, an impressive weight room, and the expert services of our instructors. We are dedicated to your health and offer all the guidance and support you will need to experience your own personal transformation. At Duke's Martial Arts Center you will find a community of martial artists from right here in Fremont, CA who are walking the same path as you! Whether you are brand new to martial arts or a seasoned pro, you will find all the equipment and instructors support you need to customize your routine--all in a clean, comfortable, and motivational environment. \nAt Duke’s Martial Arts, we incorporate teachings of varied styles to produce a well rounded martial artist. Many of our students have taken their training to the next level with competition, winning many awards, medals, and trophies.\nWe welcome students of all backgrounds and all ages to train here. Training is intense, enlightening, and always fun. Families are particularly encouraged to train together, so that martial arts can be shared among loved ones.\nAbout Dukes Martial Arts Center",
"website":"http://www.dukesmartialarts.com/",
"state":"current",
"administrator_email":null,
"phone_number":"(510) 252-1131)",
"slug":"duke-s-martial-arts",
"curated_by":null,
"more_organizations":null,
"short_description":"Duke's Martial Arts Center is the premier martial arts center in Fremont, CA, with a diverse weekly schedule of martial arts classes, a complete fitness center, an impressive weight room, and the expert services of our instructors.",
"administrator_name":null,
"parent_organization_id":null,
"accepts_common_app":null,
"common_app_contact_emails":null,
"common_app_contact_fax":null,
"custom_booking_questions":[
],
"published":true,
"spring":null,
"summer":null,
"fall":null,
"winter":null,
"favorites_count":0,
"facebook_fan_page":"https://www.facebook.com/dukesmartialarts",
"administrator_position":null,
"administrator_message":null,
"payment_methods_mask":15,
"check_payment_only":false,
"accepts_tnc":false,
"user_contactable":false,
"tags":[
],
"_boost":0.5,
"boost":0.5,
"medium_image_path":"/system/image_attachments/images/000/000/683/medium/ddd_image20150313-60335-11kzrao.jpg?1426285418",
"large_image_path":"/system/image_attachments/images/000/000/683/large/ddd_image20150313-60335-11kzrao.jpg?1426285418",
"location_ids":[
287
],
"locations":[
{
"id":287,
"name":"Duke's Martial Arts",
"zip_postal_code":"94539",
"description":null,
"created_at":"2015-03-13T15:23:38.556-07:00",
"updated_at":"2015-03-13T15:23:38.556-07:00",
"street_address_1":"40667 Fremont Blvd",
"street_address_2":null,
"city":"Fremont",
"state_province":"CA",
"country":"USA",
"full_address":"40667 Fremont Blvd Fremont, CA 94539",
"latitude":37.5356996,
"longitude":-121.9642365,
"foreign_id":null,
"organization_id":333,
"locality_hierarchy":[
],
"coordinates":[
-121.9642365,
37.5356996
]
}
],
"current_camp_count":0,
"min_age":0,
"max_age":18,
"morning_activities":false,
"afternoon_activities":false,
"all_day_activities":false,
"_type":"organization"
},
"sort":[
2.1213703,
0.5
],
"_explanation":{
"value":2.1213703,
"description":"sum of:",
"details":[
{
"value":4.9999995E-5,
"description":"function score, product of:",
"details":[
{
"value":0.70710677,
"description":"ConstantScore(+*:*), product of:",
"details":[
{
"value":1.0,
"description":"boost"
},
{
"value":0.70710677,
"description":"queryNorm"
}
]
},
{
"value":7.0710674E-5,
"description":"Math.min of",
"details":[
{
"value":7.0710674E-5,
"description":"function score, score mode [multiply]",
"details":[
{
"value":7.0710674E-5,
"description":"function score, product of:",
"details":[
{
"value":1.0,
"description":"match filter: *:*"
},
{
"value":7.0710674E-5,
"description":"script score function: composed of:",
"details":[
{
"value":0.70710677,
"description":"ConstantScore(+*:*), product of:",
"details":[
{
"value":1.0,
"description":"boost"
},
{
"value":0.70710677,
"description":"queryNorm"
}
]
}
]
}
]
}
]
},
{
"value":3.4028235E38,
"description":"maxBoost"
}
]
},
{
"value":1.0,
"description":"queryBoost"
}
]
},
{
"value":2.1213202,
"description":"function score, product of:",
"details":[
{
"value":0.70710677,
"description":"ConstantScore(+cache(_type:organization) ++cache(_type:organization) +GeoBoundingBoxFilter(locations.coordinates, [37.81892251706024, -122.36382430479199], [37.23999538461684, -121.63381452064644])), product of:",
"details":[
{
"value":1.0,
"description":"boost"
},
{
"value":0.70710677,
"description":"queryNorm"
}
]
},
{
"value":3.0,
"description":"Math.min of",
"details":[
{
"value":3.0,
"description":"function score, score mode [max]",
"details":[
{
"value":3.0,
"description":"function score, product of:",
"details":[
{
"value":1.0,
"description":"match filter: GeoDistanceRangeFilter(locations.coordinates, SLOPPY_ARC, [0.0 - 8046.72], 37.5482697, -121.9885719)"
},
{
"value":3.0,
"description":"script score function: composed of:",
"details":[
{
"value":0.70710677,
"description":"ConstantScore(+cache(_type:organization) ++cache(_type:organization) +GeoBoundingBoxFilter(locations.coordinates, [37.81892251706024, -122.36382430479199], [37.23999538461684, -121.63381452064644])), product of:",
"details":[
{
"value":1.0,
"description":"boost"
},
{
"value":0.70710677,
"description":"queryNorm"
}
]
}
]
}
]
}
]
},
{
"value":3.4028235E38,
"description":"maxBoost"
}
]
},
{
"value":1.0,
"description":"queryBoost"
}
]
}
]
}
},
{
"_shard":0,
"_node":"YMcw7ZFSRb-mkkcAeK8jzQ",
"_index":"sigby-development-20150317_183538",
"_type":"organization",
"_id":"369",
"_score":2.1213703,
"_source":{
"id":369,
"name":"Raw Talents \u0026 All Stars",
"user_id":null,
"created_at":"2015-03-13T19:21:39.471-07:00",
"updated_at":"2015-03-13T19:21:39.471-07:00",
"location_id":null,
"description":"Everything we do we believe in challenging the status quo, we believe in thinking differently. The way we challenge the status quo is by making our programs affordable and reject the stigma that greatness cost more. We provide positive but stearn reinforcement of programs expectations and goals. This just happens to result in Program Participants gaining a sense of pride and accountability in what they complete inside and outside of the program. Participants learn to accept differences between each other, challenge themselves to go beyond what they could ever imagine, they make lasting friendships while becoming stronger students and even more inspiring leaders. We just happen to create an environment where excellence, courage and leadership become part of their daily lives.",
"website":"http://www.rawtalentselite.com/",
"state":"current",
"administrator_email":null,
"phone_number":"888-588-4418",
"slug":"raw-talents-all-stars",
"curated_by":null,
"more_organizations":null,
"short_description":"Everything we do we believe in challenging the status quo, we believe in thinking differently. The way we challenge the status quo is by making our programs affordable and reject the stigma that greatness cost more. We provide positive but stearn reinforcement of programs expectations and goals.",
"administrator_name":"Adisa Bishop",
"parent_organization_id":null,
"accepts_common_app":null,
"common_app_contact_emails":null,
"common_app_contact_fax":null,
"custom_booking_questions":[
],
"published":true,
"spring":null,
"summer":null,
"fall":null,
"winter":null,
"favorites_count":0,
"facebook_fan_page":null,
"administrator_position":null,
"administrator_message":"We now enter our fourth year of great successes and look forward to you becoming another one of our many great achievers. RAW is a division of GM Services and a local non-profit. The goal of RAW is to provide affordably successful programs that focus on the overall success of our participants. We are the perfect program for anyone who is a hard worker, inspired and ready to achieve goals beyond their own expectations. We are excited to have consider RAW, please check out one of our many programs at our sponsored sites or at your local After-School Programs.",
"payment_methods_mask":15,
"check_payment_only":false,
"accepts_tnc":false,
"user_contactable":false,
"tags":[
],
"_boost":0.5,
"boost":0.5,
"medium_image_path":"/system/image_attachments/images/000/000/736/medium/display_image20150313-88671-16zylp7.jpg?1426299698",
"large_image_path":"/system/image_attachments/images/000/000/736/large/display_image20150313-88671-16zylp7.jpg?1426299698",
"location_ids":[
323
],
"locations":[
{
"id":323,
"name":"Raw Talents \u0026 All Stars",
"zip_postal_code":"94560",
"description":null,
"created_at":"2015-03-13T19:21:39.910-07:00",
"updated_at":"2015-03-13T19:21:39.910-07:00",
"street_address_1":"37428 Centralmont Place",
"street_address_2":null,
"city":"Fremont",
"state_province":"CA",
"country":"USA",
"full_address":"37428 Centralmont Place Fremont, CA 94560",
"latitude":37.5426209,
"longitude":-122.017295,
"foreign_id":null,
"organization_id":369,
"locality_hierarchy":[
],
"coordinates":[
-122.017295,
37.5426209
]
}
],
"current_camp_count":0,
"min_age":0,
"max_age":18,
"morning_activities":false,
"afternoon_activities":false,
"all_day_activities":false,
"_type":"organization"
},
"sort":[
2.1213703,
0.5
],
"_explanation":{
"value":2.1213703,
"description":"sum of:",
"details":[
{
"value":4.9999995E-5,
"description":"function score, product of:",
"details":[
{
"value":0.70710677,
"description":"ConstantScore(+*:*), product of:",
"details":[
{
"value":1.0,
"description":"boost"
},
{
"value":0.70710677,
"description":"queryNorm"
}
]
},
{
"value":7.0710674E-5,
"description":"Math.min of",
"details":[
{
"value":7.0710674E-5,
"description":"function score, score mode [multiply]",
"details":[
{
"value":7.0710674E-5,
"description":"function score, product of:",
"details":[
{
"value":1.0,
"description":"match filter: *:*"
},
{
"value":7.0710674E-5,
"description":"script score function: composed of:",
"details":[
{
"value":0.70710677,
"description":"ConstantScore(+*:*), product of:",
"details":[
{
"value":1.0,
"description":"boost"
},
{
"value":0.70710677,
"description":"queryNorm"
}
]
}
]
}
]
}
]
},
{
"value":3.4028235E38,
"description":"maxBoost"
}
]
},
{
"value":1.0,
"description":"queryBoost"
}
]
},
{
"value":2.1213202,
"description":"function score, product of:",
"details":[
{
"value":0.70710677,
"description":"ConstantScore(+cache(_type:organization) ++cache(_type:organization) +GeoBoundingBoxFilter(locations.coordinates, [37.81892251706024, -122.36382430479199], [37.23999538461684, -121.63381452064644])), product of:",
"details":[
{
"value":1.0,
"description":"boost"
},
{
"value":0.70710677,
"description":"queryNorm"
}
]
},
{
"value":3.0,
"description":"Math.min of",
"details":[
{
"value":3.0,
"description":"function score, score mode [max]",
"details":[
{
"value":3.0,
"description":"function score, product of:",
"details":[
{
"value":1.0,
"description":"match filter: GeoDistanceRangeFilter(locations.coordinates, SLOPPY_ARC, [0.0 - 8046.72], 37.5482697, -121.9885719)"
},
{
"value":3.0,
"description":"script score function: composed of:",
"details":[
{
"value":0.70710677,
"description":"ConstantScore(+cache(_type:organization) ++cache(_type:organization) +GeoBoundingBoxFilter(locations.coordinates, [37.81892251706024, -122.36382430479199], [37.23999538461684, -121.63381452064644])), product of:",
"details":[
{
"value":1.0,
"description":"boost"
},
{
"value":0.70710677,
"description":"queryNorm"
}
]
}
]
}
]
}
]
},
{
"value":3.4028235E38,
"description":"maxBoost"
}
]
},
{
"value":1.0,
"description":"queryBoost"
}
]
}
]
}
},
{
"_shard":0,
"_node":"YMcw7ZFSRb-mkkcAeK8jzQ",
"_index":"sigby-development-20150317_183538",
"_type":"organization",
"_id":"371",
"_score":2.1213703,
"_source":{
"id":371,
"name":"Shonali's Academy of Music \u0026 Arts",
"user_id":null,
"created_at":"2015-03-13T19:21:43.902-07:00",
"updated_at":"2015-03-13T19:21:43.902-07:00",
"location_id":null,
"description":"The richness of Indian culture can be found in its music and art. Shonali's Academy of Music \u0026 Arts is dedicated to providing quality education in Indian classical and light music for students of all ages.\n\nAt Shonali's Academy emphasis is given on understanding each student's strengths and imparting training based on individuals needs. The class size is limited and individual attention is given to each student.\n\nAt the Academy, students can learn vocal music, dance, a variety of musical instruments and Hindi. We also conduct aerobics classes based on bollywood numbers.\n\nShonali's Academy is affiliated with Gandharva Mahavidyalaya, India to conduct classes and award certification and degree",
"website":"http://sangeetkala.org/home",
"state":"current",
"administrator_email":null,
"phone_number":"510-344-0869",
"slug":"shonali-s-academy-of-music-arts",
"curated_by":null,
"more_organizations":null,
"short_description":"The richness of Indian culture can be found in its music and art. Shonali's Academy of Music \u0026 Arts is dedicated to providing quality education in Indian classical and light music for students of all ages",
"administrator_name":null,
"parent_organization_id":null,
"accepts_common_app":null,
"common_app_contact_emails":null,
"common_app_contact_fax":null,
"custom_booking_questions":[
],
"published":true,
"spring":null,
"summer":null,
"fall":null,
"winter":null,
"favorites_count":0,
"facebook_fan_page":null,
"administrator_position":null,
"administrator_message":null,
"payment_methods_mask":15,
"check_payment_only":false,
"accepts_tnc":false,
"user_contactable":false,
"tags":[
],
"_boost":0.5,
"boost":0.5,
"medium_image_path":"/system/image_attachments/images/000/000/744/medium/display_image20150313-88671-bjt0l9.jpg?1426299703",
"large_image_path":"/system/image_attachments/images/000/000/744/large/display_image20150313-88671-bjt0l9.jpg?1426299703",
"location_ids":[
325
],
"locations":[
{
"id":325,
"name":"Shonali's Academy of Music \u0026 Arts",
"zip_postal_code":"94539",
"description":null,
"created_at":"2015-03-13T19:21:44.256-07:00",
"updated_at":"2015-03-13T19:21:44.256-07:00",
"street_address_1":"Mission Blvd \u0026 Las Palmas Ave",
"street_address_2":null,
"city":"Fremont",
"state_province":"CA",
"country":"USA",
"full_address":"Mission Blvd \u0026 Las Palmas Ave Fremont, CA 94539",
"latitude":37.5579165,
"longitude":-121.9525249,
"foreign_id":null,
"organization_id":371,
"locality_hierarchy":[
],
"coordinates":[
-121.9525249,
37.5579165
]
}
],
"current_camp_count":0,
"min_age":4,
"max_age":99,
"morning_activities":false,
"afternoon_activities":true,
"all_day_activities":false,
"_type":"organization"
},
"sort":[
2.1213703,
0.5
],
"_explanation":{
"value":2.1213703,
"description":"sum of:",
"details":[
{
"value":4.9999995E-5,
"description":"function score, product of:",
"details":[
{
"value":0.70710677,
"description":"ConstantScore(+*:*), product of:",
"details":[
{
"value":1.0,
"description":"boost"
},
{
"value":0.70710677,
"description":"queryNorm"
}
]
},
{
"value":7.0710674E-5,
"description":"Math.min of",
"details":[
{
"value":7.0710674E-5,
"description":"function score, score mode [multiply]",
"details":[
{
"value":7.0710674E-5,
"description":"function score, product of:",
"details":[
{
"value":1.0,
"description":"match filter: *:*"
},
{
"value":7.0710674E-5,
"description":"script score function: composed of:",
"details":[
{
"value":0.70710677,
"description":"ConstantScore(+*:*), product of:",
"details":[
{
"value":1.0,
"description":"boost"
},
{
"value":0.70710677,
"description":"queryNorm"
}
]
}
]
}
]
}
]
},
{
"value":3.4028235E38,
"description":"maxBoost"
}
]
},
{
"value":1.0,
"description":"queryBoost"
}
]
},
{
"value":2.1213202,
"description":"function score, product of:",
"details":[
{
"value":0.70710677,
"description":"ConstantScore(+cache(_type:organization) ++cache(_type:organization) +GeoBoundingBoxFilter(locations.coordinates, [37.81892251706024, -122.36382430479199], [37.23999538461684, -121.63381452064644])), product of:",
"details":[
{
"value":1.0,
"description":"boost"
},
{
"value":0.70710677,
"description":"queryNorm"
}
]
},
{
"value":3.0,
"description":"Math.min of",
"details":[
{
"value":3.0,
"description":"function score, score mode [max]",
"details":[
{
"value":3.0,
"description":"function score, product of:",
"details":[
{
"value":1.0,
"description":"match filter: GeoDistanceRangeFilter(locations.coordinates, SLOPPY_ARC, [0.0 - 8046.72], 37.5482697, -121.9885719)"
},
{
"value":3.0,
"description":"script score function: composed of:",
"details":[
{
"value":0.70710677,
"description":"ConstantScore(+cache(_type:organization) ++cache(_type:organization) +GeoBoundingBoxFilter(locations.coordinates, [37.81892251706024, -122.36382430479199], [37.23999538461684, -121.63381452064644])), product of:",
"details":[
{
"value":1.0,
"description":"boost"
},
{
"value":0.70710677,
"description":"queryNorm"
}
]
}
]
}
]
}
]
},
{
"value":3.4028235E38,
"description":"maxBoost"
}
]
},
{
"value":1.0,
"description":"queryBoost"
}
]
}
]
}
},
{
"_shard":0,
"_node":"YMcw7ZFSRb-mkkcAeK8jzQ",
"_index":"sigby-development-20150317_183538",
"_type":"organization",
"_id":"376",
"_score":2.1213703,
"_source":{
"id":376,
"name":"Stellar Academy for Dyslexics",
"user_id":null,
"created_at":"2015-03-13T19:21:59.270-07:00",
"updated_at":"2015-03-13T19:22:00.844-07:00",
"location_id":null,
"description":"We are a private, special education school in Newark, California, \nserving the needs of 1st – 8th grade students with dyslexia. Our proven \nprogram, which includes the Slingerland Approach to Language Arts \ninstruction, is helping to unlock the door of language for students \nthroughout Alameda County. Stellar Academy serves students from San \nJose, Fremont, Newark, Pleasanton, Palo Alto, San Mateo, San Ramon, \nLivermore, Morgan Hill, Oakland, and beyond. Please browse through our \nwebsite to learn more about what we do.",
"website":"http://www.stellaracademy.org",
"state":"current",
"administrator_email":null,
"phone_number":null,
"slug":"stellar-academy-for-dyslexics",
"curated_by":null,
"more_organizations":null,
"short_description":"We are a private, special education school in Newark, California, serving the needs of 1st – 8th grade students with dyslexia. Our proven program, which includes the Slingerland Approach to Language Arts instruction, is helping to unlock the door of language for students throughout Alameda County. Stellar Academy serves students from San Jose, Fremont, Newark, Pleasanton, Palo Alto, San Mateo, San Ramon, Livermore, Morgan Hill, Oakland, and beyond. Please browse through our website to learn more about what we do",
"administrator_name":"Beth Mattsson-Boze",
"parent_organization_id":null,
"accepts_common_app":null,
"common_app_contact_emails":null,
"common_app_contact_fax":null,
"custom_booking_questions":[
],
"published":true,
"spring":null,
"summer":null,
"fall":null,
"winter":null,
"favorites_count":0,
"facebook_fan_page":"https://www.facebook.com/stellaracademy.fordyslexics",
"administrator_position":null,
"administrator_message":"Thank you for your interest in Stellar Academy. We are thrilled to have been a part of hundreds of children’s language successes since 1988, and we look forward to many more years to come!\nUsing our multi-sensory, success-oriented approach to language, our students are overcoming the challenges of dyslexia, realizing academic achievement, and returning to the regular school classroom as leaders! Because of our dedicated staff and proven approach, we are rebuilding students' self-esteem by showing them they can learn, they are smart, and they can be successful in school.\nAt Stellar, we know your children have the potential to become future inventors, successful business executives, teachers, doctors, firefighters, artists, or anything else they choose. Our job is simply to unlock the door.\nI hope you take some time to get to know our school. We would love to partner with your family in this journey called education.",
"payment_methods_mask":15,
"check_payment_only":false,
"accepts_tnc":false,
"user_contactable":false,
"tags":[
],
"_boost":0.5,
"boost":0.5,
"medium_image_path":"/system/image_attachments/images/000/000/760/medium/display_image20150313-88671-18mzidc.jpg?1426299718",
"large_image_path":"/system/image_attachments/images/000/000/760/large/display_image20150313-88671-18mzidc.jpg?1426299718",
"location_ids":[
329
],
"locations":[
{
"id":329,
"name":"Stellar Academy for Dyslexics",
"zip_postal_code":"94560",
"description":null,
"created_at":"2015-03-13T19:21:59.665-07:00",
"updated_at":"2015-03-13T19:21:59.665-07:00",
"street_address_1":"38325 Cedar Blvd",
"street_address_2":null,
"city":"Newark",
"state_province":"CA",
"country":"USA",
"full_address":"38325 Cedar Blvd Newark, CA 94560",
"latitude":37.5320564,
"longitude":-122.0115327,
"foreign_id":null,
"organization_id":376,
"locality_hierarchy":[
],
"coordinates":[
-122.0115327,
37.5320564
]
}
],
"current_camp_count":0,
"min_age":0,
"max_age":18,
"morning_activities":false,
"afternoon_activities":false,
"all_day_activities":false,
"_type":"organization"
},
"sort":[
2.1213703,
0.5
],
"_explanation":{
"value":2.1213703,
"description":"sum of:",
"details":[
{
"value":4.9999995E-5,
"description":"function score, product of:",
"details":[
{
"value":0.70710677,
"description":"ConstantScore(+*:*), product of:",
"details":[
{
"value":1.0,
"description":"boost"
},
{
"value":0.70710677,
"description":"queryNorm"
}
]
},
{
"value":7.0710674E-5,
"description":"Math.min of",
"details":[
{
"value":7.0710674E-5,
"description":"function score, score mode [multiply]",
"details":[
{
"value":7.0710674E-5,
"description":"function score, product of:",
"details":[
{
"value":1.0,
"description":"match filter: *:*"
},
{
"value":7.0710674E-5,
"description":"script score function: composed of:",
"details":[
{
"value":0.70710677,
"description":"ConstantScore(+*:*), product of:",
"details":[
{
"value":1.0,
"description":"boost"
},
{
"value":0.70710677,
"description":"queryNorm"
}
]
}
]
}
]
}
]
},
{
"value":3.4028235E38,
"description":"maxBoost"
}
]
},
{
"value":1.0,
"description":"queryBoost"
}
]
},
{
"value":2.1213202,
"description":"function score, product of:",
"details":[
{
"value":0.70710677,
"description":"ConstantScore(+cache(_type:organization) ++cache(_type:organization) +GeoBoundingBoxFilter(locations.coordinates, [37.81892251706024, -122.36382430479199], [37.23999538461684, -121.63381452064644])), product of:",
"details":[
{
"value":1.0,
"description":"boost"
},
{
"value":0.70710677,
"description":"queryNorm"
}
]
},
{
"value":3.0,
"description":"Math.min of",
"details":[
{
"value":3.0,
"description":"function score, score mode [max]",
"details":[
{
"value":3.0,
"description":"function score, product of:",
"details":[
{
"value":1.0,
"description":"match filter: GeoDistanceRangeFilter(locations.coordinates, SLOPPY_ARC, [0.0 - 8046.72], 37.5482697, -121.9885719)"
},
{
"value":3.0,
"description":"script score function: composed of:",
"details":[
{
"value":0.70710677,
"description":"ConstantScore(+cache(_type:organization) ++cache(_type:organization) +GeoBoundingBoxFilter(locations.coordinates, [37.81892251706024, -122.36382430479199], [37.23999538461684, -121.63381452064644])), product of:",
"details":[
{
"value":1.0,
"description":"boost"
},
{
"value":0.70710677,
"description":"queryNorm"
}
]
}
]
}
]
}
]
},
{
"value":3.4028235E38,
"description":"maxBoost"
}
]
},
{
"value":1.0,
"description":"queryBoost"
}
]
}
]
}
}
]
},
"facets":{
"tags":{
"_type":"terms",
"missing":108,
"total":0,
"other":0,
"terms":[
]
},
"type":{
"_type":"terms",
"missing":0,
"total":108,
"other":0,
"terms":[
{
"term":"organization",
"count":108
}
]
},
"selected_sessions":{
"_type":"terms",
"missing":0,
"total":0,
"other":0,
"terms":[
]
},
"discounts":{
"_type":"terms",
"missing":0,
"total":0,
"other":0,
"terms":[
]
},
"locations":{
"_type":"terms",
"missing":0,
"total":0,
"other":0,
"terms":[
]
},
"days_of_week":{
"_type":"terms",
"missing":0,
"total":0,
"other":0,
"terms":[
]
},
"dow_clustering":{
"_type":"terms",
"missing":0,
"total":0,
"other":0,
"terms":[
]
},
"time_of_day":{
"_type":"terms",
"missing":0,
"total":0,
"other":0,
"terms":[
]
},
"ages":{
"_type":"terms",
"missing":0,
"total":0,
"other":0,
"terms":[
]
},
"cost":{
"_type":"range",
"ranges":[
{
"to":50.0,
"count":0,
"total_count":0,
"total":0.0,
"mean":0.0
},
{
"from":50.0,
"to":100.0,
"count":0,
"total_count":0,
"total":0.0,
"mean":0.0
},
{
"from":100.0,
"to":250.0,
"count":0,
"total_count":0,
"total":0.0,
"mean":0.0
},
{
"from":250.0,
"count":0,
"total_count":0,
"total":0.0,
"mean":0.0
}
]
},
"this_weekend":{
"_type":"filter",
"count":0
},
"next_weekend":{
"_type":"filter",
"count":0
},
"this_month":{
"_type":"filter",
"count":0
},
"next_month":{
"_type":"filter",
"count":0
},
"this_summer":{
"_type":"filter",
"count":0
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment