Giter Club home page Giter Club logo

ezplatformsearch's People

Contributors

andrerom avatar emodric avatar harmstyler avatar lolautruche avatar marioblazek avatar pspanja avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ezplatformsearch's Issues

Exception when publishing content using ezmultiupload

Hi,
when I create content in the legacy backend using multiupload the new contents are missing in the search index. Those entries are added to the ezpending_actions table because an exception appears:

Could not find 'location' with identifier '3481335'

https://github.com/netgen/ezplatformsearch/blob/master/search/plugins/ezplatformsearch/ezplatformsearch.php#L101

After running the indexcontent cronjob the contentobjects are inside the index again.

ezplatform 2.0
ezpublish-legacy v2017.12.1.1
ezplatformsearch 1.2.2
greetz

Issue with platform search and no result

Hi,

first thanks for this really useful extension!

We found a problem with the bundle but i am not sure if it a general problem:

  • if you search for a term in the legacy backend where not hit is found a SQL error occurs and a fatal error
  • the reason is that an empty nodelist is passed to

nodes = eZContentObjectTreeNode::fetch( $nodeIds );

This ends in a query "WHERE node_id IN ( )"

Code in search/plugins/ezplatformsearch/ezplatformsearch.php:
Line 312:
// $nodeIds is an empty array $nodes = eZContentObjectTreeNode::fetch( $nodeIds ); if ( $nodes instanceof eZContentObjectTreeNode ) { $nodes = array( $nodes ); } else if ( !is_array( $nodes ) ) { $nodes = array(); }

No Solr update on Move

Hi,

setup a Solr Search as descriped here https://doc.ez.no/display/EZP/Solr+Search+Engine+Bundle

You will discover the following problem:

If you move an object via the legacy stack (for example move an object in the admin backend) the main location is not updated in the Solr index.

The problem is that ezcontentobjecttreenodeoperations.php is using a Database transaction. The reindex is triggered before the changes has been commited to the Database.

We have already created a Ticket in the eZ Systems Jira but because of this extension they closed it as "Won't fix": https://jira.ez.no/browse/EZP-26522

Best regards

extensions relies on search_engine parameter

Relying on "search_engine" parameter is sub optimal for several reasons:

  • upgrades from 5.4 and 2014.11 won't have it
  • a customer project with more complex setup might not use it at all as it is not multi repo friendly if you use solr for one and legacy for another one for instance.

So would be more reliable to check that Search engine handler is, or is not LegacySearchEngine instance depending on case.

Fix indexing when restoring Content from trash

During restoring Content from trash, addObject() method will be called from inside of transaction (see content/publish operation here).
That means Search Engine in new stack will not have restored Location(s) available for indexing.

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.