GSOC 2017 Project: Improving Xapian's PHP Bindings
Nihal N
nihal.cse.nitk at gmail.com
Fri Mar 3 09:05:09 GMT 2017
On Tue, Feb 21, 2017 at 7:51 AM, Olly Betts <olly at survex.com> wrote:
> > Hi Nihal,
>
Hi Olly,
Sorry for the delayed reply.
> > The idea lists 3 parts - there's also:
>
> > | The final part would be updating Getting Started with Xapian for the
> > | changes, and adding PHP versions of the example code which hasn't yet
> > | been translated to PHP.
>
Yes, definitely testing and documentation also are a major part of the
project.
And also the example code translations for which haven't been
translated yet.
>
> > The project idea links to some resources. The first was written before
> > PHP7 and PHP7 made some changes to this API, so it is now wrong in the
> > details, but as an overview it's still useful. I don't know of a good
> > direct equivalent for PHP7 (if you find one, do let us know).
>
> I haven't found a direct equivalent for php7. But I have found some
> resources
which in addition to the first link can be used to successfully used to
>
understand the difference and write a php7 extension.
LINK 1
<https://github.com/beberlei/whitewashing.de/blob/master/drafts/porting_extension_to_php7.rst>
(A
example upgrade of extension of php5 to php7,
changes in Zend API calls can be looked into and
also the potential problems faced.)
LINK 2 <http://php.net/manual/en/migration70.php> (php7 migration guide
for detailed info on the changes)
>
> > I'd suggest looking at the query introspection methods that exist
> > currently and how they're implemented as a first step.
>
Yes, I've looked into the Query::get_terms_being function which is
mentioned
in the ticket history. If i am right, the query introspection is to
return the operator
performed at the top-level nodes and return few parameters like term,
wqf, and
position for leaf nodes. Can I get more assistance regarding this?
Thanks,
Nihal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xapian.org/pipermail/xapian-devel/attachments/20170303/65a4c44a/attachment.html>
More information about the Xapian-devel
mailing list