Git Product home page Git Product logo

cwp-recipe-search's People

Contributors

bergice avatar dnsl48 avatar emteknetnz avatar maxime-rainville avatar robbieaverill avatar scopeynz avatar wilr avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cwp-recipe-search's Issues

Unable to install: Composer conflict with cwp-search

This module depends on silverstripe/fulltextsearch 3.2@stable which depends on cwp-search which itself depends on silverstripe/fulltetxsearch ^3. If cwp-recupe-search module is including cwp-search, then the fulltextsearch dependency should be omitted, otherwise the usual Composer conflict applies (and you guys need to maintain at least 2 refs to the same package).

composer.json snippet

  7     "require": {
  8         "php": ">=5.6",
  9         "cwp/cwp-recipe-search": "2.0.0-rc2",
 10         "silverstripe/recipe-form-building": "1.x-dev",
 11         "silverstripe/recipe-authoring-tools": "1.x-dev",

Composer Error

  Problem 1
    - cwp/cwp-search 1.0.0-rc1 requires silverstripe/fulltextsearch 3.0.0-rc1 -> satisfiable by silverstripe/fulltextsearch[3.0.0-rc1].
    - Can only install one of: silverstripe/fulltextsearch[3.2.0, 3.0.0-rc1].
    - cwp/cwp-recipe-search 2.0.0-rc2 requires cwp/cwp-search 1.0.0-rc1 -> satisfiable by cwp/cwp-search[1.0.0-rc1].
    - cwp/cwp-recipe-search 2.0.0-rc2 requires silverstripe/fulltextsearch 3.2.0@stable -> satisfiable by silverstripe/fulltextsearch[3.2.0].
    - Installation request for cwp/cwp-recipe-search 2.0.0-rc2 -> satisfiable by cwp/cwp-recipe-search[2.0.0-rc2].

Using fulltextsearch POST store does not work with CWP

With the release of 2.3.0 an 2.3.1, a move was made to use the built-in POST index store of fulltextsearch.

However CWP does not work with this version of the POST store due silverstripe/silverstripe-fulltextsearch#260

remotepath is not set or used in CWP so is breaking Solr_Configure on CWP environments.

This previously wasn't a problem in 2.2.x as we were using the CWP defined POST index store instead which validates if this is actually set before trying to assign.

https://github.com/silverstripe/cwp-search/blob/master/src/Solr/CwpSolrConfigStore.php

Update provided functionality

At current the recipe does not use the public folder by default, nor does it render a search bar in the starter theme, if one installs it. This latter point is probably in the wrong place, but it would be nice to take a moment to figure out where it actually belongs (i.e. more of a note to self).
Should this recipe even have a public dir? I cannot remember how the system works on knowing when to and when not to install/use a public dir.

2.1.0 uses deprecated methods

We see deprecated notices on a number of methods (search(), addTerm()). Looks like, with the upcoming 2.1.1-rc2, the deprecated method calls still exist.

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.