So,
using this approach, you could potentially switch forth and back
between an Index-based step traversal betwen nodes, and a
reference-based traversal between nodes, maybe with some treshold
tweaking on when to switch involved?
And using the event model, you could even indicate that nodes
I just spent a little time extending the
https://svn.neo4j.org/laboratory/components/lucene-index/ component so that
IndexProvider#relationshipIndex(...) returns a RelationshipIndex (which
extends IndexRelationship) and adds methods so that you can do (not
committed yet):
index.query( name,
Yeah, that API isn't stable yet, but I think that it will end up similar to
that... and hopefully merged into kernel trunk after 1.1 sometime. You can
use it for fun, but you should expect changes in it.
2010/7/7 Peter Neubauer peter.neuba...@neotechnology.com
Balazs,
Mattias is writing this
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
No, (lucene) indexing won'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 pat...@dsd.sztaki.hu
Great, thanks!
Do
= databaseService.beginTx();
transactions = 0;
}
}
-Paul
-Original Message-
From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On
Behalf Of Balazs E. Pataki
Sent: Thursday, July 08, 2010 10:19 AM
To: Neo4j user discussions
Subject: Re: [Neo4j] Query
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
Balazs,
Check out LuceneFulltextQueryIndexService [1] and read at Range
Queries 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]
On Wed, Jul 7, 2010 at 3:12 PM, Balazs E. Pataki pat...@dsd.sztaki.hu wrote:
Toni,
thanks for the hints!
Here's my actual use case:
I have Nodes storing texts of various languages. The Nodes have 2
properties:
content: the actual text
language: ISO language code of the text
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
https://svn.neo4j.org/laboratory/components/lucene-index/src/test/java/org/neo4j/index/impl/lucene/TestLuceneIndex.java,
method
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
Balazs,
Mattias is writing this component, not sure how stable it is right
now, but as I perceived it the API is starting to settle ...
Would be great to get some more indexes tried out, feel free to
experiment with Sphinx, might be a good alternative to Lucene?
Cheers,
/peter neubauer
COO and
12 matches
Mail list logo