This content has been marked as final. Show 4 replies
After adding the <arg>--stat-brel</arg> to the dgraph-defaults configuration in Appconfig.xml, please run the baseline_update script.
which will update the configuration of application.
I hope it will help you.
I didn't think it was necessary to run a baseline. The stat-brel is a dgraph startup argument, so a dgraph restart should be all that is required.
However, it doesn't seem to be working. The whymatch argument is returned after a restart.
1. You are correct that all you need is the Dgraph --stat-brel flag to set the rel rank property.
2. The property is named Dgraph.BinRelevanceRank (not Bib). I.e., you won't get it if the name is misspelled.
3. How are you trying to get the property? Are you using ERec.getProperties() on the record?
The Dgraph.BibRelevanceRank was a typo in the message header - I was using Dgraph.BinRelevanceRank
I was looking for the value in the RelRankEvaluator application. When I didn't see it there, I tried ERec.getProperties().get("Dgraph.BinRelevanceRank").
I am seeing the values now though. Not quite sure what I did different. Do you know if it makes a difference whether the restart is from a browser admin?op=restart command, as opposed to a restart on the server itself? I think I may have started seeing the rel rank values after a restart from the server.