Comments (3)
Hey @Mario8419, i have create a PR for a new feature to allow post processing. In this approach, you can add the id
property to the payload before it gets push Algolia.
from firestore-algolia-search.
hey mario, from what I understand from your description, you want the Algolia record to have the id
attribute instead of the objectID
. Algolia objectID
is required so another attribute can not take its place. If you want the id in the Algolia record, you can request a feature where the id
attribute is also added to the Algolia record. This way the objectID
and id
will be in the Algolia record.
from firestore-algolia-search.
hey smomin, thx for your quick answer. This is what I was searching for, and of course it's a feature not a bug, so sry for posting it here, but couldn't find anything dealing with the id and objectID in algolia forum. that would be what would help in my case, but I don't know how it looks with other users of this plugin!
For now I solved my use case with partialUpdateObject for my search results. but don't know whether it's such a good way...but it's working for now...
...
for (var i = 0; result.hits.length; i++) {
await searchIndex.partialUpdateObject({
id: result.hits[i].objectID,
objectID: result.hits[i].objectID
})
}
from firestore-algolia-search.
Related Issues (20)
- 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
- Feature Request: disable debug logging (via configurable param?) HOT 1
- Error when installing algolia: "You may not have more than 32 total max instances in your project" HOT 1
- select firestore database HOT 8
- Bad performance backfilling large Firestore collections HOT 6
- Updated to mac Sonoma: issue with functions watching wrong directory HOT 3
- Allow for [ObjectId] Modification HOT 13
- Indexing large documents HOT 1
- Firestore "Extension" and >1 Collection HOT 3
- Firestore document changes not reflected in algolia index HOT 6
- Add correct guide example while doing configuration (Feature Request). HOT 1
- Node 16 deprecation HOT 2
- Prematurely Exiting Full Indexing HOT 4
- This extension overwrites the firestore objectID if one is manually set. HOT 2
- FirebaseFunctionsError: The principal lacks IAM permission "cloudtasks.tasks.create" HOT 2
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.