Re: [Neo] REST API w/ LuceneFulltextQueryIndexService

2010-04-29 Thread Andrew Nelder
That's a tricky question.  I know for my system, I must do some pretty weird
Lucene searches.  (eg. ford~0.8 AND car~0.2 AND be*)

It's tough to say what the best way to implement something like this would
be.  However, I will keep thinking about it and get back to you with my
thoughts on the matter.  If you were to publish a working example (sometime
in the not-to-distant future) of what you were describing below, I would
also be more than happy to help you flush out the hooks and loops.

Thanks!
Andrew

On Wed, Apr 28, 2010 at 12:29 PM, Mattias Persson matt...@neotechnology.com
 wrote:

 We haven't gotten around to exposing it yet... I know that it's a quick fix
 and will try to look at it soon. It would be something like:

   POST /index/fulltext-node/foo/bar%20baz(w/ the node URI)
   GET /index/fulltext-node/foo/bar

 Or something... would that be something in the area of how you would
 imagine
 it?

 2010/4/28 Andrew Nelder anel...@seekersol.ca

  Is there a way to utilize the REST API with the
  LuceneFulltextQueryIndexService?  I've got a major project that depends
 on
  the fuzzy search capabilities of this IndexService.  Thoughts or ideas?
 
  Cheers,
  Andrew Nelder
  ___
  Neo mailing list
  User@lists.neo4j.org
  https://lists.neo4j.org/mailman/listinfo/user
 



 --
 Mattias Persson, [matt...@neotechnology.com]
 Hacker, Neo Technology
 www.neotechnology.com
 ___
 Neo mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

___
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo] REST API w/ LuceneFulltextQueryIndexService

2010-04-29 Thread Mattias Persson
So, I've added that functionality now... so if you download the latest
distribution you should be able to do such indexing/queries (on
/index/fulltext-node/.).

Remember to URI-encode your keys and values. So that even if you have a
complex query just encode it and you'd be fine. You example would be:

   GET /index/fulltext-node/mykey/ford~0.8%20AND%20car~0.2%20AND%20be*

2010/4/29 Andrew Nelder anel...@seekersol.ca

 That's a tricky question.  I know for my system, I must do some pretty
 weird
 Lucene searches.  (eg. ford~0.8 AND car~0.2 AND be*)

 It's tough to say what the best way to implement something like this would
 be.  However, I will keep thinking about it and get back to you with my
 thoughts on the matter.  If you were to publish a working example (sometime
 in the not-to-distant future) of what you were describing below, I would
 also be more than happy to help you flush out the hooks and loops.

 Thanks!
 Andrew

 On Wed, Apr 28, 2010 at 12:29 PM, Mattias Persson 
 matt...@neotechnology.com
  wrote:

  We haven't gotten around to exposing it yet... I know that it's a quick
 fix
  and will try to look at it soon. It would be something like:
 
POST /index/fulltext-node/foo/bar%20baz(w/ the node URI)
GET /index/fulltext-node/foo/bar
 
  Or something... would that be something in the area of how you would
  imagine
  it?
 
  2010/4/28 Andrew Nelder anel...@seekersol.ca
 
   Is there a way to utilize the REST API with the
   LuceneFulltextQueryIndexService?  I've got a major project that depends
  on
   the fuzzy search capabilities of this IndexService.  Thoughts or ideas?
  
   Cheers,
   Andrew Nelder
   ___
   Neo mailing list
   User@lists.neo4j.org
   https://lists.neo4j.org/mailman/listinfo/user
  
 
 
 
  --
  Mattias Persson, [matt...@neotechnology.com]
  Hacker, Neo Technology
  www.neotechnology.com
  ___
  Neo mailing list
  User@lists.neo4j.org
  https://lists.neo4j.org/mailman/listinfo/user
 
 ___
 Neo mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user




-- 
Mattias Persson, [matt...@neotechnology.com]
Hacker, Neo Technology
www.neotechnology.com
___
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user