Neo4j REST API Lucene Index Search - Java Groovy Lucene
java groovy lucene
We need someone to implement a groovy script so we can paginate through the search results ot the lucene index thats build in to neo4j. We already have the following code: import org.neo4j.graphdb.index.*; import org.neo4j.graphdb.*; import org.neo4j.index.lucene.*; import org.apache.lucene.search.*; neo4j = g.getRawGraph(); idxManager = neo4j.index(); tx = neo4j.beginTx(); searchIndex = idxManager.forNodes('indexedNodes'); tx.success(); tx.finish(); query = new QueryContext( 'field:*' ).sort( new Sort(new SortField( 'field', SortField.STRING, true ) ) ).top(15); results = searchIndex.query( query ); We are missing the opportunity to paginate through the results. The top(15) method is returning the first 15 results. What we want is something with offset and limit. Maybe top(15).skipTo(20) or something similar. Desired Skills: Java Groovy Lucene Keywords: Software Application, Lucene, Groovy, Java
In this project you compete with other providers. The best outcome is chosen by the buyer and its provider is rewarded. For more information see the FAQ.
Use the "Project Type" filter on the left to filter all contest projects.In this project you place a bid to offer the price you wish to receive for performing it. The buyer chooses the provider by price and impression. For more information see the FAQ.
Use the "Project Type" filter on the left to filter all bidding projects.