Skip to content
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

Allow to set the limit of the keyword search #268

Open
D063520 opened this issue Oct 3, 2024 · 7 comments
Open

Allow to set the limit of the keyword search #268

D063520 opened this issue Oct 3, 2024 · 7 comments
Assignees

Comments

@D063520
Copy link
Collaborator

D063520 commented Oct 3, 2024

Will assign Antoine for this who is working on the database.

@madewild @Dgojsic for information

@madewild
Copy link
Member

madewild commented Oct 8, 2024

@D063520 let me know if I need to add Antoine to this repo as a collaborator

@D063520
Copy link
Collaborator Author

D063520 commented Oct 8, 2024

yes please, he is aware of the issue though ...

@madewild
Copy link
Member

madewild commented Oct 8, 2024

what's his Github username?

@D063520
Copy link
Collaborator Author

D063520 commented Oct 8, 2024

https://github.com/ate47

@madewild
Copy link
Member

madewild commented Oct 9, 2024

@ate47 I invited you but you need to accept

@ate47
Copy link
Collaborator

ate47 commented Oct 9, 2024

I need to work on it in qEndpoint, I don’t really need the access of the repository. It’ll be a version update

@ate47
Copy link
Collaborator

ate47 commented Nov 27, 2024

I am not sure where the index config is? Inside the repo model you might have these triples to config the Lucene nodes:

  mdlc:luceneParam [
                      mdlc:paramKey "maxDocuments" ;
                      mdlc:paramValue "5000"^^mdlc:parsedString ;
                  ] ;

With the latest version of qendpoint, they should be removed and replaced by these 2 triples:

     mdlc:luceneMaxDocs 10000 ;
     mdlc:luceneNumResults 5000 ;

The 10000 will be the maximum amount the user can ask (you can use whatever you want)

Then in the lucene query you want to set, you need to add the triple search:numDocs, example:

?subj search:matches [
	      search:query "search terms...";
	      search:numDocs 200 ] .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants