ssue could come up in other use cases as well, so
it is nice to know there's a "Neo4j synchronization" way to do this
properly without causing a deadlock.
---
balazs
On 11/3/11 9:57 AM, Tuure Laurinolli wrote:
> On Nov 2, 2011, at 13:33 , Balazs E. Pataki wrote:
>
>> Hi,
&
Hi,
I had a similar issue (also with ID generation), and I would be also
interested in a solution, or how synchronizations should be done to
avoid deadlocks like this in the transaction.
Regards,
---
balazs
On 11/2/11 8:55 AM, Cres wrote:
> (Sorry for re-opening this thread, I hadn't yet subsc
k in the most recently active logical log and replay
> all those transactions to the store files... and that's what the recovery
> process does after a non-clean shutdown.
>
> Best,
> Mattias
>
> 2011/10/26 Balazs E. Pataki
>
>>
Hi,
after crashing my application the next time I start it up I get the usual
Oct 26, 2011 3:28:42 PM
org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog
doInternalRecovery
INFO: Non clean shutdown detected on log [/db/nioneo_logical.log.1].
Recovery started ...
INFO: Non clean shutdown
Great support as always. :-)
Thank you!
---
balazs
On 7/13/11 3:05 PM, Mattias Persson wrote:
> 2011/7/13 Balazs E. Pataki
>
>> Passing a Filter would be great, because in many cases I can decide
>> based on Lucene Documents (indexed fields), which objects I need as
>&
Passing a Filter would be great, because in many cases I can decide
based on Lucene Documents (indexed fields), which objects I need as
Nodes (and selecting/filtering/sorting Documents is much faster than
first turning each Document to a Node and then sorting/filtering the nodes)
But as Edgar p
e them changing in the near future, and even if it's a bit of a
> hack to use them (since they are there mostly to be able to remove stuff)
> I've used them also in at least one scenario. I think you can give it a go,
> but it's not an "official" feature that could
oesn't break anything else then I'll commit it.
>
> Best,
> Mattias
>
> Den tisdagen den 28:e juni 2011 skrev Balazs E. Pataki:
>> Hi Mattias,
>>
>> Thanks for the tip!
>>
>> I started to look around and I think I found something. When &quo
don't know. What I see
> in neo4j is that it treats the values the exact same way, the queries to the
> index is exactly the same, but it just doesn't return any values. I think
> there needs to be some more googling around this to get more answers.
>
>
> 2011/6/28 Bal
Hi,
I'm playing around with indexing and numeric range queries according to
this documentation:
http://docs.neo4j.org/chunked/snapshot/indexing-lucene-extras.html
According to my tests numeric range queries
(QueryContext.numericRange()) only have effect when "exact" type index
is used.
I
update your counter (which isn't stored in neo4j?) for stuff that's
> actually committed.
>
> 2011/6/27 Balazs E. Pataki
>
>> Hi,
>>
>> So, an explicit failure() in a transaction doesn't count as a
>> "transaction failed for some reason"
tions. Is there
> any specific reason as to why you'd like to know about those transactions?
>
> 2011/6/24 Balazs E. Pataki
>
>> Hi,
>>
>> I'm using 1.4M03 and I have class implementing TransactionEventHandler.
>> However it never receives an afterRol
Hi,
I'm using 1.4M03 and I have class implementing TransactionEventHandler.
However it never receives an afterRollback() although I call failure()
and finish() on the transaction. Otherwise the transaction seems to be
rolled back, only my TransactionEventHandler is not informed about it.
befo
Hi,
when we started to evaluate neo4j we made some measurements and for us
it seemed that 50.000 is a magical number: this many relationships and
properties on one node seemed to be a limit, which once reached makes
things slow. But we didn't actually need that much relationship/property
in ou
011/5/27 Balazs E. Pataki
>
>> Hello Ian,
>>
>> and welcome! :-)
>>
>> Reading the announcment about M03 ...
>>
>> http://blog.neo4j.org/2011/05/announcing-neo4j-14-m03-kiruna-stol.html
>>
>> ... I got excited about the "novel way of ca
Hello Ian,
and welcome! :-)
Reading the announcment about M03 ...
http://blog.neo4j.org/2011/05/announcing-neo4j-14-m03-kiruna-stol.html
... I got excited about the "novel way of caching relationships based on
their direction". Can you explain what it actually means and in what
situations can
tells that you didn't. Maybe
> you should step through delete process to be sure.
>
>
> Greetings Chris
>
> Am 05.05.2011 um 13:47 schrieb "Balazs E.
> Pataki":
>
>> Hi,
>>
>> I have a complex database and I try to delete some parts of the
>
Hi,
Anothor bug like feature I just found. :-)
Node#getRelationships() return an Iterablle, from which I can get an
Iterator. This Iterator (actually IntArrayIterator) however doesn't
implement the full Iterator interface as it throws an
UnsupportedOperationException() when remove() is called
Hi,
I have a complex database and I try to delete some parts of the graph
using traversal. When deleting, I always delete all relationhips of a
node, and then delete the node itself. At the end, however I get this
exception:
Caused by: javax.transaction.HeuristicRollbackException: Failed to
c
Great job, thank you!
Will you also update this page
http://neotechnology.com/price-list
to make it clear what is included in which release and with what license
(Neo4j Community is still marked as AGPLv3 here)?
Regards,
---
balazs
On 4/13/11 6:18 PM, Jim Webber wrote:
> Hello fellow grap
Ok, thanks. I will try and report if I find out something (good or bad).
---
balazs
On 4/7/11 11:44 AM, Tobias Ivarsson wrote:
> I see no reason for it not to work, Lucene has a good story of compatibility
> between releases with the same major version.
>
> But please note that this isn't somethin
Hi,
the subject says is all. :-) But anyway, is it possible/safe to use the
brand new 3.1 (31 March 2011) release of Lucene with neo4j?
Thanks,
---
balazs
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
>
>>> This tool will modify your string properties to store them as short
>> strings
>>> when possible. It will then rebuild the id generator for the
>>> DynamicStringStore so that the "holes" created where the strings were
>>> previously stored
ics tool almost does that, but with a wider range of
>>> possible encodings.
>>>
>>> What would you want from a class like that? Give it a string as input and
>>> have it tell you if it is short or not? Or go through an existing store
>> and
>>> tel
gt;> ---
>> balazs
>>
>> On 3/3/11 6:37 PM, Tobias Ivarsson wrote:
>>> Yes, the statistics tool almost does that, but with a wider range of
>>> possible encodings.
>>>
>>> What would you want from a class like that? Give it a string a
gt; string compression tool" for accomplishing this, but haven't done so yet.
>>>
>>> Cheers,
>>> Tobias
>>>
>>> On Thu, Mar 3, 2011 at 11:35 AM, Balazs E. Pataki>> wrote:
>>>
>>>> Hi,
>>>>
>>>> I
Hi Tobias,
Do you happen to have some little class which can at tell us which
property values neo4j would consider short and which of your 6 encoding
would it use? Maybe the string statistics collecting program you created
earlier has this logic - but I'm just guessing.
Thanks,
---
balazs
On
ionship =
> s.createRelationshipTo(e, r.getType());
>
> for (String key : r.getPropertyKeys()) {
> newRelationship.setProperty(key, r.getProperty(key));
> }
>
> I hope this is useful for you.
>
> Greetings
>
> Axel
>
> [1] http://lists.neo4j.org/pi
Hi,
I have a big database based on Neo4J 1.2. Now, if I would like to use
the "short strings" feature of Neo4j 1.3 M03 I should regenerate my full
database, that is all strings should be reset so that it may or may not
be stored according to the new "short strings" policy.
It seems to me that
I tried and it now works all right.
Thanks again!
---
balazs
On 1/14/11 11:00 AM, Balazs E. Pataki wrote:
> Great! Thank you very much, I will check this and report how it works.
>
> Thanks for the quick response!
> ---
> balazs
>
> On 1/14/11 9:40 AM, Mattias Persson
tor == null ? new
>>>> ConstantScoreIterator( ids, 0 ) : idIterator;
>>>> -return new IdToEntityIterator( idIterator, searcher )
>>>> +return new IdToEntityIterator( idIterator )
>>>> {
>>>> @Ov
Oh, and it happens with neo4j 1.2.
---
balazs
On 1/13/11 4:38 PM, Balazs E. Pataki wrote:
> Hi,
>
> under certain circumstances (which I could not yet reproduce in a simple
> example) I get this exception from Lucene while searching for a simple
> key=value:
>
>
Hi,
under certain circumstances (which I could not yet reproduce in a simple
example) I get this exception from Lucene while searching for a simple
key=value:
IndexHits hits = index.get(OID_PROP, oid);
if (hits.size() == 0) {
...
}
Caused by: java.lang
Hi Tobias,
I always forget about Neo4j being this smart. :-)
Thank you for your answer!
---
balazs
On 1/4/11 5:11 PM, Tobias Ivarsson wrote:
> Hi Balazs,
>
> I'll be happy to explain that.
>
> All you need to do in order to enable the management component is to have
> the management jar (neo4j-m
This is great news, thank you for your work!
A read this in the announcement:
"Finally, the kernel now has service extensions that load automatically,
or can be injected in a running instance. Examples include the Neo4j
shell server and the management component."
Could you please help how the
When I try to access https://svn.neo4j.org from NetBeans I get the
following error:
- The certificate is not issued by a trusted authority. Use the
fingerprint to validate the certificate manually!
- The certificate has expired
Hostname: svn.neo4j.org
Certificate information:
- Subject: CN=Alpha
te my extensions into it.
---
balazs
On 11/23/10 11:31 AM, Mattias Persson wrote:
> 2010/11/23 Balazs E. Pataki
>
>> Yes, I would like to have what Mattias just described: the webadmin with
>> my embedded environment. I usually have an EmbeddedGraphDatabase, which
>> I access via
connections to embedded
>> neo4j instances as part of a release, we want to make sure things are
>> tested and have some more features...
>>
>> If you try, let the community know how it goes so we can support you!
>>
>> /peter
>>
>> On Monday, N
Hi,
I see there's the Neo4j Server in M4, and it looks really cool,
especially with its administration console.
My question is: is it possible to have an embedded server (a server that
I configure from java, with my own settings, indexers, etc) and have
this same "Neo4j Web Administration" to
>> I also encountered another compatibility issue between neo 1.1-1.2: neo
>> 1.2 tries to read a wrong value from index.db, so I had to delete
>> index.db, let my program rebuild it, then it runs OK. I used the
>> laboratory version of the Lucene indexer with neo 1.1.
>>
>
> Oh, good to know. The
Yes, the same with me. It complains that the database is opened by
another process, but it is obviously not.
I also encountered another compatibility issue between neo 1.1-1.2: neo
1.2 tries to read a wrong value from index.db, so I had to delete
index.db, let my program rebuild it, then it run
Thank you very much for the quick response and quick fix!
---
balazs
On 11/4/10 8:11 PM, Mattias Persson wrote:
> I just fixed it, unfortunately it won't make it into the M03... but it's
> available in latest SNAPSHOT at least!
>
> 2010/11/4 Balazs E. Pataki
>
>>
Great, thanks!
---
balazs
On 11/4/10 4:57 PM, Mattias Persson wrote:
> You definately found a bug. I'll try to fix it today so that it is
> fixed in the next milestone. Thanks for the report and I'll get back
> to you here when it is done!
>
>
> 2010/11/4, Balazs E.
Hi,
I don't know if it is a bug or not, but the following code:
GraphDatabaseService graphDb = new
EmbeddedGraphDatabase("x-lucene-indexer-bug");
Transaction tx = graphDb.beginTx();
try {
Node n1 = graphDb.createNode();
Node n2 = graphDb.createNode();
Relationship r = n1.createRelations
tion/XaResource implementation needed to implement
> an index is a bit tedious and is bound to be simplified in the future. Until
> then you can just look at how the LuceneIndexProvider does things and copy
> that. This information is, as you pointed out, missing from the wiki page...
> I'l
http://twitter.com/peterneubauer
>
> http://www.neo4j.org - Your high performance graph database.
> http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.
>
>
>
> On Wed, Nov 3, 2010 at 3:02 PM, Balazs E. Pataki wrote:
>> Hi,
>>
>> we are tr
Hi,
we are trying to use the Sphinx indexer with neo4j. With the old API we
could implement an IndexProvider and do indexing on Nodes created by any
GraphDatabaseService (eg. EmbeddedGraphDatabase).
Now with the new 1.2M02 milestone release there is the "Index
Framework", which is integrated w
ments, which need to be loaded anyway, and then only "converting"
the necessary Documents to Nodes seems more efficient to me.
---
balazs
On 10/20/10 10:09 AM, Mattias Persson wrote:
> 2010/10/20 Balazs E. Pataki
>
>> Hi Andrés,
>>
>> I just quickly read through the
move some Documents, etc. (that's why it provides its own length()
for the result list)
Do you think such solution is feasible?
Regards,
---
balazs
On 10/20/10 8:24 AM, Balazs E. Pataki wrote:
> Hi Andrés,
>
> Thanks for the answer, looks cool :-)
>
> I give it a try immediat
e could be:
>
> Index myNodeIndex = ...
> for ( Node hit : myNodeIndex.query(
>new QueryContext( "name:Balazs" ).sort( "name" ) ) ) {
>System.out.println( hit.getProperty( "name" ) );
> }
>
>
>> HTH,
>>
>>
Hi,
Is it possible to do get sorted results form LuceneIndex#query()?
It would be really helpful if results would be sorted at "lucene time"
according to one or more indexed fields rather than loading the actual
neo4j nodes and than iterating over them for sorting.
Currently, it seems that sor
en't that great... but EXACT means that it indexes your
> data as it is without chopping it up, whereas FULLTEXT chops up the data
> into words and indexes every word separately.
>
> Both support wildcards, as lucene supports wildcards for both those modes.
>
> 2010/8/27 Balaz
Hi,
could someone please explain me when to use EXACT_CONFIG and when
FULLTEXT_CONFIG when using the nodeIndex() of the LuceneIndexProvider?
It seems to me that one cannot execute wildcard searches in
FULLTEXT_CONFIG mode, it only works when EXACT_CONFIG is used. But what
is actually "exact" t
n't be implemented into getRelationships (it would
> totally break performance). However there are possibilities to create some
> other type of indexing (on relationship type for example/direction)
> natively.
>
> 2010/7/8 Balazs E. Pataki
>
>> Great, thanks!
>>
hone +46 704 106975
>> LinkedIn http://www.linkedin.com/in/neubauer
>> Twitter http://twitter.com/peterneubauer
>>
>> http://www.neo4j.org - Your high performance graph database.
>> http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing
+46 704 106975
> LinkedIn http://www.linkedin.com/in/neubauer
> Twitter http://twitter.com/peterneubauer
>
> http://www.neo4j.org - Your high performance graph database.
> http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.
>
>
>
> http://www.neo4j.org - Your high performance graph database.
> http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.
>
>
>
> On Wed, Jul 7, 2010 at 3:12 PM, Balazs E. Pataki wrote:
>> Toni,
>>
>> thanks for the hint
ries" at [2].
> This should give you what you are looking for if i understand that correctly.
>
> Toni
>
> [1]
> http://components.neo4j.org/neo4j-index/apidocs/org/neo4j/index/lucene/LuceneFulltextQueryIndexService.html
> [2]
> http://wiki.neo4j.org/content/I
Hi,
I'm new to neo4j and have read quite a lot of documentation and source
code and it seems that one can only do queries on a single Node property
(a single indexed value mapped to a key) using :
IndexHits getNodes( String key, Object value )
This seems to be true for LuceneFulltextIndex
59 matches
Mail list logo