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

eZFind : Number of suggestions presented on the autocomplete, not working in Oracle EZDFS

    XMLWordPrintable

    Details

      Description

      When defining the number of suggestions presented on autocomplete, apprently this value is ignored.

      Steps to reproduce
      Setup in both servers
      
      1. Open terminal/putty 
      2. Append the following to ezfind.ini.append.php
      
      $ vi settings/override/ezfind.ini.append.php
      
      <?php /* #?ini charset="utf8"?
      
      [LanguageSearch]
      SearchMainLanguageOnly=disabled
      
      [AutoCompleteSettings]
      Limit=3
      */ ?>
      
      Setup on the second server
      
      1. Open terminal/putty 
      2. Append the following to ezfind.ini.append.php
      
      $ vi settings/override/solr.ini.append.php
      
      <?php /* #?ini charset="utf8"?
      
      [SolrBase]
      SearchServerURI=http://<ip first server>:8983/solr
      */ ?>
      
      
      On the first server
      
      1. Run solr
      
      $ cd extension/ezfind/java
      
      $ ./solr.sh
      
      Add a new folder on the first server
      
      1. Login into ezflow with admin account
      2. Choose "Folder" from the drop down list
      3. Click "Create here" button
      4. Fill in the Name with "News Folder"
      5. Click "Send for publishing" button
      
      Add a few articles
      
      1. Select "Folder" option on the dropdown and press the "Create here" button
      2. Folder name: News
      3. Click on "Send for Publishing" button
      4. Click on "News" folder on top menu
      5. Create 5 articles with the following data:
      
      Create Article AAA
      
      1. Choose the "Article" option on dropdown menu and click on "Create here" button
      2. Fill in the following information
          Title (required): TAAA
          Short title: AAA
          Summary: UAAA
          Body: YAAA
          Alternative image text: ITAAA
          Caption: CAAA
          Tags: Tag1, Tag2, Tag3
      
      3. Click on "Send for Publishing" button
      
      Create Article AAB
      
      4. Choose the "Article" option on dropdown menu and click on "Create here" button
      5. Fill in the following information
          Title (required): TAAB
          Short title: AAB
          Summary: UAAB
          Body: YAAB
          Alternative image text: ITAAB
          Caption: CAAB
          Tags: Tag1
      
      6. Click on "Send for Publishing" button
      
      Create Article ABB
      
      7. Choose the "Article" option on dropdown menu and click on "Create here" button
      8. Fill in the following information
          Title (required): TABB
          Short title: ABB
          Summary: UABB
          Body: YABB
          Alternative image text: ITABB
          Caption: CABB
          Tags: Tag2, Tag3
      
      9. Click on "Send for Publishing" button
      
      Create Article BBB
      
      10. Choose the "Article" option on dropdown menu and click on "Create here" button
      11. Fill in the following information
          Title (required): TBBB
          Short title: BBB
          Summary: UBBB
          Body: YBBB
          Alternative image text: ITBBB
          Caption: CBBB
          Tags: Tag2
      
      12. Click on "Send for Publishing" button
      
      Create Article aac
      
      13. Choose the "Article" option on dropdown menu and click on "Create here" button
      14. Fill in the following information
          Title (required): Taac
          Short title: aac
          Summary: Uaac
          Body: Yaac
          Alternative image text: ITaac
          Caption: Caac
          Tags: Tag3
      
      15. Click on "Send for Publishing" button
      
      Test number of suggestions presented on the autocomplete
      
      1. On the search input box, on the top side of the screen, enter the following characters/words: "CA"
      2. Verify that there are only 3 suggestions (Note: this criteria has a total of 4 results)
      

        Attachments

          Activity

            People

            Assignee:
            bd Bertrand Dunogier
            Reporter:
            pedro.resende Pedro Resende
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: