Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Sprint:
      Spring 2019 Sprint 5

      Description

      Search in Appstore is not working. When we search for something it is showing us blank page instead of apps.

        Attachments

          Issue Links

            Activity

            Hide
            svallapu Sai Charan Reddy Vallapureddy (Inactive) added a comment -

            App-store is using haystack and whoosh for searching the apps. Haystack is a search framework and whoosh is a search engine.

            To make search work in AppStore:

            1. Edit line in django-projects/lib/python3.6/site-packages/haystack/fields.py
            From : values.append(current_object()) To: values.append(current_object)
            (link: https://github.com/django-haystack/django-haystack/issues/1651, I think this issue is with the version of django or haystack.)
            (Without this edit results in haystack error)

            2. >python manage.py rebuild_index (This will create indexes to the content present in the Apps app. These indexes are later used to give search results)
            (We have to add this line to the Appstore setup)
            3. >python manage.py runserver (Run the server and check the search functionality)

            Commands:
            1. rebuild_index : It deletes all the previous indexes and creates new indexes.
            2. update_index : When we add a new app to the appstore we don't have to rebuild all the indexes instead we can update using update_index.

            Tutorial:
            https://www.youtube.com/watch?v=B-n6_m66TmA

            Show
            svallapu Sai Charan Reddy Vallapureddy (Inactive) added a comment - App-store is using haystack and whoosh for searching the apps. Haystack is a search framework and whoosh is a search engine. To make search work in AppStore: 1. Edit line in django-projects/lib/python3.6/site-packages/haystack/fields.py From : values.append(current_object()) To: values.append(current_object) (link: https://github.com/django-haystack/django-haystack/issues/1651 , I think this issue is with the version of django or haystack.) (Without this edit results in haystack error) 2. >python manage.py rebuild_index (This will create indexes to the content present in the Apps app. These indexes are later used to give search results) (We have to add this line to the Appstore setup) 3. >python manage.py runserver (Run the server and check the search functionality) Commands: 1. rebuild_index : It deletes all the previous indexes and creates new indexes. 2. update_index : When we add a new app to the appstore we don't have to rebuild all the indexes instead we can update using update_index. Tutorial: https://www.youtube.com/watch?v=B-n6_m66TmA

              People

              • Assignee:
                Unassigned
                Reporter:
                svallapu Sai Charan Reddy Vallapureddy (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: