Uploaded image for project: 'PUBLIC - Liferay Documentation'
  1. PUBLIC - Liferay Documentation
  2. LRDOCS-8784

Suggested Improvements to "Example: Searching an Alternate Index"

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Fix Version/s: 7.2.x
    • Component/s: Search Infrastructure
    • Labels:
      None
    • Type of Documentation:
      User

      Description

      Flagged by Ricardo Couso

      Article link: https://help.liferay.com/hc/articles/360032607571#example-searching-an-alternate-index
       
      Comment: 
      "Three comments:
       
      A) To make the sentence "to use the search bar's default query parameter (q)" effective, we should indicate that the field Custom Parameter Name should have the value "q" (without the quotes).
       
      B) To get back actual values for the search data, it's important that the index mappings include `"store": true` for the different fields. By default this value is false, according to the documentation (https://www.elastic.co/guide/en/elasticsearch/reference/6.8/mapping-store.html#mapping-store). Some customers may not know this and find it difficult to find it.
       
      C) The information about not having a query by default, namely "Since you're overriding the default query to search an alternate index, there's nothing in the query by default. Add any query clauses using the Custom Filter widget(s)." is quite important. It should probably deserved a more prominent place.
       
      Thanks!"

        Attachments

          Activity

            People

            Assignee:
            russell.bohl Russell Bohl
            Reporter:
            jay.lee Jay Lee
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:

                Zendesk Support

                  Packages

                  Version Package
                  7.2.x