-
Notifications
You must be signed in to change notification settings - Fork 1
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
Make a /interact hook for the Terrier Scala notebooks #33
Comments
I'm curious about how this is going to turn out |
Be curious no longer - see https://github.com/osirrc/terrier-docker/tree/spark
|
When running the notebook, I get the following error:
|
Ya, it's not ready yet...!
But thanks for trying it out
I can't fix the index location unless we know what collection was indexed - hence my
question last night.
Craig
…Sent from my iPhone
On 14 Jun 2019, at 22:37, Ryan Clancy <[email protected]<mailto:[email protected]>> wrote:
When running the notebook, I get the following error:
Name: Compile Error
Message: <console>:47: error: not found: value IndexRef
val indexref = IndexRef.of("/path/to/index/data.properties")
^
<console>:50: error: not found: value terrierHome
"terrier.home" -> terrierHome)
^
<console>:53: error: not found: value TopicSource
val topics = TopicSource.extractTRECTopics(topicsFile)
^
<console>:53: error: not found: value topicsFile
val topics = TopicSource.extractTRECTopics(topicsFile)
^
<console>:56: error: not found: type QueryingTransformer
val queryTransform = new QueryingTransformer()
^
<console>:56: error: <none> is abstract; cannot be instantiated
val queryTransform = new QueryingTransformer()
^
<console>:59: error: not found: value model
.setSampleModel(model)
^
<console>:63: error: not found: type QrelTransformer
val qrelTransform = new QrelTransformer()
^
<console>:63: error: <none> is abstract; cannot be instantiated
val qrelTransform = new QrelTransformer()
^
<console>:64: error: not found: value qrelsFile
.setQrelsFile(qrelsFile)
^
<console>:68: error: not found: type RankingEvaluator
val ndcg = new RankingEvaluator(Measure.NDCG, 20).evaluateByQuery(r2).toList
^
<console>:68: error: <none> is abstract; cannot be instantiated
val ndcg = new RankingEvaluator(Measure.NDCG, 20).evaluateByQuery(r2).toList
^
<console>:68: error: not found: value Measure
val ndcg = new RankingEvaluator(Measure.NDCG, 20).evaluateByQuery(r2).toList
^
<console>:52: error: not found: value TopicSource
TopicSource.configureTerrier(props)
^
StackTrace:
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#33?email_source=notifications&email_token=AAEXTCSKHLQHTJHS6IP2H73P2QFQNA5CNFSM4HYIALS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXYE4GA#issuecomment-502287896>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AAEXTCTKC5UUGTO2JGJMTNTP2QFQNANCNFSM4HYIALSQ>.
|
Ahh, my mistake - I thought it was done! |
@r-clancy we merged this today. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: