Comments (4)
Search API: Query Facet - Add global flag to control if the facet is bounded to the search query or not, closed by f4f26d2.
from elasticsearch.
Hi,
Well, tried everything, in ES 0.18.5, global doesn't do anything
{
"query": {
"query_string": {
"query": "T*"
}
},
"facets": {
"tags": {
"terms": {
"field": "tags",
"global": true
}
}
}
}
is the same with global or without, the only way I get facet to work globally is to remove the query. If I want to have a facet to further filter my search it would be fine, but what if I want to compare? like I want 2 facets, one for the current search and one global on all tags, so that I can say that there is 6/32, could you please help or redirect me? I tried docs and forumes and I can't find what's wrong.
Thanks fo ES, it's great!
from elasticsearch.
@allochi move the global another level up (under the facet name)
from elasticsearch.
Thanks a million!!! And sorry, I should have noticed, I'm still learning ES and my eyes are geting crossed.
from elasticsearch.
Related Issues (20)
- [CI] ConnectorSyncJobIndexServiceTests testGetConnectorSyncJob failing HOT 1
- [CI] AzureRepositoriesMeteringIT multiple tests failing failing HOT 2
- [CI] CrossClusterAsyncSearchIT testClusterDetailsAfterCCSWithFailuresOnAllShards failing HOT 1
- [CI] JdbcResultSetIT testUnsupportedGetMethods failing HOT 3
- [CI] JdbcPreparedStatementIT testCommentsHandling failing HOT 5
- [CI] JdbcResultSetIT testMultiValueFieldWithMultiValueLeniencyDisabled failing HOT 4
- DOCS Document limitation of datafeed aggs HOT 3
- [CI] MasterServiceTests testTimeoutRejectionBehaviourAtSubmission failing HOT 1
- Improve blocks/vectors serialization HOT 1
- [ILM] a TSDS with a policy without rollover does never delete the data stream HOT 1
- [CI] ResolveClusterActionResponseTests testEqualsAndHashcode failing HOT 4
- Nested vector search can fail to search with a `must_not` prefilter HOT 1
- Data race condition in automaton queries HOT 1
- [CI] JdbcResultSetIT testGettingDateWithCalendarWithNanos failing HOT 2
- org.elasticsearch.xpack.esql.querydsl.query.SingleValueQueryTests.testNotMatchSome fails HOT 2
- [CI] TransportSLMGetExpiredSnapshotsActionTests testGetSnapshotDetailsByPolicy failing HOT 4
- BWC test failures for health/10_basic/cluster health basic test HOT 12
- Retention lease sync actions should not trip circuit breakers HOT 1
- [ML] Anomaly detection job reset can get stuck with no way to unblock HOT 2
- Watcher executes on a node after the .watches shard has been moved to a different node HOT 4
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 elasticsearch.