Skip to content

Why the query IDs have to be integers #1003

Answered by lintool
kwang2049 asked this question in Q&A
Discussion options

You must be logged in to vote

They don't need to be integers. E.g.,

pyserini.search.lucene.get_topics('car17v1.5-benchmarkY1test').keys()

The topic ids are:

dict_keys(['Drinking%20water/Regulation/United%20States', 'Beach%20nourishment/Alternatives/complements%20to%20nourishment', 
...

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lintool
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants