Re: n-Gram, only works with queries of 2 letters

2008-06-22 Thread Norberto Meijome
On Mon, 23 Jun 2008 16:23:55 +1000 Norberto Meijome <[EMAIL PROTECTED]> wrote: > hi there, > my use case : I want to be able to match documents when only a partial word > is provided. ie, searching for 'roc' or 'ock' should match documents > containing 'rock'. > > As I understand, the way to s

n-Gram, only works with queries of 2 letters

2008-06-22 Thread Norberto Meijome
hi there, my use case : I want to be able to match documents when only a partial word is provided. ie, searching for 'roc' or 'ock' should match documents containing 'rock'. As I understand, the way to solve this problem is to use the nGram tokenizer @ index time and the nGram analyser @ sear

Re: adding documents with json post

2008-06-22 Thread Noble Paul നോബിള്‍ नोब्ळ्
You can write a servletfilter which can read the json stream and convert it to xml or write a requesthandler which can read a json stream and call the updatehandler with the documents --Noble On Mon, Jun 23, 2008 at 8:15 AM, Neville Burnell <[EMAIL PROTECTED]> wrote: > If you are using ruby on you

RE: adding documents with json post

2008-06-22 Thread Neville Burnell
If you are using ruby on your server side, you could easily code a proxy to solr using solr-ruby which could accept json [which is what we did] > -Original Message- > From: Cam Bazz [mailto:[EMAIL PROTECTED] > Sent: Monday, 23 June 2008 7:54 AM > To: solr-user@lucene.apache.org > Subject

Re: adding documents with json post

2008-06-22 Thread Otis Gospodnetic
Hi Cam, Yes, the various other formats are for responses only, as far as I'm aware. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message > From: Cam Bazz <[EMAIL PROTECTED]> > To: solr-user@lucene.apache.org > Sent: Sunday, June 22, 2008 5:53:56 PM > Sub

adding documents with json post

2008-06-22 Thread Cam Bazz
hello; this probably has been asked before but how can I add documents with tru a json ajax submit? does solr only accept XML input? Best. -C.B.

Re: SpellCheckComponent: No file-based suggestions + Location issue

2008-06-22 Thread Shalin Shekhar Mangar
The index directory location is being created inside the current working directory. We should change that. I've opened SOLR-604 and attached a patch which fixes this. I'm still not sure into why FileBasedSpellChecker is not working for you. On Sun, Jun 22, 2008 at 2:58 AM, Ronald K. Braun <[EMAIL