-
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
Search API #3
base: master
Are you sure you want to change the base?
Search API #3
Conversation
@JMMackenzie can you try checking out this branch and running |
Actually nvm, I think I was missing the devel python package... |
Pushed some code, but I can't get it to work yet. I get |
Thanks for this. Could you briefly show how you're building/testing? I just want to make sure we're doing the same thing. No rush, thanks! |
I just run import pypisa
results = pypisa.search(
"data/robust04.block_simdbp.idx",
"block_simdbp",
["103"],
"maxscore",
10,
"data/robust04.bmw",
False,
"bm25",
"data/robust04.termlex",
"porter2"
)
print(results) I used the Robus04-queries-only index from https://github.com/osirrc/ciff/, converted it with |
Just a quick note for debugging as discussed earlier. The query processor seems to be losing the scorer resulting in a segfault so we may need to alter the lambda captures in |
Quick update. It seems that the problem could be caused by the |
And final update for now: passing ScorerParams through as a reference seems to work but then I get a |
Still work in progress