Re: how to customize solr

2007-06-01 Thread Chris Hostetter

: I just would like to know if you can tell how can I trace the code through
: servlet code to how it is flowing with what value. I'm using netbeans to
: tracing the code.

Sorry, I can't help you there ... i don't use debuggers with servlet
containers.


-Hoss



Re: how to customize solr

2007-06-01 Thread Ashwani Kabra

No problem

Thanks..

On 6/1/07, Chris Hostetter [EMAIL PROTECTED] wrote:



: I just would like to know if you can tell how can I trace the code
through
: servlet code to how it is flowing with what value. I'm using netbeans to
: tracing the code.

Sorry, I can't help you there ... i don't use debuggers with servlet
containers.


-Hoss





--
Regards
Ashwani Kabra


Re: how to customize solr

2007-05-31 Thread Chris Hostetter

: friends i'm new to working on solr. I downloaded the code from incubator but
: i din't get servlet code.

servlet code is located in the src/webapp directory.

: I want to see the code that how it is working  and flowing but when i tried
: it using testharness class it din't work for me..I used the solrconfig.xmland

can you elaborate on didn't work for me ... the testharness is just a
class, it requires you to write the code arround it ... what was
your code? what outcome did you expect? what outcome did you get? was
there an exception?  what was the stack trace?

: class.I want to know if i want to run the code and want to trace code where
: should i start it from.

the best way to understand the Solr code base is not to trace every line
of code .. start by looking at the high level APIs, make sure you
understand *conceptually* what things like hte StandardRequestHandler are
doing (even if you don't how the meth'ds it calls work) then you can dig
into the specific mehtods you are interested in.

I recommend anyone who wants to get there hands dirty with the *guts* of
Solr start by writting a few plugins...

http://wiki.apache.org/solr/SolrPlugins


-Hoss



Re: how to customize solr

2007-05-31 Thread Ashwani Kabra

Thanks. Chris...
I had got all and got the code and understood it. Now i can go ahead with
this.
but last thing is that i always work on windows and console application so
i'm weaker in Servlet and jsp.
I just would like to know if you can tell how can I trace the code through
servlet code to how it is flowing with what value. I'm using netbeans to
tracing the code.

Thanks again

Regards
Ashwani Kabra


how to customize solr

2007-05-30 Thread Ashwani Kabra

Hello,

friends i'm new to working on solr. I downloaded the code from incubator but
i din't get servlet code.
I want to see the code that how it is working  and flowing but when i tried
it using testharness class it din't work for me..I used the solrconfig.xmland
schema.xml given in the example
But i saw when we run it on browser it called execute function in solrcore
class.I want to know if i want to run the code and want to trace code where
should i start it from.

any help as i'm begginer for solr and want to work as developer.

Thanks..
--
Regards
Ashwani Kabra