typesense / firestore-typesense-search

Firebase Extension to automatically push Firestore documents to Typesense for full-text search with typo tolerance, faceting, and more
https://extensions.dev/extensions/typesense/firestore-typesense-search
Apache License 2.0
150 stars 27 forks source link

Support for 'ref' type fields #34

Closed Guilledorfman closed 1 year ago

Guilledorfman commented 1 year ago

Description

Currently ref type fields return null:

else if (value instanceof admin.firestore.DocumentReference) { return null; } See here

Expected Behavior

ref is a firebase object that has a property path that returns a string, for me personally that's all I need to be indexed to Typesense so I think working with that would be the easiest solution for now.

Metadata

Typsense Version:

"typesense": "^1.2.2",
"typesense-instantsearch-adapter": "^2.4.0"

OS:

macOS

jasonbosco commented 1 year ago

I've published this in v0.4.0 of the extension.