Hi Michael, thank you for you reply, that actually worked.

One thing I noticed, with Cypher you can't control the ordering by score,
but if you do a simple full text search, results will be sort by score.
Would that be possible or I'm just paranoid?

Thanks

On Wed, Oct 29, 2014 at 11:05 PM, Michael Hunger <
[email protected]> wrote:

> For cypher it is currently not possible to control the ordering by score
>
> for REST you can append an ordering query parameter, see:
> http://neo4j.com/docs/stable/rest-api-indexes.html#rest-api-find-node-by-query
>
> Getting the results with a predefined ordering requires adding the query
> parameter
>
> order=ordering
>
> where ordering is one of "index", "relevance" or "score". In this case an
> additional field will be added to each result, named score, that holds
> the float value that is the score reported by the query result.
>
>
> Cheers, Michael
>
> On Tue, Oct 28, 2014 at 4:02 PM, Gabriel Brunacci <[email protected]>
> wrote:
>
>> Hi,
>>
>> I am evaluating Neo4j for an upcoming project.
>>
>> So far I found no way to sort by relevance/score as Lucene says it's
>> capable of doing it.
>>
>> We tried using the REST API and Cypher, and examples shown are done in
>> Java http://neo4j.com/docs/stable/indexing-lucene-extras.
>> html#indexing-lucene-sort
>>
>> Any ideas? Is this possible?
>>
>> Thanks
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Neo4j" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to