Comments (7)
Failed to load resource: http://localhost:8088/geoportal_new/elastic/metadata/item/_search?from=0&size=10&sort=title.sort%3Aasc the server responded with a status of 400 (Bad Request)
I've checked the app-context.xml file settings were unchanged;
` <beans:bean id="geoportalContext" class="com.esri.geoportal.context.GeoportalContext">
<beans:property name="elasticContext" ref="elasticContext" />
</beans:bean>
<beans:bean id="elasticContext" class="com.esri.geoportal.lib.elastic.ElasticContext">
<beans:property name="clusterName" value="${es_cluster:elasticsearch}" />
<beans:property name="indexName" value="metadata" />
<beans:property name="indexNameIsAlias" value="true" />
<beans:property name="autoCreateIndex" value="true" />
<beans:property name="allowFileId" value="false" />
<beans:property name="mappingsFile" value="config/elastic-mappings.json" />
<beans:property name="nodes">
<!-- The list of host names within the Elasticsearch cluster, one value element per host -->
<beans:list>
<beans:value>${es_node:localhost}</beans:value>
</beans:list>
</beans:property>
</beans:bean>`
From geoportal.log
2017-01-13 12:14:05,886 ERROR [com.esri.geoportal.context.AppResponse] - Exception NoNodeAvailableException[None of the configured nodes are available: [{#transport#-1}{127.0.0.1}{localhost/127.0.0.1:9300}]]
from geoportal-server-catalog.
What happens with:
http://{host}:9200/metadata_v1/_settings
and if your running 2.5, then you need to be running ES 5.x
from geoportal-server-catalog.
I am now running 2.5 with ES 5.1.2
I have an index named "metadata" as well I've added "metadata_v1"
When I open the settings page I get:
{"metadata_v1":{"settings":{"index":{"creation_date":"1484337373940","number_of_shards":"5","number_of_replicas":"1","uuid":"yFJGLpxSRR2lqKS0Gohbpg","version":{"created":"5010299"},"provided_name":"metadata_v1"}}}}
and
{"metadata":{"settings":{"index":{"creation_date":"1484334146378","number_of_shards":"5","number_of_replicas":"1","uuid":"fi75bYDVQ7ebz8BkCeXdBA","version":{"created":"5010299"},"provided_name":"metadata"}}}}
from geoportal-server-catalog.
Spent all morning trying to figure out what is happening. Here's a recap:
-
Deleted my metadata index yesterday
-
Recreated index "metadata" and harvested a few xmls
-
Went back into Geoportal and no search results would load
-
Installed an instance of Geoportal 2.5 with ElasticSearch 5
-
Created index called "metadata" and harvested some files
-
I get basically the exact same error as the previous version
-
Nothing with the app-context or app-security xmls was changed so I am not sure what is happening here. Any insight would be great, all I was trying to do was purge my index and start fresh :(
from geoportal-server-catalog.
[2017-01-13T14:21:36,301][DEBUG][o.e.a.s.TransportSearchAction] [PQadvDD] [metadata][1], node[PQadvDDnTRGyTBk5EHPgQg], [P], s[STARTED], a[id=49Dx0SHxS7aWq9rLDuarKA]: Failed to execute [SearchRequest{searchType=QUERY_THEN_FETCH, indices=[metadata], indicesOptions=IndicesOptions[id=38, ignore_unavailable=false, allow_no_indices=true, expand_wildcards_open=true, expand_wildcards_closed=false, allow_alisases_to_multiple_indices=true, forbid_closed_indices=true], types=[item], routing='null', preference='null', requestCache=null, scroll=null, source={ "from" : 0, "size" : 10, "sort" : [ { "title.sort" : { "order" : "asc" } } ], "ext" : { } }}] lastShard [true]
from geoportal-server-catalog.
Is there a way to change the index that Geoportal uses to [metadata] instead of [metadata_v1] to match where the harvester indexes?
from geoportal-server-catalog.
I reverted to a previous release of harvester that was working and it pushed fine to metadata_v1.
from geoportal-server-catalog.
Related Issues (20)
- Error Load Metadata Editor HOT 3
- Non public item in ArcGIS Portal can not be added to Map in Geoportal HOT 1
- Implement STAC Item asset roles HOT 1
- implement item_assets in STAC configuration HOT 1
- How to implement JWT based authentication in geoportal-server-catalog
- When deployed to ROOT the STAC API includes relative paths HOT 1
- Enable adding vector tile services in map viewer via widget HOT 1
- Dynamic map service sub-layer cannot be added to the map viewer HOT 1
- Support multiple collections per STAC instance HOT 1
- unify DCAT output HOT 3
- update bootstrap HOT 2
- GetRecordById via HTTP POST exception HOT 3
- Implement STAC transaction API HOT 2
- use 'thumbnail' asset when available in STAC item HOT 1
- Geoportal application does not work with ArcGIS Enterprise if portal user has large number of groups HOT 2
- update docker image to 2.7.2 once released
- Sorting by title is not working HOT 1
- Stac Service -Search - Next link should not be present in last result page
- 'supportsApprovalStatus' not being respected after upgrade to v2.7 HOT 6
- Catalog results don't load after commit 406adc57c51bbeab35de0a2fa4c478f59c4b73ed HOT 3
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 geoportal-server-catalog.