v1/search/filename: pattern string is limited to 12000 characters

Started by ubacher, March 11, 2018, 02:38:09 AM

Previous topic - Next topic

ubacher

IMWS.get('v1/search/filename', {
                        scope: 'database',
                        pattern: searchString,
                        fields: 'id,filename,name',
                        advancedmode: false


When the searchString is longer than approx 12000 characters this returns a "malformed string" error.

I assume this is an undocumented limitation.

Mario

This is a GET request. Browsers and web servers impose a limit on the maximum length of the query string they process.
I doubt that many users need to search for a text string that has 12KB in length.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook