neo4j/community — Issue #249: Feature Request - Index Queries - REST API - LIMIT
Author: Romiko
Created: 2012-02-16 22:32:09+00:00
State: open

Hi,

Is it possible to add a feature to query lucene indexes with standard queries or full text queries AND include a limit variable so that we can limit the amount of data searched and retrieved over the wire?

e.g.
var request = new RestRequest(indexResource + "/" + indexName, Method.GET)
{
RequestFormat = DataFormat.Json,
JsonSerializer = new CustomJsonSerializer {NullHandling = JsonSerializerNullValueHandling}
};

request.AddParameter("query", query);
request.AddParameter("limitResults", 500);