<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 21, 2017 at 7:51 AM, Olly Betts <span dir="ltr"><<a href="mailto:olly@survex.com" target="_blank">olly@survex.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> Hi Nihal,<br></blockquote><div> </div><div> Hi Olly,</div><div> Sorry for the delayed reply.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> The idea lists 3 parts - there's also:<br>
<br>> | The final part would be updating Getting Started with Xapian for the<br>> | changes, and adding PHP versions of the example code which hasn't yet<br>> | been translated to PHP.<br></blockquote><div><br></div><div> Yes, definitely testing and documentation also are a major part of the project.</div><div> And also the example code translations for which haven't been translated yet. </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
</span>> The project idea links to some resources. The first was written before<br>> PHP7 and PHP7 made some changes to this API, so it is now wrong in the<br>> details, but as an overview it's still useful. I don't know of a good<br>> direct equivalent for PHP7 (if you find one, do let us know).<br>
<span class=""><br>I haven't found a direct equivalent for php7. But I have found some resources</span> </blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">which in addition to the first link can be used to successfully used to<br></span></blockquote><div> understand the difference and write a php7 extension. </div><div> <a href="https://github.com/beberlei/whitewashing.de/blob/master/drafts/porting_extension_to_php7.rst"> LINK 1</a> (A example upgrade of extension of php5 to php7, </div><div> changes in Zend API calls can be looked into and </div><div> also the potential problems faced.) </div><div> <a href="http://php.net/manual/en/migration70.php">LINK 2</a> (php7 migration guide for detailed info on the changes)</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
</span>> I'd suggest looking at the query introspection methods that exist<br>> currently and how they're implemented as a first step.<br></blockquote><div><br></div><div> Yes, I've looked into the Query::get_terms_being function which is mentioned </div><div> in the ticket history. If i am right, the query introspection is to return the operator</div><div> performed at the top-level nodes and return few parameters like term, wqf, and </div><div> position for leaf nodes. Can I get more assistance regarding this? </div><div><br></div><div> </div><div>Thanks,</div><div>Nihal </div></div></div></div>