nasa-jpl-memex / GeoParser

Extract and Visualize location from any file
Apache License 2.0
52 stars 23 forks source link

Discussion about Search functionality #68

Closed antrromet closed 8 years ago

antrromet commented 8 years ago

@chrismattmann @MBoustani @smadha I've added pagination in the search results. We will have to figure out a way as to what fields should be displayed in the search query. As of now its hardcoded to look for title or dc-title. If those are not present then No Title will be shown.

screen shot 2016-04-05 at 1 12 14 am

Lemme know what you guys think.

MBoustani commented 8 years ago

@antrromet looks great, can you put an transparent background under search result?

smadha commented 8 years ago

@antrromet Does search function displays anything on map?

antrromet commented 8 years ago

@smadha Not as of now. But of course we would have to add that functionality.

smadha commented 8 years ago

:+1: This is the initial mockup that @lawongsta prepared for all the functionalities. Things have changed a bit but it should give a good idea of workflow.

https://drive.google.com/file/d/0B8s73OrIJNwjQ3pNNXBjbm05OUU/view?usp=sharing

antrromet commented 8 years ago

@MBoustani This is how it looks now.

screen shot 2016-04-06 at 12 24 50 am

@smadha Thanks for that doc, its really useful. I've made some minor UI modifications based on that. We should discuss about how we would display the results on the map.

smadha commented 8 years ago

Sure, I will schedule a hangout between all of us. @MBoustani @chrismattmann

MBoustani commented 8 years ago

@antrromet looks great. Can you send the PR for new UI changes?

smadha commented 8 years ago

@MBoustani We are working on new branch "search" for this

antrromet commented 8 years ago

@chrismattmann @smadha @MBoustani and I just had a call regarding the Search functionality and we reached the following consensus. When the user types in any keyword to search, we would search the remote Solr for the results. Then whatever results are fetched, we would check its intersection with our local Solr (this has all the docs with geolocations). And these are the results that would be shown on Khooshe map. For instance, if you search for Ak47 and you got 10k results from the remote Solr, but out of those only say 5k had gelocations associated with them, then we would display those 5k results on the map, and the user would be able to hover over the points and then exactly similar functionality as in Viewing of points. We would change the UI to remove the pagination, and list of results. Would only be displaying the Khooshe points as of now.

MBoustani commented 8 years ago

@antrromet we are breaking the remaining of task to new two smaller issues: https://github.com/MBoustani/GeoParser/issues/74 https://github.com/MBoustani/GeoParser/issues/75