Re: Error in identifying the primary key

2009-03-22 Thread radha c
Thanks a lot Nobel, I missed primary field definition in the schema.xml. I added the field definition and it is working now. 2009/3/20 Noble Paul നോബിള്‍ नोब्ळ् > for all the fields mentioned in data-config.xml there should be a > counterpart in schema.xml > > anyway that is relaxed in the late

could not search the indexed table data

2009-03-22 Thread radha c
Hi, I am just in learning face. I indexed a sql test table using dataimport. But I want to search those index by keyword. I tried to search like http://localhost:8080/solr/select/?q=Peter. But I got zero respone. Can anyone help me please why is this? Thanks in advance.

Re: could not search the indexed table data

2009-03-22 Thread Noble Paul നോബിള്‍ नोब्ळ्
it is hard to say the reason. do you have the field containing "Peter" in the default search field? what is the type of the field? On Sun, Mar 22, 2009 at 9:16 PM, radha c wrote: > Hi, > I am just in learning face. I indexed a sql test table using dataimport. > But I want to search those index by

Re: could not search the indexed table data

2009-03-22 Thread radha c
Thanks for your reply, Yes, I have tabel persons and "Peter" value in column firstname . and here is my data-config.xml and my schema.xml person_id It is indexed properly. But I am not getting any result. Do I need to do ex

Re: could not search the indexed table data

2009-03-22 Thread Noble Paul നോബിള്‍ नोब्ळ्
there is a typo in the column value the schema does not say whether fname goes into a default search field On Sun, Mar 22, 2009 at 11:10 PM, radha c wrote: > Thanks for your reply, > Yes, I have tabel persons and "Peter" value in column firstname . and here > is my data-config.xml > >     >

Re: could not search the indexed table data

2009-03-22 Thread radha c
Oops.. Thanks a lot. I got a bit tired :-) Thanks 2009/3/22 Noble Paul നോബിള്‍ नोब्ळ् > there is a typo in the column value > > > > the schema does not say whether fname goes into a default search field > > > On Sun, Mar 22, 2009 at 11:10 PM, radha c wrote: > > Thanks for your reply, > > Yes,

Do I need maven build for solrj client?

2009-03-22 Thread radha c
Hi, I am trying to write an solrj client. Do I need to do maven builb for that. Is there any beginners tutorial with the basic framwork for solrj. Thanks in advance.

Re: Do I need maven build for solrj client?

2009-03-22 Thread Shalin Shekhar Mangar
On Sun, Mar 22, 2009 at 11:54 PM, radha c wrote: > Hi, > I am trying to write an solrj client. Do I need to do maven builb for that. > Is there any beginners tutorial with the basic framwork for solrj. Thanks > in advance. > If you are using maven then Solrj is already present in the maven repo

Re: Problem for replication : segment optimized automaticly

2009-03-22 Thread sunnyfr
Do you have any idea ??? :( cheer, sunnyfr wrote: > > Hi everybody ... still me :) > hoo happy day :) > > Just, I dont get where I miss something, I will try to be clear. > > this is my index folder (and we can notice the evolution according to the > delta import every 30mn) : > > r...@sear

Re: Problem for replication : segment optimized automaticly

2009-03-22 Thread Shalin Shekhar Mangar
Lucene will automatically merge segments when they exceed the mergeFactor. This may be one reason but I'm not sure. I checked DataImportHandler's code again. It won't optimize if optimize=false is specified. On Mon, Mar 23, 2009 at 12:43 AM, sunnyfr wrote: > > Do you have any idea ??? > :( > >

directly communicate with solr with java

2009-03-22 Thread Julian Davchev
Hi, I got solr setup working smoothly with tomcat and all. In general the application I use solr for is php driven but I somehow want to remove this extra roundtrip to php that is made when I call solr from javascript. So bottom line I'd like to change this: JS -> tiny php(apache processed etc) ->

Re: Field tokenizer question

2009-03-22 Thread Ashish P
Hey it works. Can you please tell me the reason?? Thanks, Ashish Koji Sekiguchi-2 wrote: > > Ashish P wrote: >> I have created a field, >> >> >> >> >> >> >> > Set class="solr.TextField" instead of class="solr.StrField" in you

Re: Problem for replication : segment optimized automaticly

2009-03-22 Thread Noble Paul നോബിള്‍ नोब्ळ्
the easiest way to find out what DIH did is to hit it's status command. It will give you a brief description of what all it did during last import On Mon, Mar 23, 2009 at 12:59 AM, Shalin Shekhar Mangar wrote: > Lucene will automatically merge segments when they exceed the mergeFactor. > This may

Error when creating document

2009-03-22 Thread Radha C.
Hi, I am trying to index the rows using dataimporthandler full import. But I am getting the following error, please suggest me what went wrong? Thanks in advance. INFO: Time taken for getConnection(): 406 Mar 23, 2009 11:55:52 AM org.apache.solr.handler.dataimport.SolrWriter upload WARNING: Er

Re: Error when creating document

2009-03-22 Thread Noble Paul നോബിള്‍ नोब्ळ्
the query does not return the required fields. run the query outside of DIH and debug --NOble 2009/3/23 Radha C. : > Hi, > > I am trying to index the rows using dataimporthandler full import. But I am > getting the following error,  please suggest me what went wrong? > Thanks in advance. > > INF