let's say for example i need to search for a number of ids, and by looking at the solr/admin page, at the "Make a Query" input form, there is a
Please check out the SolrQuerySyntax page on the Solr wiki for some examples of the query syntax for Solr.
Given your example you could query for this in a couple of ways:
id:[1 TO 4]
(id:1 OR id:2 OR id:3 OR id:4)