Usage of Qlever via C++ API #1249
Replies: 4 comments 3 replies
-
@adel-ayara If you enter a query on https://qlever.cs.uni-freiburg.de and click on the "Share" button, you see various API calls. You can use these to get results from the command line (via |
Beta Was this translation helpful? Give feedback.
-
@adel-ayara It's certainly possible, but why would you want that? Communicating via HTTPS is very comfortable, has very low overhead when your program and QLever run on the same machine, and you compile the programs separately. |
Beta Was this translation helpful? Give feedback.
-
@adel-ayara Can you provide a bit more information on the program from which you want to make function calls to QLever:
|
Beta Was this translation helpful? Give feedback.
-
@adel-ayara Thanks for the additional information. I think I understand what you need now. A meaningful first step would be to write a small C++ program with a The code that is there builds the index, writes it to disk, and then reads it from disk again. There are several ways to avoid reading from disk. One is to not use real files but memory-mapped files. They behave just like files but reside in RAM. Another possibility would be to create a RAM disk with a program like How proficient are you in writing C++ code? |
Beta Was this translation helpful? Give feedback.
-
Hello,
Is it possible to control Qlever directly via C++ API instead of the provided script?
Best regards,
Adel
Beta Was this translation helpful? Give feedback.
All reactions