Re: how do we increase the 100 item limit of the SEARCH server?

Paul Taylor <[email protected]> Fri, 13 Mar 2015 22:14:06 +0000
Newsgroups gmane.comp.audio.musicbrainz.devel
Message-ID <[email protected]>
On 13/03/2015 20:43, Doron Tal wrote:
> Hello all,
>
> A quick question - I wonder if anybody has done this before:
>
> I've set up a local server (the tomcat search server) and now I'm 
> querying it but I noticed that both on the official server or my local 
> one, when asking for a &limit=X  - where X is > 100 - the limit is 
> capped at 100.
>
> MY QUESTION:
>
> Has anybody successfully increased that 100-item limit?  Since this is 
> my local server being used, I want to use a limit of something like 
> 2,000 - 10,000, not 100.  Is there an easy way to do this?
>
> I guess the question is: where in the code is that setting of 100?  I 
> couldn't find it easily.  I'm not a java guy...
>
> Any help would be greatly appreciated and I promise to share the 
> answer back here in a clear manner -- I wouldn't be surprised if this 
> were a common question.
>
> Thanks!
> -Doron
> [email protected]
Hi just removes lines 544 to 547 of

https://bitbucket.org/metabrainz/search-server/src/ed587b8b125c1ab0ba322cb8f54b50117ab03dbf/servlet/src/main/java/org/musicbrainz/search/servlet/SearchServerServlet.java?at=master


rebuild with

mvn install


Paul

_______________________________________________
MusicBrainz-devel mailing list
[email protected]
http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-devel