earthcubearchitecture-project418 / services

RPC services package for Project 418
0 stars 2 forks source link

inconsistency in the results returned from the text searchset call #6

Closed ericlingerfelt closed 6 years ago

ericlingerfelt commented 6 years ago

There is an inconsistency in the results returned from the text searchset call.

[{"OR":[{"Position":0,"Index":"indexes/csdco.bleve","Score":1.7152670987496785,"ID":"http://opencoredata.org/collections/csdco/57-185xx-1A"}],"HighScore":1.7152670987496785,"Name":"csdco"},{"OR”:

In this segment, “Name” is actually “Index” from the typeaproviders call. Can we either drop the current “Index” (e.g, indexes/*.bleve) from the results or call it something else and rename “Name” to “Index”. I have designed data structures in my JavaScript and I am matching fields names to the terms in the calls and results. I don’t think the user will ever need the path to the bleve index, do you?

fils commented 6 years ago

@ericlingerfelt check the current deployed version... issue should be addressed