Does the SDK have a length restriction on searches?

Plug-in and third party software discussion.
Post Reply
dldc114
Posts: 19
Joined: Wed Sep 07, 2022 2:21 pm

Does the SDK have a length restriction on searches?

Post by dldc114 »

Does the search SDK have a length limit? It seems that searches are not possible if the length exceeds a certain number.
NotNull
Posts: 5961
Joined: Wed May 24, 2017 9:22 pm

Re: Does the SDK have a length restriction on searches?

Post by NotNull »

Similar issue
You might need to update the SDK
dldc114
Posts: 19
Joined: Wed Sep 07, 2022 2:21 pm

Re: Does the SDK have a length restriction on searches?

Post by dldc114 »

Thank you, but I meant the new SDK, Everything3. It seems there’s a limit of 260?
dldc114
Posts: 19
Joined: Wed Sep 07, 2022 2:21 pm

Re: Does the SDK have a length restriction on searches?

Post by dldc114 »

I just used Everything3_GetSearchTextW to retrieve the data and found it to be normal, but after calling Everything3_Search, there’s no response. It doesn’t hang, it just stops executing the subsequent code right there. However, there’s no issue if the length doesn’t reach 260.
NotNull
Posts: 5961
Joined: Wed May 24, 2017 9:22 pm

Re: Does the SDK have a length restriction on searches?

Post by NotNull »

Like in this issue?



(topic moved to the Development, plugins and third party software forum)
dldc114
Posts: 19
Joined: Wed Sep 07, 2022 2:21 pm

Re: Does the SDK have a length restriction on searches?

Post by dldc114 »

I tried again, but it still doesn’t work. I’m using C++, and I’ve set the character length to 1000. The search becomes unresponsive when the length exceeds 260 characters.
dldc114
Posts: 19
Joined: Wed Sep 07, 2022 2:21 pm

Re: Does the SDK have a length restriction on searches?

Post by dldc114 »

The 1.4 version of the SDK doesn’t have this issue.
dldc114
Posts: 19
Joined: Wed Sep 07, 2022 2:21 pm

Re: Does the SDK have a length restriction on searches?

Post by dldc114 »

I took a look at the assembly code of the lib, and it indeed has a length restriction: qword ptr [rsp+30h],104h. If possible, I hope you could add an option to allow setting the length ourselves?
Post Reply