Skip to content
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

Trouble with Join Indexes #19

Open
keithfraley opened this issue Nov 9, 2020 · 4 comments
Open

Trouble with Join Indexes #19

keithfraley opened this issue Nov 9, 2020 · 4 comments

Comments

@keithfraley
Copy link

keithfraley commented Nov 9, 2020

This is a subset of our config file, for some reason the join is not working, it comes in as a table, but even the table doesnt populate with data, not sure what we are doing wrong

`{

`"esConnections":` {

	"y": {

		"id": "y",

		"protocol": "https://",

		"hosts": [

			"yyy"

		],

		"shapeIndices": {

			"zzz": {

				"geometryField": "GEOMETRY",

				"geometryType": "geo_point",

				"joinField": "MMSI"

			}

		},

		"indices": {

			"ddd": {

				"index": "hhh",

				"allowMultiPoint": false,

				"returnFields": [

					"CAPABILITIES",

					"DECK_SIZE",

					"FLAG",

					"LINK_TO_SPECS",

					"OWNER",

					"TOP_SPEED",

					"SHIPNAME",

					"YEAR_BUILT",

					"VESSEL CLASS"

				],

				"aggregations": [],

				"shapeIndex": {

					"name": "zzz",

					"joinField": "MMSI"
				},

				"maxResults": 1000

			}
		}
	}
}

}`

@dhatcher
Copy link
Collaborator

dhatcher commented Nov 9, 2020

I believe the joinField you specify under shapeIndex must also be in your returnFields. Otherwise it won't be able to match to the correct geometry.

@dhatcher
Copy link
Collaborator

dhatcher commented Nov 9, 2020

I think dateFields also needs to exist even if it's an empty array.

@keithfraley
Copy link
Author

noticed that joined indexs (at least the ones we tested) are not showing up in phone based browser, I will continue to test to confirm

@keithfraley
Copy link
Author

im closing

@keithfraley keithfraley reopened this Nov 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants