Hi Luigi

I tried to reproduce the problem with a minimalistic database but in this 
case the restored copy works as expected. Unfortunately I can't share the 
problematic database because the data is under an nda agreement. If I use 
traverse without conditions, I can use filters to the result set normally, 
meaning that the 'prob' filter works on the returned edges.

The problem is related to java 8 somehow because the problem appears also 
on the original machine if switch to it and restart the Orientdb server. 
The second machine has been only using java 8. On oracle java 7 it works 
fine. I created the graph using pyorient but this should not affect the 
traverse behaviour.

I can try to replicate the behaviour with a synthetic network created using 
pyorient that I can share later.

Regards,
j.

On Thursday, April 23, 2015 at 3:01:27 PM UTC+3, Luigi Dell'Aquila wrote:
>
> Hi Jani,
>
> could you provide a simple test case (eg. the exported db)? 
> The problem seems to be related on how the restore procedure reads 
> numbers, but we need some more details to reproduce and fix it
>
> Thanks
>
> Luigi
>
>
> 2015-04-22 23:25 GMT+02:00 Jani Sainio <[email protected] <javascript:>>:
>
>>
>> Hi fellow OrientDBers
>>
>> I have a question regarding conditional traversal. I have two computers 
>> running identical copies of the same graph database. The second one was 
>> created from the first using restore function in console. I have a property 
>> 'prob' (probability) in edges (link class) which I want to use as condition 
>> in traversal. If an edge has probability less than some value (now 0.5) the 
>> traversal should stop at the node before this edge. Only edges have the 
>> 'prob' field.
>>
>> The query I run is "traverse * from (select from email where address = '
>> [email protected] <javascript:>') while (prob > 0.5 OR @class <> 
>> 'link')". This works in the original database but in the restored copy, the 
>> result set is empty. Is there a good reason for this behaviour or am I 
>> missing something?
>>
>> j.
>>
>> -- 
>>
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "OrientDB" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" 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