-
Notifications
You must be signed in to change notification settings - Fork 2
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
Extend documentation by describing reuse options #159
Comments
Hi @apiskunovs, Thanks for your interest in the project. My recommendation would be to convert your model to a graph and send it to the API. Currently it is not possible to update the index with a new dump. This was not in the scope of the project and I know that it is a research topic (due to the sizes of the dumps, it is not as trivial as doing a diff). To handle 2 endpoints, I would recommend having 2 instances running. The location of the index paths is not setteable externally, so it must be hardcoded (See https://github.com/gabrieldelaparra/SPARQLforHumans/blob/master/SparqlForHumans.Lucene/LuceneDirectoryDefaults.cs) Let me know if this answers your questions. |
Hi @gabrieldelaparra , Following your suggestions I did some improvements. I use your project to make it possible to query suggestions, e.g., finding "human (Q5) instances with certain words in labels" and few more scenarios. I managed to improve the code to use custom paths to Lucene index directories, so now running 2 instances in parallel sounds possible. I have few more questions. Will appreciate if you guide me further :)
Sorry if i am troubling you. Soon this should be over :) |
Hi @apiskunovs, Sorry for the late reply. Regarding lucenet: At the moment of development, lucenenethad not had much movement or updates. The existing version was not compatible with netstandard2.0. I recall that it was .NetFramework compatible only. I cloned the repo and modified it to be compatible. The latest version seems to be compatible, but I am not using it, also I am not sure what will break in doing such update. To update to the latest version, you should be able to remove the .dll dependencies (v3.0.3) and reference the nuget package (v.4.8.0). As I mentioned before, I am not sure if there will be any breaking changes while doing so, but I believe that there will. Regarding the performance tests. Not sure, but since you are running multiple instances, the system loads the data in memory (See InMemoryQueryEngine usages). As per our previous messages, I never considered having multiple threads running in parallel, so I did not optimize for this. A proposal would be to use a different approach (both a graphDB or a relationalDB would work), but that is not in place. |
Would be beneficial to see what and where needs to be done and/or what commands has to be executed in order to reuse the tool for other scenarios, such as :
p.s. i am just a beginner in this area, thus sorry if some of these were already addressed. At least until now i were not able to find clear answers on these questions.
The text was updated successfully, but these errors were encountered: