Comments (4)
Hi @jn2clark ,
I think the issue is the following line
res_list.append({**just_doc, "_highlights": []})
I think chaning it to
res_list.append({**just_doc, "_highlights": {})
will resolve the issue.
is it what you are looking for or I've got it wrong?
p.s.
Also, I think it would be better to define a global constant like _EMP_HIGHLIGHT = {}
.
from marqo.
Thanks @Pouyanpi ! That sounds like the solution. Do you want to put your solution into a pull request?
from marqo.
@jn2clark , sure I will open a PR asap.
from marqo.
Sounds good.
from marqo.
Related Issues (20)
- [BUG] Can't start Marqo on arm64 HOT 5
- Nice error for multimodal field and non-multimodal field with the same fieldname [BUG] HOT 2
- Squash text tensors into a single vector [ENHANCEMENT]
- [ENHANCEMENT] Add EVA-CLIP support HOT 1
- Give warning/error when out of disk[ENHANCEMENT]
- [ENHANCEMENT] filtered search on hnsw HOT 3
- [BUG] OOM during indexing HOT 2
- Multiprocessing: killed process during model download [BUG]
- Transferring state from a Windows machine to Linux [BUG] HOT 1
- [BUG] filters dont work on lexical searches HOT 4
- [ENHANCEMENT] A better error message when model loading failed HOT 1
- [ENHANCEMENT] Do a md-5 check for model downloading process HOT 2
- [ENHANCEMENT] Pre-warming models API Endpoint
- Aggregations [ENHANCEMENT] HOT 3
- [ENHANCEMENT] Automatically use 'best' available device when none (or an invalid one) is specified HOT 1
- Squash pip freeze on startup [ENHANCEMENT] HOT 1
- [BUG] Outdated reference for documentation in error message when indexing a malformed document
- How are query vectors combined for search? HOT 2
- [ENHANCEMENT] Pydantic Class for Add Docs with Device
- [ENHANCEMENT] Remove some unused functions from pytorch_utils
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 marqo.