Feeding documents in Vespa

103 views Asked by At

Struggling to feed in document in Vespa using json file. Getting 400 response. services.xml

neighbors.sd

feed.json

Error

2

There are 2 answers

0
Jon On BEST ANSWER

The documents you try to feed have the field "point" while your schema defines the field "embedding".

And: The documents you try to feed specified the document type "point", while the schema defines the type "neighbours".

0
Jo Kristian Bergum On

Using vespa feed --verbose, you would see the feed response, the reason for the 400 bad requests. It would say that point is not a document type.