Code Monkey home page Code Monkey logo

acquia-search-proxy's People

Contributors

cpliakas avatar msherron avatar nerdstein avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

acquia-search-proxy's Issues

Ignore index.php

Helps preserve the repository and not introduce code from specific examples

Add debugging strategies

Add examples of how to debug.

Also, consider adding upstream support for debugging to PSolr (namely the SolrClient.php class that builds the Guzzle request).

Upstream dependencies

This tool relies on acquia-cloud-sdk, which has a subpackage for search SDK. In composer.json:

"acquia/acquia-sdk-php-search": ">=0.10.0,<0.11.0",

The search SDK relies on the PSolr package, found here: https://packagist.org/packages/acquia/acquia-sdk-php-search

PSolr shows a reliance on guzzle/service https://packagist.org/packages/cpliakas/psolr, which has been deprecated: https://packagist.org/packages/guzzle/service

I found an acknowledgement of a Guzzle upgrade here: cpliakas/psolr#9. I have also found the most current package to be 6.2.3 from https://packagist.org/packages/guzzlehttp/guzzle (which appears to be the most recent, non-deprecated Guzzle). In lieu of a version 4/5 upgrade, I'm going to propose a version 6 upgrade in the issue.

I am leaving this here to track, as I would imagine if this upgrade happens, it would affect the code examples and possible usage of PSolr in this package.

Warnings when running application

Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /Users/nerdstein/Projects/acquia-search-proxy/vendor/monolog/monolog/src/Monolog/Logger.php on line 311

Warning: DateTime::createFromFormat(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /Users/nerdstein/Projects/acquia-search-proxy/vendor/symfony/http-foundation/Response.php on line 333

Clarify instructions on conf.yml

It's not clear if "%root-dir%" is a placeholder

It's not clear if we need to change the value for indexes.json if we build it as the instructions articulate (e.g. the default setting will persist)

It's not clear what acquia.search.proxy.identifier represents. Is this a SOLR core?

setQuery no longer function of PSolr class

Example has:

$result = \PSolr\Request\Suggest::factory()
        ->setQuery($query)
        ->sendRequest($app['acquia.search.index'])
    ;

setQuery no longer is a function, need to update this.

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.