Hi, community.
I'm trying to create the index pattern (i don't have one), it contains 44,238 documents but the company didn't create the index at the beginning.
I thought that was the amount of documents but hours have passed and it is only loading and there isn't any error in the log.
What could be the mistake?
Error: Forbidden
at commons.bundle.js:4:202880
at step (vendors.bundle.dll.js:532:4015)
at Object.next (vendors.bundle.dll.js:532:3275)
at fulfilled (vendors.bundle.dll.js:532:2669)
And in the elasticsearch.log, there's this
[2024-04-10T00:01:48,278][DEBUG][o.e.a.s.TransportSearchAction] [3ZGZPy2] [cultura][3], node[3ZGZPy2UTvGWNXIF2G2x1w], [P], s[STARTED], a[id=6pQUHD1MSl2vVwx2O9SG8g]: Failed to execute [SearchRequest{searchType$org.elasticsearch.transport.RemoteTransportException: [3ZGZPy2][127.0.0.1:9300][indices:data/read/search[phase/query]]
Caused by: org.elasticsearch.index.query.QueryShardException: Failed to parse query [-]
at org.elasticsearch.index.query.QueryStringQueryBuilder.doToQuery(QueryStringQueryBuilder.java:1051) ~[elasticsearch-6.8.23.jar:6.8.23]
at org.elasticsearch.index.query.AbstractQueryBuilder.toQuery(AbstractQueryBuilder.java:106) ~[elasticsearch-6.8.23.jar:6.8.23]
at org.elasticsearch.index.query.BoolQueryBuilder.addBooleanClauses(BoolQueryBuilder.java:415) ~[elasticsearch-6.8.23.jar:6.8.23]
at org.elasticsearch.index.query.BoolQueryBuilder.doToQuery(BoolQueryBuilder.java:385) ~[elasticsearch-6.8.23.jar:6.8.23]
at org.elasticsearch.index.query.AbstractQueryBuilder.toQuery(AbstractQueryBuilder.java:106) ~[elasticsearch-6.8.23.jar:6.8.23]
at org.elasticsearch.index.query.BoolQueryBuilder.addBooleanClauses(BoolQueryBuilder.java:415) ~[elasticsearch-6.8.23.jar:6.8.23]
at org.elasticsearch.index.query.BoolQueryBuilder.doToQuery(BoolQueryBuilder.java:383) ~[elasticsearch-6.8.23.jar:6.8.23]
at org.elasticsearch.index.query.AbstractQueryBuilder.toQuery(AbstractQueryBuilder.java:106) ~[elasticsearch-6.8.23.jar:6.8.23]
at org.elasticsearch.index.query.QueryShardContext.lambda$toQuery$2(QueryShardContext.java:319) ~[elasticsearch-6.8.23.jar:6.8.23]
at org.elasticsearch.index.query.QueryShardContext.toQuery(QueryShardContext.java:331) ~[elasticsearch-6.8.23.jar:6.8.23]
at org.elasticsearch.index.query.QueryShardContext.toQuery(QueryShardContext.java:318) ~[elasticsearch-6.8.23.jar:6.8.23]
at org.elasticsearch.search.SearchService.parseSource(SearchService.java:806) ~[elasticsearch-6.8.23.jar:6.8.23]
at org.elasticsearch.search.SearchService.createContext(SearchService.java:653) ~[elasticsearch-6.8.23.jar:6.8.23]
at org.elasticsearch.search.SearchService.createAndPutContext(SearchService.java:604) ~[elasticsearch-6.8.23.jar:6.8.23]
at org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:388) ~[elasticsearch-6.8.23.jar:6.8.23]
at org.elasticsearch.search.SearchService.access$100(SearchService.java:127) ~[elasticsearch-6.8.23.jar:6.8.23]
at org.elasticsearch.search.SearchService$2.onResponse(SearchService.java:360) [elasticsearch-6.8.23.jar:6.8.23]
at org.elasticsearch.search.SearchService$2.onResponse(SearchService.java:356) [elasticsearch-6.8.23.jar:6.8.23]
at org.elasticsearch.search.SearchService$4.doRun(SearchService.java:1129) [elasticsearch-6.8.23.jar:6.8.23]
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-6.8.23.jar:6.8.23]
at org.elasticsearch.common.util.concurrent.TimedRunnable.doRun(TimedRunnable.java:41) [elasticsearch-6.8.23.jar:6.8.23]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:778) [elasticsearch-6.8.23.jar:6.8.23]
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-6.8.23.jar:6.8.23]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_181]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_181]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181]
Caused by: org.apache.lucene.queryparser.classic.ParseException: Cannot parse '-': Encountered "<EOF>" at line 1, column 1.
Was expecting one of:
<BAREOPER> ...
"(" ...
"*" ...
<QUOTED> ...
<TERM> ...
<PREFIXTERM> ...
<WILDTERM> ...
<REGEXPTERM> ...
"[" ...
"{" ...
<NUMBER> ...
<TERM> ...
"*" ...
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.