-
Notifications
You must be signed in to change notification settings - Fork 279
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No Index Exception when searching for a Keyword like "Berlin" #429
Comments
Now, after i tried to start another version of the jar, photon isnt starting anymore with the error: Exception in thread "main" java.lang.IllegalStateException: failed to load plugin - Plugin information:
|
Btw: Iam using Ubuntu 18.04 and iam running photon as root user |
Update: After deleting photon_data and reunpacking the source the jar starts again. But still the "index not found" exception occurs on every search term i tried |
Duplicate of #427 |
@andrh87 maybe a little bit late, but in my case, this was solved by not including the phonton_data folder as part of the data-dir argument, just until the parent folder, in your example I think it would be |
This did it for me, thanks! |
Hi,
iam new to this project. The following problem occours when i try to start a search on
http://213.109.161.28:2322/api?q=berlin
Exception:
2019-07-14 15:45:00,651 [qtp2001717675-56] ERROR spark.http.matching.GeneralError -
org.elasticsearch.index.IndexNotFoundException: no such index
at org.elasticsearch.cluster.metadata.IndexNameExpressionResolver$WildcardExpressionResolver.infe(IndexNameExpressionResolver.java:676) ~[photon-0.3.1.jar:?]
at org.elasticsearch.cluster.metadata.IndexNameExpressionResolver$WildcardExpressionResolver.innerResolve(IndexNameExpressionResolver.java:630) ~[photon-0.3.1.jar:?]
at org.elasticsearch.cluster.metadata.IndexNameExpressionResolver$WildcardExpressionResolver.resolve(IndexNameExpressionResolver.java:578) ~[photon-0.3.1.jar:?]
at org.elasticsearch.cluster.metadata.IndexNameExpressionResolver.concreteIndices(IndexNameExpressionResolver.java:168) ~[photon-0.3.1.jar:?]
at org.elasticsearch.cluster.metadata.IndexNameExpressionResolver.concreteIndices(IndexNameExpressionResolver.java:140) ~[photon-0.3.1.jar:?]
at org.elasticsearch.action.search.TransportSearchAction.executeSearch(TransportSearchAction.java:263) ~[photon-0.3.1.jar:?]
at org.elasticsearch.action.search.TransportSearchAction.doExecute(TransportSearchAction.java:186) ~[photon-0.3.1.jar:?]
at org.elasticsearch.action.search.TransportSearchAction.doExecute(TransportSearchAction.java:65) ~[photon-0.3.1.jar:?]
at org.elasticsearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:170) ~[photon-0.3.1.jar:?]
at org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:142) ~[photon-0.3.1.jar:?]
at org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:84) ~[photon-0.3.1.jar:?]
at org.elasticsearch.client.node.NodeClient.executeLocally(NodeClient.java:83) ~[photon-0.3.1.jar:?]
at org.elasticsearch.client.node.NodeClient.doExecute(NodeClient.java:72) ~[photon-0.3.1.jar:?]
at org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.java:408) ~[photon-0.3.1.jar:?]
at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:80) ~[photon-0.3.1.jar:?]
at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:54) ~[photon-0.3.1.jar:?]
at de.komoot.photon.searcher.BaseElasticsearchSearcher.search(BaseElasticsearchSearcher.java:28) ~[photon-0.3.1.jar:?]
at de.komoot.photon.searcher.AbstractPhotonRequestHandler.handle(AbstractPhotonRequestHandler.java:28) ~[photon-0.3.1.jar:?]
at de.komoot.photon.SearchRequestHandler.handle(SearchRequestHandler.java:52) ~[photon-0.3.1.jar:?]
at de.komoot.photon.SearchRequestHandler.handle(SearchRequestHandler.java:26) ~[photon-0.3.1.jar:?]
at spark.RouteImpl$1.handle(RouteImpl.java:72) ~[photon-0.3.1.jar:?]
This is what i have done:
I downloaded the latest version of photon jar 0.3.1 to the dir ~/
then i loaded the db-file-latest und extracted it a DIR on another partition.
I started the photon with:
java -jar photon-0.3.1.jar -data-dir /media/hunner/photon_data
WHen started there are warnings:
2019-07-14 15:48:27,147 [main] WARN org.elasticsearch.node.Node - version [5.5.0-SNAPSHOT] is a pre-release version of Elasticsearch and is not suitable for production
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by io.netty.util.internal.ReflectionUtil (file:/root/photon/target/photon-0.3.1.jar) to constructor java.nio.DirectByteBuffer(long,int)
WARNING: Please consider reporting this to the maintainers of io.netty.util.internal.ReflectionUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
2019-07-14 15:48:32,377 [main] INFO de.komoot.photon.elasticsearch.Server - started elastic search node
2019-07-14 15:48:32,457 [Thread-0] WARN org.eclipse.jetty.server.AbstractConnector - Ignoring deprecated socket close linger time
When I do a search then, theres only happens the 500 http error "no such index".
Has anybody a idea what iam doing wrong?
The text was updated successfully, but these errors were encountered: