Comments (8)
I am not sure I understand your use case. If you can provide more details, I can try to look into it. thanks
from firestore-algolia-search.
Sorry, what I meant is that if it's possible to use listeners to collections with interpolated document keys something like "parent_collection/$document_id/target_collection"
from firestore-algolia-search.
It is supported. Example syntax is parent_collection/{parentId}/target_collection
. One note, there is not depublication process on subcollections. So if there is a record with the same data in multiple sub collection but with different ids, you will have multiple corresponding records in Algolia.
from firestore-algolia-search.
Also, if you plan to use a new index for the subcollection, make sure the API key you are using has the proper permission.
from firestore-algolia-search.
Reopen the issue if you have further questions.
from firestore-algolia-search.
Could you provide the proper syntax for adding a subcollection. I have tried the below with no success.
Recipes/{parentId}/recipes
Recipes/{documentId}/recipes
from firestore-algolia-search.
Can you provide more detail on this issue? Are the parent and child collection both called recipes?
from firestore-algolia-search.
I have the following structure:
- ParentCollection
- Document1
- SubCollection
- Document2
- SubCollection
- Document3
- SubCollection
- Document1
It should work by setting up the path like ParentCollection/{parentId}/SubCollection
.
This appears in the readme
I was confused because after the initial sync I saw nothing in the Agolia records. Creating/Updating documents did make them appear as records in Agolia, so I started looking and found this issue describing this same behaviour.
from firestore-algolia-search.
Related Issues (20)
- Having trouble with subcollection indexing syntax
- Firebase Emulator Suite
- Record is too large. Payload size too big. Skipping...
- [email protected]
- searchTransformer doesn't work HOT 2
- How to test the local import script with firestore emulators? HOT 1
- add emulator support for transform function HOT 2
- Issue with executeFullIndexOperation HOT 5
- Problem with location HOT 5
- Plugin started a full index even though it was configured not to HOT 3
- Runtime status is stuck at "Processing" for 12 hours now HOT 1
- Minor problems HOT 1
- Subcollections (collection groups) do not perform initial sync (?) HOT 4
- Feature request: Migrate to 2nd gen firestore functions
- Feature request: modify document ID during sync HOT 9
- Bug v1.1.3 - Collection and Subcollenction with same name HOT 5
- multi-environment configuration broken HOT 2
- update CONTRIBUTING.md
- ext-firestore-algolia-search-executeFullIndexOperation Error HOT 1
- Subcollections fail the initial sync HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firestore-algolia-search.