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

            svallapu Sai Charan Reddy Vallapureddy (Inactive) created issue -
            svallapu Sai Charan Reddy Vallapureddy (Inactive) made changes -
            Field Original Value New Value
            Status Open [ 1 ] In Progress [ 3 ]
            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
            svallapu Sai Charan Reddy Vallapureddy (Inactive) made changes -
            Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
            svallapu Sai Charan Reddy Vallapureddy (Inactive) made changes -
            Assignee Sai Charan Reddy Vallapureddy [ svallapu ]
            svallapu Sai Charan Reddy Vallapureddy (Inactive) made changes -
            Resolution Done [ 10000 ]
            Status Needs 1st Level Review [ 10005 ] Closed [ 6 ]
            ann.loraine Ann Loraine made changes -
            Workflow Loraine Lab Workflow [ 18396 ] Fall 2019 Workflow Update [ 20116 ]
            ann.loraine Ann Loraine made changes -
            Workflow Fall 2019 Workflow Update [ 20116 ] Revised Fall 2019 Workflow Update [ 22252 ]
            ann.loraine Ann Loraine made changes -
            Link This issue relates to IGBF-2225 [ IGBF-2225 ]

              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: