GithubHelp home page GithubHelp logo

Comments (4)

adrienjoly avatar adrienjoly commented on June 27, 2024 1

fixed in 1f66824

from openwhyd.

adrienjoly avatar adrienjoly commented on June 27, 2024

Yes, it could be, @Marinlemaignan ...

I think that posted tracks have not been indexed by algolia for a few months now.

Any suggestion to solve this problem?

from openwhyd.

adrienjoly avatar adrienjoly commented on June 27, 2024

Also reported by Chowee Stardusst by FB private message:

your search engine to find a track in our own track list seems to be broken, any clue ?

from openwhyd.

adrienjoly avatar adrienjoly commented on June 27, 2024

diagnostic & fixing steps:

  • check if recent tracks were indexed by algolia
  • create a blank algolia account and test indexing from a local instance
  • update to latest version of algolia lib (cf #13)
  • fix search and filter
  • push to production
  • re-index database
  • write automated test

notes:

  • 2,359,086 tracks were found in the post db collection, whereas just 1,515,194 were indexed by algolia. => the indexing process must be broken => need to re-index all tracks
  • searchAlgolia.js logs errors when searching and indexing:
search users { q: 'test' }
===
Wed, 14 Jun 2017 08:21:59 GMT Error
    at Console.error (/Users/adrienjoly/Dev/openwhyd/openwhyd/whydJS/app.js:16:45)
    at /Users/adrienjoly/Dev/openwhyd/openwhyd/whydJS/app/models/searchAlgolia.js:167:14
    at /Users/adrienjoly/Dev/openwhyd/openwhyd/whydJS/app/models/searchAlgolia.js:65:4
    at callback (/Users/adrienjoly/Dev/openwhyd/openwhyd/whydJS/node_modules/algolia-search/algoliasearch-node.js:346:21)
    at opts.callback (/Users/adrienjoly/Dev/openwhyd/openwhyd/whydJS/node_modules/algolia-search/algoliasearch-node.js:374:21)
    at IncomingMessage.<anonymous> (/Users/adrienjoly/Dev/openwhyd/openwhyd/whydJS/node_modules/algolia-search/algoliasearch-node.js:488:13)
    at IncomingMessage.g (events.js:291:16)
    at emitNone (events.js:91:20)
    at IncomingMessage.emit (events.js:185:7)
    at endReadableNT (_stream_readable.js:974:12)
missing algolia hits for {"q":"test"} => {"error":true}
[...]
=== Wed, 14 Jun 2017 08:22:05 GMT POST /api/post (api.post.handleRequest) {"_subCtr":"post","action":"insert","eId":"/yt/2a4Uxdy9TQY","name":"Idiot Test - 90% fail","img":"https://i.ytimg.com/vi/2a4Uxdy9TQY/default.jpg","src":{"id":"","name":""},"ctx":"bk","pl":{"name":"full stream","id":"null"},"text":""}
models.search: NO IMPLEMENTATION for indexTyped

from openwhyd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.