<div>Hi,</div><div><br></div><div>As I wrote in http://trac.xapian.org/wiki/GSoC2014/Posting%20list%20encoding%20improvements/Journal#June4,</div><div>I am debugging with a test failure.</div><div>I use gdb to track the process of the test simplequery1, </div><div><br></div><div>in api_anydb.cc, L170</div><div><div>// tests the document count for a simple query</div><div>DEFINE_TESTCASE(simplequery1, backend) {</div><div>    Xapian::Enquire enquire(get_database("apitest_simpledata"));</div><div>    enquire.set_query(Xapian::Query("word"));</div><div>    Xapian::MSet mymset = enquire.get_mset(0, 10);</div><div>    TEST_MSET_SIZE(mymset, 2);</div><div>    return true;</div><div>}</div></div><div><br></div><div>I track the process of <span style="line-height: 1.5;">get_database, and finally arrive at brass_database.cc L121,</span></div><div><span style="line-height: 1.5;"><br></span></div><div><span style="line-height: 1.5;"><div>    if (readonly) {</div><div><span class="Apple-tab-span" style="white-space:pre">       </span>open_tables_consistent(0);</div><div><span class="Apple-tab-span" style="white-space:pre">   </span>return;</div><div>    }</div><div><br></div><div>But I didn't find the code where the files concerning with <span style="line-height: 1.5;">test simplequery1 get indexed.</span></div><div><span style="line-height: 1.5;">I think all these failures in tests are due to my change of brass_postlist.cc, </span></div><div>maybe something wrong happen about doc length when files get indexed.</div><div>To repair this bug, I want to find, during the test simplequery1, the exact place where doc length information is indexed to database,</div><div>but I failed.</div><div>When I set a break point at L1556 of brass_postlist.cc( the function merge_doclen_changes ),</div><div>I get</div><div><div>(gdb) b brass_postlist.cc:1556</div><div>No source file named brass_postlist.cc.</div></div></span></div><div><br></div><div><br></div><div><div style="color:#909090;font-family:Arial Narrow;font-size:12px">------------------</div><div style="font-size:14px;font-family:Verdana;color:#000;">Shangtong Zhang,<div>Second Year Undergraduate,</div><div>School of Computer Science,</div><div>Fudan University, China.</div></div></div><div> </div>