Open cmacdonald opened 5 years ago
Be curious no longer - see https://github.com/osirrc/terrier-docker/tree/spark
docker run -p 1982:1982 -it terrier:latest /interact
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:
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 notifications@github.com<mailto:notifications@github.com> wrote:
When running the notebook, I get the following error:
Name: Compile Error
Message:
Ahh, my mistake - I thought it was done!
@r-clancy we merged this today.
I'm curious about how this is going to turn out