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 :
IndexHitsNode getNodes( String key, Object value )
This seems to be true for
Hi Peter,
it looks great! I will try it and let you know of the results.
Thanks,
---
balazs
On 7/7/10 3:40 PM, Peter Neubauer wrote:
Balazs,
this is not explicitly possible today, but in the new Lucene-Index
component in laboratory that will be integrated into trunk after Neo4j
1.1, see
Great, thanks!
Do you have any info on when 1.1 is expected?
In the meantime we will use this laboratory version of the
LuceneIndexProvider, because the multi-field search is essential in our
case.
By the way: I see that now one can also index relationships with the new
API. Do you also plan
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
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
Hi Andrés,
Thanks for the answer, looks cool :-)
I give it a try immediately!
Regards,
---
balazs
On 10/19/10 8:37 PM, Mattias Persson wrote:
2010/10/19 Andres Taylorandres.tay...@neotechnology.com
Hi Balazs,
We've been working on a new lucene-index module just these last days. The
new
()
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 immediately!
Regards,
---
balazs
On 10/19/10 8:37 PM, Mattias Persson wrote:
2010/10/19
, however the options are quite limited there... you can
just specify which keys to sort on and the order is always the natural
lexical order, I think.
Good input.
Regards,
---
balazs
On 10/20/10 8:24 AM, Balazs E. Pataki wrote:
Hi Andrés,
Thanks for the answer, looks cool :-)
I give
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
Hi,
Thanks for the info! I read carefully the Index_Framework documentation
but one thing is missing from there (my point 1.)
This is what I figured out:
1. The neo4j kernel (more specifically the actual GraphDatabaseService
or its helper like EmbeddedGraphDbImpl) automatically loads anything
Thank you very much, Mattias!
This is pretty much what I also have discovered myself and wrote in the
previous email. I'm not sure of the XaDataSource/XaConnection/XaResource
parts, but I will take a look.
Regards,
---
balazs
On 11/3/10 5:37 PM, Mattias Persson wrote:
There should never be a
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 =
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. Patakipat...@dsd.sztaki.hu:
Hi,
I
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. Patakipat...@dsd.sztaki.hu
Great, thanks!
---
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
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 storage
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
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 our own REST interface run in Tomcat. So I have a Tomcat,
and in case the webadmin is a a plain servlet it would be nice to
configure it
I only want to access it via REST, but I don't want to publish (make
accessible) the Neo4J REST API, only my own REST calls (which implements
my business logic with neo4j storing my domain objects).
I will take a deeper look into the Neo4J Server and see if I can somehow
integrate my
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:
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
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
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:
IndexHitsNode hits = index.get(OID_PROP, oid);
if (hits.size() == 0) {
...
}
Caused by:
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:
IndexHitsNode hits
operation.
致敬
向雅
2011/1/14 Balazs E. Patakipat...@dsd.sztaki.hu:
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
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 wrote:
I fixed it, although
: r.getPropertyKeys()) {
newRelationship.setProperty(key, r.getProperty(key));
}
I hope this is useful for you.
Greetings
Axel
[1] http://lists.neo4j.org/pipermail/user/2010-November/005478.html
On 03.03.2011 11:35, Balazs E. Pataki wrote:
Hi,
I have a big database
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
Actually both options would be very useful, but the first option (string
as input and tell me if it is short or not) would be enough for me for
now if available.
Thanks,
---
balazs
On 3/3/11 6:37 PM, Tobias Ivarsson wrote:
Yes, the statistics tool almost does that, but with a wider range of
Hi Tobias,
I tried to use ShortStringEncoding.java, however it seems to refer to a
class called ShortString, which is not available in github:
https://github.com/thobe/neo4j-admin-store/tree/master/src/main/java/org/neo4j/kernel/impl/nioneo/store
Could you also please provide it?
Thanks,
---
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
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 something
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
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
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
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
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.
Hi,
So, an explicit failure() in a transaction doesn't count as a
transaction failed for some reason then?
I have a counter for the number of nodes created and written to DB in
each transaction in the current thread. When the transaction fails, I
would like to know about it and not count
Yes, you are right.
Still, it may be interesting in some cases to be informed when rollbacks
happen.
Mattias, thanks for your help and comments!
---
balazs
On 6/27/11 4:03 PM, Mattias Persson wrote:
Couldn't you count those in afterCommit instead? That way you would be sure
to update your
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
Hi Mattias,
Thanks for the tip!
I started to look around and I think I found something. When fulltext
type index is created its type will be CustomType (subclass of IndexType
- IndexType is used for exact indexes) in neo4j. CustomType overrides
the addToDocument() of IndexType method, which
Great, thank you!
Another thing I just found in IndexType: for a fulltext index each field
is stored as fulltext (tokenized into terms) and there's also an exact
field (the same index postfixed with _e). I think this feature is not
documented officially, so my question is, whether we can count
fields
in fulletxt indexes?
Regards,
---
balazs
On 6/29/11 7:44 AM, Mattias Persson wrote:
Wow, thank you for finding that. Well done!
I'll fix it and if it doesn't break anything else then I'll commit it.
Best,
Mattias
Den tisdagen den 28:e juni 2011 skrev Balazs E. Pataki
pat
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
Great support as always. :-)
Thank you!
---
balazs
On 7/13/11 3:05 PM, Mattias Persson wrote:
2011/7/13 Balazs E. Patakipat...@dsd.sztaki.hu
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
Thank you Mattias for this logical explanation. From now on
doInternalRecovery is my friend. :-)
Regards,
---
balazs
On 10/26/11 5:06 PM, Mattias Persson wrote:
Good question,
so neo4j implements all the ACID principles of transactions, but that
doesn't mean that there's a guarantee that
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
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,
I had a similar issue (also with ID
48 matches
Mail list logo