Comments (3)
I think a unique set of values from a field would be useful too. For example:
doc1 tags: [red, blue]
doc2 tags: [blue]
doc3 tags: [yellow, blue]
mq.index.docs.tags().unique() -> [red, yellow, blue]
from marqo.
I am bumping into this requirement again and think I am going to have to start putting a special metadata/aggregation record into each of the marqo indexes as a workaround. Probably going to need to instroduce another persistance layer altogether now that I think about it.
It's a little more complex than the above example because I need to do a groupby group, e.g.
source_pdf1 -> docs -> tags: [red, blue]
source_pdf2 -> docs -> tags: [blue]
source_pdf3 -> docs -> [yellow, blue]
The goal is to count the number of pdfs that have docs with certain tags. Pdfs don't exist anymore, they are just another piece of metadata on the docs, but I hope the use case is clear.
from marqo.
@pandu-k Can't we integrate a separate package, for example - pandas
or polars
(for larger data) which could handle these aggregation calls. These tools are specifically designed for that, so we can maybe send/stream the data from marqo to these tools and perform the aggregations. Is this feasible?
from marqo.
Related Issues (20)
- Help installing container on TrueNAS Scale (containerd) HOT 6
- [BUG] Add documents validation failure when use_existing_tensors=True
- [BUG] Docker container does not run on M1 Mac HOT 4
- [ENHANCEMENT] Disk persistent storage configuration HOT 1
- Usage on Google Cloud Platform
- [ENHANCEMENT] Marqo on Azure HOT 1
- ONNX Support - CPU HOT 1
- [BUG] Cannot pull docker image on latest 2.1.0 HOT 1
- Marqo Integration into cacheGPT HOT 1
- Error Status: 400 after using add_documents() to add the images from docker to index
- [ENHANCEMENT] Wildcard support HOT 2
- Marqo encountered an unexpected internal error, status_code: 500[BUG] HOT 1
- Support OpenAPI spec generation [ENHANCEMENT]
- [ENHANCEMENT] Allow Pydantic > 2 HOT 3
- Unable to delete index [BUG] HOT 4
- [ENHANCEMENT] Nicer error message if not enough memory HOT 1
- [ENHANCEMENT] Highlighting Exact Matches HOT 2
- [BUG] This is a test HOT 1
- [BUG] HOT 2
- [BUG] Error ingesting simple wiki using simple_wiki_demo script HOT 1
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.