2011/2/23 francoisk6 <[email protected]>

>
> Hi michael, thx for the reply.
>
> ok, if this is the new way to index:
> graphdb.index().forNodes(indexName).add(node,field,value) .
> What about the lucene fulltext search and the query search.
> What i need at end of the day, is to index data using java. and then using
> the rest api to search for nodes.
>
> My old way:
> IndexService index = new LuceneIndexService(graphDb);
> IndexService fulltextindex = new LuceneFulltextIndexService(graphDb);
> index.index(tempSectorNode, index_name, value);
> fulltextindex.index(tempSectorNode, index_name, value);
>
> New way:
> graphdb.index().forNodes(indexName).add(node,field,value)
> fulltext ???
>

Have a look here: http://wiki.neo4j.org/content/Index_Framework and
specifically here:
http://wiki.neo4j.org/content/Index_Framework#Advanced_creation_and_fulltext

Instead of one index service where you index key/value pairs you can now
divide stuff into different indexes, this enables querying of multiple
key/values pairs per query. It's all in the above links.

Exact lookups (Index#get) is what the REST API now exposes, but there will
be added query support also (Index#query) where fulltext/wildcard/etc
queries can be entered.


>
> I was informed that a non-exact search is not yet available thru rest api.
> so i was building an extension to do so.
>
> Thx again Michael and appreciate your help.
>
>
>
> -----
> Regards,
> Francois Kassis.
> --
> View this message in context:
> http://neo4j-user-list.438527.n3.nabble.com/Neo4J-Rest-server-API-tp2559737p2560303.html
> Sent from the Neo4J User List mailing list archive at Nabble.com.
> _______________________________________________
> Neo4j mailing list
> [email protected]
> https://lists.neo4j.org/mailman/listinfo/user
>



-- 
Mattias Persson, [[email protected]]
Hacker, Neo Technology
www.neotechnology.com
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to