Common problems with Elastic Search:
-
Mapping is wrong.
- Look at the server startup logs to see what port elastic search is bound to. Try 9200 9201 and 9300
- curl -XGET 'http://localhost:9200/media_catalogs_public/asset/_mapping?pretty=true'
-
You should see entries like this:
"country" : {
"include_in_all" : false,
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
}, - not_analyzed fields can be sorted
-
Index is out of date
- shutdown the server
- delete this folder: /WEB-INF/elastic
- Startup the server and monitor the logs for errors
-
Search results are not accurate
curl -XPOST 'http://localhost:9200/media_catalogs_public/asset/_search' -d '
{"query" :
{
"match_all" : {}
}
}' | python -mjson.tool
curl -XPOST 'http://localhost:9200/media_catalogs_public/asset/_search' -d ' { "query" : { "bool" : { "must" : { "term" : { "category" : "index" } }, { "bool" : { "should" : { "term" : { "viewasset" : "true" } }, { "term" : { "viewasset" : "sgroupadministrator" } }, { "term" : { "viewasset" : "profileassetadmin" } }, { "term" : { "viewasset" : "profileviewassets" } }, { "term" : { "viewasset" : "administrators" } }, { "term" : { "viewasset" : "visualdata" } }, { "term" : { "viewasset" : "admin" } } * } } .html">* } }, "sort" : { "assetaddeddate" : { "order" : "desc" } } * }' | python -mjson.tool
EM 8 Knowledge base
Welcome to the EnterMedia 8 Knowledge Base! Here you will find information about working with and developing on the EnterMedia 8 platform.
General Information
- EnterMedia 8.10R1 Release Notes
- EnterMedia 8.9R1 Release Notes
- EnterMedia 8.8.2 Release Notes
- EnterMedia 8.7 Release Notes
- EnterMedia 8.6 Release Notes
- EnterMedia 8.5.2 Release Notes
Setup
- CentOS Installer
- VirtualBox Evaluation Setup
- Defining Roles
- Users And Groups
- Application Libraries
- Hot Folders
- Managing Metadata - Categories
- Managing Metadata - Fields
- Managing Metadata - Views & Asset Types
- Managing Metadata - Data Views
- Watermarking
- User Importing
- Creating Cascading Lists
- GIT Hot Folders
- Setup OE Mounts
- Authentication Options
- ImageMagick
- Site Root
- SMTP Email Setup
Administration
- Upgrading to the Latest Release
- Exporting and Importing Applications
- Multi-File Upload
- Fix Permissions
- Asset Permissions
- Developer - Events API
- Developer - Remote Debug
- Developer - Memory Usage
- Creating and Linking Modules
- Setup - Tomcat Settings