Replication and Options (fieldsToStore)
See original GitHub issuei’m trying to create and replicate an index with fieldsToStore
set on initialisation.
when querying that index after replication I get hits, but the documents returned from search
are always undefined
.
the same operation without fieldsToStore
returns the documents as they were stored.
with fieldsToStore
{ totalHits: 1,
totalDocsInIndex: 3,
documentFrequencies: { '*○austausch': 1 },
fieldWeight: { '*○austausch': 0 },
query: [ { AND: [Object], NOT: [Object] } ],
buckets: [],
categories: [],
hits:
[ { id: '0.7027325540540822,39',
score: 0,
tfidf: [Object],
document: undefined } ] }
without fieldsToStore
:
{ totalHits: 1,
totalDocsInIndex: 3,
documentFrequencies: { '*○austausch': 1 },
fieldWeight: { '*○austausch': 0 },
query: [ { AND: [Object], NOT: [Object] } ],
buckets: [],
categories: [],
hits:
[ { id: '39',
score: 0.4230871553996776,
tfidf: [Object],
document: [Object] } ] }
do I have to set fieldsToStore
(or something similiar) when receiving data from a replication? i empty the target index using flush()
before calling replicate
another difference I noticed between source and target of replication (also only when using fieldsToStore
) is in the id field: on source I get id: '39'
and on target it’s id: '0.7027325540540822,39'
Issue Analytics
- State:
- Created 7 years ago
- Comments:18 (9 by maintainers)
Top Results From Across the Web
P4DTG: Planning your Replication - Perforce
Before configuring P4DTG to replicate between your defect tracker and Perforce jobs, plan which fields and data you will transfer between the systems....
Read more >Implementing Data Replication from Employee Central
In this document, we explain how to make the basic settings in SAP SuccessFactors, the middleware (SAP. Cloud Integration), and SAP HCM for ......
Read more >Flux: The Key to Edge Data Replication with InfluxDB
Flux: The Key to Edge Data Replication with InfluxDB. EDR enables developers to use the full capabilities of InfluxDB at the edge.
Read more >DREADDDATA - IDOL - Micro Focus
An alternative name for the DOCUMENT sub-tree. IndexFields, Fields to store as index fields. KeepExisting, Modifies the KillDuplicatesOption operation.
Read more >Configuration — CGRateS 0.11.0~dev documentation
All configuration options come with defaults and we have tried our best to choose ... if this is enabled the replication will be...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@iSOcH hmmm- replicating from linux to windows should work, since the export file is simply gzipped text. This is possibly an encoding issue.
Have you tried examining the file on your windows machine? Is it readable?
My bad, exactly what I wanted @fergiemcdowall =)