And regardless of these issues, and yes, tracing is hard, you can always 
set it in a debugger and trace specific components.

and  more and more software is being constructed via components with 
dependency injection.  So starting wth the components and seeing what they 
do and how they are composed would help out.

On Sunday, October 5, 2014 8:01:12 PM UTC-7, Ivan Brusic wrote:
>
> The code is difficult to debug due to the distributed nature of 
> Elasticsearch. Requests get serialized and are sent via a binary protocol, 
> so you cannot focus on specific classes.  Dependency injection adds in 
> additional complexity. You cannot simply determine the construction time 
> values in the constructor by browsing the code.
>
> My advice if you want to learn the code is by starting with the unit 
> tests. Focus on the smaller pieces and work your way up.
>
> Cheers,
>
> Ivan
> On Oct 5, 2014 8:44 AM, "ahmed jamal maaz" <[email protected] 
> <javascript:>> wrote:
>
>> Hi,
>>
>> I am a newbie to elasticsearch and lucene. I am going through its source 
>> code. I like the general idea of search on Lucene.
>>
>> My Problem:
>> There is tons of code elasticsearch + lucene in the project. I am 
>> requesting (curl url) and going through step by step (in debug mode). Are 
>> there any recommendations and tips which can help me in increasing the pace 
>> of this. This is taking too long. I don't have any issues, i will spend 
>> time. But are there any parts which i should look first and then the 
>> others. Such that i can learn complete and in a structured manner.
>>
>> Current State:
>> I have touch the bottom of insertion (creating new index) and general 
>> querying.
>>
>> Thanks in advance.
>>
>> Obliged
>> Jamal
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "elasticsearch" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/elasticsearch/834b9e4d-5564-4471-9564-33b81d9f2935%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/elasticsearch/834b9e4d-5564-4471-9564-33b81d9f2935%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/aa6dc4b9-4a23-4216-b153-6d06ba5bb4d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to