Comments (2)
Hi @CNSam!
Thanks for raising this issue and sorry for the delay.
This is indeed the expected behavior, the function getAllIndexes()
should return a list of indexes cf: doc. An Index is composed of an uid
and a primaryKey
.
The getAllIndexes()
function return an array of Index
you need to use the getter to have access to the uid
and the primaryKey
.
You can acces it this way:
$response = $client->getAllIndexes();
foreach ($response as $value){
printf("%s\n", $value->fetchPrimaryKey());
printf("%s\n", $value->getUid());
printf("%s\n", $value->getPrimaryKey());
}
Maybe I missing something so which kind of behavior did you expect exactly?
from meilisearch-php.
Closing this issue due to a lack of an answer. Feel free to re-open if needed.
from meilisearch-php.
Related Issues (20)
- Response compression HOT 3
- Ensure the error handling are following the best practice
- Add CodeCov
- [v1.4] [Prototype] User dictionary settings API HOT 1
- [v1.4] [Prototype] Separators settings api HOT 1
- Best type hint for setting return HOT 5
- The provided API key is invalid HOT 2
- Issue when upgrading from < 1.3 to >= 1.3 with api keys set to empty string HOT 3
- Cannot update ranking rules on index HOT 6
- http client recommendation: Symfony? HOT 10
- Split CI tests with different http clients into separate jobs
- Can't update faceting on the index. HOT 5
- We need a way to delete dumps HOT 1
- [v1.8] New `searchCutoffMs` index settings HOT 3
- [v1.8] Hybrid search improvements HOT 3
- Documentation CI does not work
- [v1.9.0] Filter by ranking score HOT 1
- [v1.9.0] Get similar documents HOT 1
- [v1.9] Distinct field at search time HOT 1
- [v1.9] Hybrid search changes 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 meilisearch-php.