We (FDM.dk and FFWagency.com) have ported the Drupal 7 version of search_api_algolia to Drupal 8. The code is available at https://github.com/fdmweb/search_api_algolia. We are in contact with the maintainer of the search_api_algolia project to get the Drupal 8 version moved to drupal.org.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

beltofte created an issue. See original summary.

beltofte’s picture

FileSize
26.69 KB

Patch with the D8 porting of the module. Diff between 7.x-1.x and https://github.com/beltofte/search_api_algolia.

chriscalip’s picture

Also need this for a client project. Checking current progress and going to help out.

chriscalip’s picture

Snapshot

So far I created sub-issues I saw to complete this issue :

  1. Update README.MD on how to install module https://github.com/chriscalip/search_api_algolia/issues/1
  2. Update README.MD on how to configure administration settings. https://github.com/chriscalip/search_api_algolia/issues/2
  3. Update README.MD on how to use module to populate search index. https://github.com/chriscalip/search_api_algolia/issues/3
  4. Bug: Prevent Crash on admin-gui adding server. https://github.com/chriscalip/search_api_algolia/issues/4
  5. Bug: Prevent Crash on adding a search index. https://github.com/chriscalip/search_api_algolia/issues/5
chriscalip’s picture

Got a working prototype in play at my local!!!
I am able to populate an algolia search index.
I would like co-maintainership to continually update here in this repository instead at my github.

beltofte’s picture

@chriscalip: I have contacted the maintainer at asked him to grant both of us co-maintainer access.

chriscalip’s picture

@beltofte nice! we can get the d8 version up and running soon here at drupal.org

mlbrgl’s picture

Co-maintainership discussed through PM.

JamesK’s picture

Any news on getting this published?

chriscalip’s picture

I have a paying client that needs this contrib module operational. I am currently doing other tasks but will resume with this task .. a few weeks from now. not sure.. d8 migration has lots of bugs.

JamesK’s picture

d8 migration? Is that really a blocker to getting at least even a dev release on d.o?

chriscalip’s picture

More like I am busy with my client project tasks first on d8 migration .. then i proceed with this task of releasing dev release for d8 algolia.

chriscalip’s picture

Assigned: Unassigned » chriscalip
chriscalip’s picture

Version: 7.x-1.0 » 8.x-1.x-dev
chriscalip’s picture

To whom it may concern,

The dependency search_api module has gone through numerous API changes.. that frankly continually breaks our latest efforts to make use of search_api . From March 2016 to today the API changes that results in code crashes for the 8.x version of this module has happened. I will continue to make corresponding changes to this module to keep up with search_api API changes; having said that, I cannot do a stable release of an 8.x version of this module until search_api gets its first stable release.

beltofte’s picture

@chriscalip See that they have just tagged a beta of Search API. Also have a couple of other Search API modules that I need to get working again and finish (Search API Exclude, a best bets (elevate in Solr) and some other stuff. Lets hope that they soon stop making API changes.

chriscalip’s picture

@beltofte indeed.

chriscalip’s picture

Status: Active » Fixed

First working version for 8.x released.

search_api_algolia 8.x-1.0-alpha1

Tested on versions :

drupal 8.1.10
search_api 8.x-1.0-beta2
address 8.x-1.0-rc1

Summary of Test.
Given places nodes, having multi list text and address field.
Tested places nodes are successfully populated to algolia search index.

Test involves :

a.) at search_api gui page, creation of a search_api algolia server "+ Add server"
url: /admin/config/search/search-api/

b.) at search_api gui page, creation of a search_api index "+ Add index"
url: /admin/config/search/search-api/

c.) at search index gui page, specifying which entity_type and bundle. (node & place)
url: admin/config/search/search-api/index/[index-name]/edit

d.) at search index gui page, specifying which fields to add on index.
url: /admin/config/search/search-api/index/nodes2testserver/fields

e.) at search index gui page, populating drupal nodes to algolia index. "Index now"
url: /admin/config/search/search-api/index/[index-name]

f.) at search index gui page, using "Clear all indexed data"
url: /admin/config/search/search-api/index/[index-name]

chriscalip’s picture

Screenshots attached.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.