Slackbot
08/02/2023, 12:04 PMKishore Nallan
08/02/2023, 12:16 PMAnkit Arora
08/02/2023, 12:17 PMKishore Nallan
08/02/2023, 12:18 PMAnkit Arora
08/02/2023, 12:20 PMKishore Nallan
08/02/2023, 12:21 PMAnkit Arora
08/02/2023, 12:22 PMKishore Nallan
08/03/2023, 6:10 AM0.26.0.rc9 -- this also contains the facet optimizations.Ankit Arora
08/03/2023, 10:40 AMAnkit Arora
08/03/2023, 1:01 PMKishore Nallan
08/03/2023, 1:02 PMAnkit Arora
08/03/2023, 1:06 PMcurl 'URL' \
-H 'authority: URL' \
-H 'accept: application/json, text/plain, */*' \
-H 'accept-language: en-US,en-IN;q=0.9,en;q=0.8' \
-H 'content-type: text/plain' \
-H 'origin: http://localhost:3010' \
-H 'referer: http://localhost:3010/' \
-H 'sec-ch-ua: "Not/A)Brand";v="99", "Google Chrome";v="115", "Chromium";v="115"' \
-H 'sec-ch-ua-mobile: ?0' \
-H 'sec-ch-ua-platform: "Linux"' \
-H 'sec-fetch-dest: empty' \
-H 'sec-fetch-mode: cors' \
-H 'sec-fetch-site: cross-site' \
-H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36' \
--data-raw '{"searches":[{"query_by":"full_name","min_len_2typo":8,"split_join_tokens":"always","sort_by":"update_time:asc","per_page":0,"highlight_full_fields":"full_name","collection":"people_v2","q":"*","facet_by":"location_state","max_facet_values":20,"page":1,"facet_query":"location_state:new"}]}' \
--compressed
Response:
[
{
"facet_counts": [
{
"counts": [],
"field_name": "location_state",
"sampled": false,
"stats": {
"total_values": 0
}
}
],
"found": 4517283,
"hits": [],
"out_of": 4517283,
"page": 1,
"request_params": {
"collection_name": "people_v2",
"per_page": 0,
"q": "*"
},
"search_cutoff": false,
"search_time_ms": 1772
}
]
Searching for "New" in state. Should return values.Kishore Nallan
08/03/2023, 1:12 PMAnkit Arora
08/03/2023, 1:12 PMKishore Nallan
08/03/2023, 1:13 PMAnkit Arora
08/03/2023, 1:13 PMAnkit Arora
08/03/2023, 2:04 PM0.26.0.rc1 The facet_query works as expected.Kishore Nallan
08/03/2023, 2:16 PMAnkit Arora
08/03/2023, 2:19 PMKishore Nallan
08/03/2023, 2:22 PMAnkit Arora
08/03/2023, 2:23 PM0.26.0.rc1 or should we switch to a 0.25 rc version?Kishore Nallan
08/03/2023, 2:24 PMAnkit Arora
08/03/2023, 2:24 PMAnkit Arora
08/03/2023, 2:24 PMKishore Nallan
08/03/2023, 2:25 PMKishore Nallan
08/03/2023, 2:25 PMAnkit Arora
08/03/2023, 2:26 PMKishore Nallan
08/03/2023, 2:26 PMKishore Nallan
08/04/2023, 1:32 PM0.26.0.rc10Ankit Arora
08/04/2023, 1:47 PMAnkit Arora
08/04/2023, 3:11 PMKishore Nallan
08/04/2023, 3:12 PMAnkit Arora
08/04/2023, 3:15 PMKishore Nallan
08/04/2023, 3:20 PMAnkit Arora
08/04/2023, 3:23 PMKishore Nallan
08/04/2023, 3:25 PMAnkit Arora
08/04/2023, 3:43 PMINDEX_SCHEMA = {
"enable_nested_fields": True,
"fields": [{
"name": "location_state",
"type": "string",
"optional": True,
"index": True,
"facet": True
}]
}
// DATA
[
{
"location_state": "New Hampshire"
},
{
"location_state": "New Jersey"
},
{
"location_state": "New Mexico"
},
{
"location_state": "New York"
}
]
//REQUEST
curl 'XXX' \
-H 'authority: XXX' \
-H 'accept: application/json, text/plain, */*' \
-H 'accept-language: en-US,en-IN;q=0.9,en;q=0.8' \
-H 'content-type: text/plain' \
-H 'origin: XXX' \
-H 'referer: XXX' \
-H 'sec-ch-ua: "Not/A)Brand";v="99", "Google Chrome";v="115", "Chromium";v="115"' \
-H 'sec-ch-ua-mobile: ?0' \
-H 'sec-ch-ua-platform: "Linux"' \
-H 'sec-fetch-dest: empty' \
-H 'sec-fetch-mode: cors' \
-H 'sec-fetch-site: cross-site' \
-H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36' \
--data-raw '{"searches":[{"exhaustive_search":true,"query_by":"location_state","highlight_full_fields":"location_state","collection":"facet_state_test","q":"*","facet_by":"location_state","max_facet_values":10,"page":1,"per_page":0,"facet_query":"location_state:New"}]}' \
--compressed
//RESPONSE
{
"results": [
{
"facet_counts": [
{
"counts": [],
"field_name": "location_state",
"sampled": false,
"stats": {
"total_values": 0
}
}
],
"found": 4,
"hits": [],
"out_of": 4,
"page": 1,
"request_params": {
"collection_name": "facet_state_test",
"per_page": 0,
"q": "*"
},
"search_cutoff": false,
"search_time_ms": 0
}
]
}Ankit Arora
08/04/2023, 3:43 PMKishore Nallan
08/04/2023, 3:52 PMAnkit Arora
08/11/2023, 11:42 AMKishore Nallan
08/11/2023, 11:43 AMAnkit Arora
08/11/2023, 11:43 AMKishore Nallan
08/11/2023, 12:03 PM0.26.0.rc12 please try with this build.Ankit Arora
08/11/2023, 1:34 PMAnkit Arora
08/11/2023, 2:53 PMAnkit Arora
08/11/2023, 8:10 PMKishore Nallan
08/12/2023, 12:30 AMKishore Nallan
08/14/2023, 11:12 AMAnkit Arora
08/14/2023, 11:30 AMKishore Nallan
08/14/2023, 11:30 AMAnkit Arora
08/14/2023, 12:46 PMKishore Nallan
08/14/2023, 12:55 PMAnkit Arora
08/14/2023, 12:59 PMAnkit Arora
08/25/2023, 2:54 PM