Comments (4)
Appreciate the info. I tried '{"sort":[{"id" : {"order" : "asc"}},"_score"]}' only to get search_parse_exception: No mapping found. Would someone assist in the correct format? Thanks.
from elasticquent.
Here is where in the code it should happen:
Elasticquent/src/ElasticquentTrait.php
Line 262 in 4d16e2d
from elasticquent.
what's the param for sort? string 'asc' or 'desc'? because none of them work.
from elasticquent.
You need to pass through thr ElasticSearch sort params.
Example: https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-sort.html
from elasticquent.
Related Issues (20)
- creating index, put mapping and complex type storing HOT 4
- Undefined index: aggregations HOT 5
- Highlighting HOT 5
- Elasticsearch wont apply not_analyzed into my mapping HOT 1
- About delete HOT 3
- Model::searchByQuery() method HOT 3
- Undefined index: aggregations
- Question about boosted fields in Multi Match Query HOT 1
- paginate unexpected behavior HOT 1
- Searching multiple types/models HOT 10
- Working with related models HOT 1
- Function putMapping - error
- Querying by multiple form fields filter
- Search Collection, not only Model HOT 2
- get aggregations as collection
- package is not working with composer - laravel HOT 3
- Call to undefined function Elasticquent\config() HOT 1
- How we can track every actions of user and not replace the stored documents?
- Failed to access when host url with username:password 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 elasticquent.