Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-27277

Query\Criterion\Fulltext not working

    XMLWordPrintable

Details

    Description

      Steps to reproduce:

      1. Make sure the Solr service is running;
      2. On the admin interface, create the following content structure:

      Home
      	Tests (folder, Location Id: 55)
      		Article 1
      

      3. Create a command that makes use of "Query\Criterion\Fulltext". See attached "SearchCommand.php" command for reference;
      4. Run the command from your installation's root folder:

      $ app/console ezsupport:test:fulltextsearch 55 "article"
      

      Expected outcome: it should return "Article 1" in the results.
      Actual outcome: no results were returned.

      Note: running Solr indexing will cause the the fulltext search command to return the expected result i.e. the "Article 1" content.

      Ref:
      https://doc.ez.no/display/DEVELOPER/Solr+Bundle
      https://doc.ez.no/display/DEVELOPER/Search+Criteria+Reference
      https://doc.ez.no/display/DEVELOPER/Search

      Attachments

        Activity

          People

            Unassigned Unassigned
            nuno.oliveira-obsolete@ez.no Nuno Oliveira (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: