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
- relates to
-
IGBF-2225 Investigate: What exactly gets searched when users use Search Box
- Closed
Activity
Sai Charan Reddy Vallapureddy (Inactive)
created issue -
Sai Charan Reddy Vallapureddy (Inactive)
made changes -
Field | Original Value | New Value |
---|---|---|
Status | Open [ 1 ] | In Progress [ 3 ] |
Sai Charan Reddy Vallapureddy (Inactive)
made changes -
Status | In Progress [ 3 ] | Needs 1st Level Review [ 10005 ] |
Sai Charan Reddy Vallapureddy (Inactive)
made changes -
Assignee | Sai Charan Reddy Vallapureddy [ svallapu ] |
Sai Charan Reddy Vallapureddy (Inactive)
made changes -
Resolution | Done [ 10000 ] | |
Status | Needs 1st Level Review [ 10005 ] | Closed [ 6 ] |
Ann Loraine
made changes -
Workflow | Loraine Lab Workflow [ 18396 ] | Fall 2019 Workflow Update [ 20116 ] |
Ann Loraine
made changes -
Workflow | Fall 2019 Workflow Update [ 20116 ] | Revised Fall 2019 Workflow Update [ 22252 ] |
Ann Loraine
made changes -
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