Handling Queryable Document Geographies in Lists
TLDR Jason asked how to handle multiple geographies in named lists of preferred sites. Jason suggested flattening all POIs in a list into a single 'geopoint[]' field, which satisfied Jason.
1
Nov 09, 2022 (13 months ago)
Jason
04:19 AMJason
04:37 AMgeopoint[]
data type… But could you elaborate on how you’re looking to query the data?Jason
05:17 AMWe wish to query these named lists for at least geopoint within a range.
Jason
05:18 AMgeopoint[][]
Jason
05:19 AMJason
05:20 AMJason
05:21 AMa) the list names
OR
b) POI items inside the list
Jason
05:21 AMa
information on the lists.Jason
05:22 AMJason
05:24 AMJason
05:25 AMJason
05:26 AMgeopoint[]
field.Jason
05:26 AMJason
05:27 AM{
list_name: 'xyz',
poi_geopoints: [ [lat1,lng1], [lat2,lng2], [lat3,lng3], ... ]
}
Jason
05:27 AM[lat1,lng1]
is the geopoint
associated with poi1 and so onJason
05:29 AMJason
05:29 AM1
Typesense
Indexed 3015 threads (79% resolved)
Similar Threads
User-Specific Tagging and Filtering in UI
bnfd asked for the best way to create user-specific tags available on the UI. Jason suggested using personalized filters and creating a separate collection for each user's movies. The duo clarified the use of 'tags' in schemas and the refinementList widget in instantsearch. They also discussed various approaches to import and search large document collections.
Issues Sorting Multiple Fields with Sort_by in Typesense Query
Rishabh was having trouble sorting two fields separately with a single query. Jason explained that a secondary sorting will only occur if the first sort results in matching values. They clarified the functionality of sorting in various search engines.
Adjusting Text Match Score Calculation in TypeSense
Johannes wanted to modify the Text Match Score calculation in TypeSense to improve search results returns. With counsel from Jason and Kishore Nallan, various solutions were proposed, including creating a Github issue, attempting different parameters, and updating Docker to a new version to resolve the matter.
Moving from Algolia to Typesense: Questions and Answers
Juan sought advice from Kishore Nallan about moving from Algolia to Typesense, handling MultiSearch, setting parameters, checking imported documents, and a specific syntax query.
Phrase Search Relevancy and Weights Fix
Jan reported an issue with phrase search relevancy using Typesense Instantsearch Adapter. The problem occurred when searching phrases with double quotes. The team identified the issue to be related to weights and implemented a fix, improving the search results.