0

I'm looking at our Dgraph.log file and I'm seeing a lot of the following errors. Can anybody point me towards the cause of it? I've verified that my property "p_sort_default" exists and is being populated with data. I'm not sure how to track down where it's being used as a parameter incorrectly.

ERROR   01/02/14 06:02:50.414 UTC   DGRAPH  {dgraph}: DocumentCollectionCategories::GetDocumentScore invalid parameter "p_sort_default".
radimpe
  • 3,197
  • 2
  • 27
  • 46
  • Are you using any relevance ranking strategies? – radimpe Jan 15 '14 at 08:08
  • Yes and that parameter is used a static module in the relevance ranking. Any idea why it would flag it as "invalid"? – browneye253 Jan 15 '14 at 21:44
  • What is the property type of "p_sort_default" and can you provide some test data for it. – radimpe Jan 16 '14 at 05:22
  • It's type is integer. Examples would be -1, -42, -13, 2, 4. We've been using this Search Interface for years not sure if I've just missed these errors or they're new. – browneye253 Jan 16 '14 at 06:23

1 Answers1

0

This error is due to using a search interface with a dimension search. The search interface was designed to be used with a navigation query which have the parameter "p_sort_default". The dimensions do not have the parameter and are throwing the error. We are setting up a new search interface specific for the dimension search to use to clear up the error.