Comments (3)
Steps to reproduce either this or a similar issue:
- Add a filter.
- Set the column sort to sort by something that is not configured correctly. See that the query fails in the console, but the user is allowed to continue setting additional filters.
- Update the filter created in step 1. See that a new query is run, but results do not change.
- Note that the error from step 2 is continuing to occur, breaking every query.
- Remove the problematic
sort
. - Note that functionality is restored queries start to succeed again.
from elastic-composer.
@dearsaturn I think that may actually be a different bug. There is no validation on filter or sort names existing, and I think this is just putting bad data into the system which is breaking all future requests
from elastic-composer.
@dearsaturn this RFC deals with a potential bug that happens if a network fault occurs mid request during a valid filter / sort
from elastic-composer.
Related Issues (18)
- Support non-elasticsearch apis in suggestions
- Support an Agg API that can be used to run standalone aggs whenever filters change
- RFC: Nested Obj Filters HOT 10
- RFC: Use mapping parser implementers instead of extending interface to support different versions
- RFC: Sort API HOT 2
- axios in dependencies and peerDependencies HOT 5
- Using JSON.stringify for deep comparison is unstable HOT 5
- RFC: History API HOT 1
- RFC: topTerms suggestion
- add typeguards
- Set minimum_should_match = 1 when all `shoulds` in compound filter type
- Add Readme docs on date range, terms filter, sort api
- BaseFilter.filterKind should be FilterKind not string type
- Roadmap
- Results of fuzzy suggestion are in reverse order
- Create type for 'should' | 'must'
- Standardize how subFilters are handled
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 elastic-composer.