ingensi / storeit Goto Github PK
View Code? Open in Web Editor NEWLight package used to store entities to various storage.
Home Page: http://storeit.ingensi.ninja
License: MIT License
Light package used to store entities to various storage.
Home Page: http://storeit.ingensi.ninja
License: MIT License
I've got a IndexMissingException when I use a storage & the given index is missing. It's a runtime exception and cannot be catch.
This exception should be wrapped in a StorageException, or the index should be created when it does not exist.
play.api.UnexpectedException: Unexpected exception[IndexMissingException: [index] missing]
at play.core.ReloadableApplication$$anonfun$get$1$$anonfun$apply$1$$anonfun$1.apply(ApplicationProvider.scala:194) ~[play_2.11-2.4.0-M3.jar:2.4.0-M3]
at play.core.ReloadableApplication$$anonfun$get$1$$anonfun$apply$1$$anonfun$1.apply(ApplicationProvider.scala:148) ~[play_2.11-2.4.0-M3.jar:2.4.0-M3]
at scala.Option.map(Option.scala:146) ~[scala-library-2.11.5.jar:na]
at play.core.ReloadableApplication$$anonfun$get$1$$anonfun$apply$1.apply(ApplicationProvider.scala:148) ~[play_2.11-2.4.0-M3.jar:2.4.0-M3]
at play.core.ReloadableApplication$$anonfun$get$1$$anonfun$apply$1.apply(ApplicationProvider.scala:146) ~[play_2.11-2.4.0-M3.jar:2.4.0-M3]
at scala.util.Success.flatMap(Try.scala:230) ~[scala-library-2.11.5.jar:na]
at play.core.ReloadableApplication$$anonfun$get$1.apply(ApplicationProvider.scala:146) ~[play_2.11-2.4.0-M3.jar:2.4.0-M3]
at play.core.ReloadableApplication$$anonfun$get$1.apply(ApplicationProvider.scala:138) ~[play_2.11-2.4.0-M3.jar:2.4.0-M3]
at scala.concurrent.impl.Future$PromiseCompletingRunnable.liftedTree1$1(Future.scala:24) ~[scala-library-2.11.5.jar:na]
at scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:24) ~[scala-library-2.11.5.jar:na]
at scala.concurrent.forkjoin.ForkJoinTask$AdaptedRunnableAction.exec(ForkJoinTask.java:1361) ~[scala-library-2.11.5.jar:na]
at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) ~[scala-library-2.11.5.jar:na]
at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) ~[scala-library-2.11.5.jar:na]
at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) ~[scala-library-2.11.5.jar:na]
at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) ~[scala-library-2.11.5.jar:na]
Caused by: org.elasticsearch.indices.IndexMissingException: [index] missing
at org.elasticsearch.cluster.metadata.MetaData.convertFromWildcards(MetaData.java:828) ~[elasticsearch-1.5.0.jar:na]
at org.elasticsearch.cluster.metadata.MetaData.concreteIndices(MetaData.java:685) ~[elasticsearch-1.5.0.jar:na]
at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.<init>(TransportSearchTypeAction.java:113) ~[elasticsearch-1.5.0.jar:na]
at org.elasticsearch.action.search.type.TransportSearchQueryThenFetchAction$AsyncAction.<init>(TransportSearchQueryThenFetchAction.java:70) ~[elasticsearch-1.5.0.jar:na]
at org.elasticsearch.action.search.type.TransportSearchQueryThenFetchAction$AsyncAction.<init>(TransportSearchQueryThenFetchAction.java:64) ~[elasticsearch-1.5.0.jar:na]
...
We should be able to have a bulk store with a list of the StoredEntity.
Artifact should be available on maven central repository as:
I've got an error when trying an update:
Caused by: com.ingensi.data.storeit.InternalStorageException: Unable to index entity com.ingensi.data.storeit.entities.ChunkStoredEntity@6f26dadf (not created)
at com.ingensi.data.storeit.ElasticsearchStorage.createOrUpdate(ElasticsearchStorage.java:139) ~[storeit-elasticsearch-1.0.2.jar:na]
at com.ingensi.data.storeit.ElasticsearchStorage.update(ElasticsearchStorage.java:109) ~[storeit-elasticsearch-1.0.2.jar:na]
at com.ingensi.data.storeit.ElasticsearchStorage.update(ElasticsearchStorage.java:103) ~[storeit-elasticsearch-1.0.2.jar:na]
...
The other methods works great, so it is not a configuration problem. Eventually a workaround is to use delete and store after.
POM validation is missing on staged artifact:
Invalid POM: /com/ingensi/data/storeit/1.0.2/storeit-1.0.2.pom: Project name missing
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.