Neo4j REST API Lucene Index Search - 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
| Expired |
Joe Yeager
Business Services Consultant
View profile
Frank Cheung
Web Developer
View profile
Rebecca Johns
Blog & Content Writer
View profile
Brooks Gordon
Software Developer
View profile
Related projects
Search for freelance jobscan’t wait for more clients
and advertising. Thank you."