Hi Santiago,
Just an update, I've managed to replicate the browser issue now. If I change my browser's default language from English to Spanish (Chrome: Language and input settings) and reload the page, I get the "No results found for *:*"... If I change it back to English and hit reload, then I get the 17 results again. I now have to work out what's happening on the server... but I should have a fix soon.
Cheers -- Nick dos Remedios Software Developer Atlas of Living Australiahttp://www.ala.org.au National Facilities & Collections, CSIROhttp://www.csiro.au/Organisation-Structure/National-Facilities.aspx nick.dosremedios@csiro.aumailto:nick.dosremedios@csiro.au
On 27 Aug 2014, at 9:46 am, dos Remedios, Nick (NRCA, Black Mountain) <Nick.Dosremedios@csiro.aumailto:Nick.Dosremedios@csiro.au> wrote:
Thanks Tim and Santiago,
Just to confirm - this looks like 2 separate issues - one is the different results in different browsers - I'll do some testing and try and figure out whats going on with the different browsers.
The other is the issue with the circles vs rectangular grids... The SOLR index effectively uses a grid but we are displaying circles and so there are cases where the circle and grid don't overlap (intersect). The occurrence search page does have a function to search with a point and radius (circle), but we don't facet using this function (only the grid). In the image below (or attached) you can see the blue points are contained in both the circle and the grid but the red points are not in the circle, only in the grid. When there is a case of only a few points like the red ones, then the search page reports "no records found" (using the point and radius function). The fix is to display a grid on the EYA map, instead of circles (which version 0.1 originally had).
<circle-vs-grid.png>
Cheers Nick -- Nick dos Remedios Software Developer Atlas of Living Australiahttp://www.ala.org.au/ National Facilities & Collections, CSIROhttp://www.csiro.au/Organisation-Structure/National-Facilities.aspx nick.dosremedios@csiro.aumailto:nick.dosremedios@csiro.au
On 26 Aug 2014, at 6:02 pm, Santiago Martinez de la Riva <sama@gbif.esmailto:sama@gbif.es> wrote:
Yes, that is the point. I can see the results of the search in my laptop with Ubuntu and the any browser, but not in OS X and Windows 7.
Thanks Tim for your note. --------------------------------------------------------------------------------------- Santiago Martínez de la Riva GBIF.ES, Unidad de Coordinación Tel. +34 91 4203017 x 273 Real Jardín Botánico - CSIC Fax +34 91 429 2405 Plaza de Murillo, 2 sama@gbif.esmailto:sama@gbif.es 28014 Madrid, Spain www.gbif.eshttp://www.gbif.es/
________________________________________ De: ala-portal-bounces@lists.gbif.orgmailto:ala-portal-bounces@lists.gbif.org [ala-portal-bounces@lists.gbif.orgmailto:ala-portal-bounces@lists.gbif.org] En nombre de Tim Robertson [trobertson@gbif.orgmailto:trobertson@gbif.org] Enviado el: martes, 26 de agosto de 2014 9:31 Para: Nick.Dosremedios@csiro.aumailto:Nick.Dosremedios@csiro.au CC: ala-portal@lists.gbif.orgmailto:ala-portal@lists.gbif.org Asunto: Re: [Ala-portal] Issue in the Explore your Area section
Hi Nick,
From here we see it working on Chrome, Firefox and Safari on OSX and on Windows 7 it works on Firefox but not on IE11
I ran it through http://browsershots.orghttp://browsershots.org/ and you can see that it differs significantly across browsers…
I think you use VirtualBox, so perhaps it is worth pulling a Windows image [1] and doing some testing using those? It’s time consuming, but I don’t know of a better way to do testing across OS / Browser combinations and we manually do that here - if anyone knows a better approach, please ping me!
I hope this helps, Tim
[1] https://www.modern.ie/en-us/virtualization-tools#downloads
On 26 Aug 2014, at 06:30, <Nick.Dosremedios@csiro.aumailto:Nick.Dosremedios@csiro.aumailto:Nick.Dosremedios@csiro.au> <Nick.Dosremedios@csiro.aumailto:Nick.Dosremedios@csiro.aumailto:Nick.Dosremedios@csiro.au> wrote:
Hi Daniel,
I'm not sure what is happening but I get 17 results for the same URL (step 3) that you show to have no results:
http://biocache.ala.org.au/occurrences/search?q=*:*&lat=-25.25&lon=1...
screenshot: https://www.dropbox.com/s/5oo70ws76v15d0q/Screenshot%202014-08-26%2014.17.53...
The URLs look to be the same, so maybe there is a locale or charset difference? Or else a reindex has changed something since you created your screenshots.
Having said that, there were a few times I did get the "No records found" message.
http://biocache.ala.org.au/occurrences/search?q=*:*&lat=-25.249&lon=...
I think this is a minor bug in the way the records are being assigned to each circle (on the map in EYA) - the actual geospatial shape for these groupings (in the index) is actually a rectangle (grid), not a circle but we ended up using circles because that's what people were asking for... A work-around could be to slightly increase the radius to catch the records just outside the circle being generated. E.g. your link (step 3) that showed no records, does show records when the radius is increased from 0.05 to 0.06:
http://biocache.ala.org.au/occurrences/search?q=*:*&lat=-25.249&lon=...
Which gives 18 hits (not the reported 17 from EYA).
A better solution would be to draw grids, not circles and then create the same grid shape when showing records in the search results page.
Nick -- Nick dos Remedios Software Developer Atlas of Living Australiahttp://www.ala.org.au/ National Facilities & Collections, CSIROhttp://www.csiro.au/Organisation-Structure/National-Facilities.aspx nick.dosremedios@csiro.aumailto:nick.dosremedios@csiro.aumailto:nick.dosremedios@csiro.au
On 26 Aug 2014, at 1:54 pm, Daniel Lins <daniel.lins@gmail.commailto:daniel.lins@gmail.commailto:daniel.lins@gmail.com> wrote:
Hi Nick,
When I tried these steps in the ALA Portal (http://biocache.ala.org.au/) occurred the same error reported by Santiago.
Below the steps and print screens.
Step 1: Open the URL of the last mail (http://biocache.ala.org.au/explore/your-area#-25.274398%7C133.77513599999997...http://biocache.ala.org.au/explore/your-area#-25.274398%7C133.77513599999997%7C12%7CALL_SPECIES). https://www.dropbox.com/s/sct1sfsad057ni2/step1.png?dl=0
Step 2: Click the occurrence point in the map. https://www.dropbox.com/s/zm0rdm85ge5kqgu/step2.png?dl=0
Step3: Click in the link "view list of records" (number of records: 17). https://www.dropbox.com/s/8b0sxcoj12wza7j/step3.png?dl=0
I have the same error in my server, Both in the explore your area and in the occurrence map view, when I click in one point on the map that has more than one occurrence in this location. In the balloon, when I click on the link "view all" the same error occurs.
In both situations the system use the same parameters in the request:
search?q=*:*&lat=-25.25&lon=133.75&radius=0.05
What do you think it could be?
Thanks!!
Daniel Lins da Silva.
2014-08-25 20:50 GMT-03:00 <Nick.Dosremedios@csiro.aumailto:Nick.Dosremedios@csiro.aumailto:Nick.Dosremedios@csiro.au>: Hi Santiago,
It seems like your "Explore your area" (EYA) table and map are returning the correct points/records but then the linked "occurrence search" results don't get any records. The links you provided are the search result links but I need to be able to compare them with the URLs for the AJAX calls that are coming from the EYA page.
If I use the Chrome "inspector" (or FF Firebug), looking at the "Network" tab, I can see that the EYA page (ALA version - http://biocache.ala.org.au/explore/your-area#-25.274398%7C133.77513599999997...http://biocache.ala.org.au/explore/your-area#-25.274398%7C133.77513599999997%7C12%7CALL_SPECIES) is sending these XHR requests:
(see https://dl.dropboxusercontent.com/u/2179526/EYA-ajax-screen-1.png)
- http://biocache.ala.org.au/ws/geojson/radius-points.jsonp?callback=jQuery183...
for map dots
- http://biocache.ala.org.au/ws/explore/groups.json?callback=jQuery18300947353...
for groups (left column of table)
- http://biocache.ala.org.au/ws/explore/group/ALL_SPECIES.json?callback=jQuery...
for species in the right column of the table.
I'm guessing that there is some difference in the either the 'q', 'fq', 'qc' (or maybe 'lat', 'lon' & 'radius') params from these URLs compared to the URLs for your main search links (http://10.1.1.2/generic-hub/occurrences/search?...).
Does this help? Maybe send me the equivalent links you are seeing in your browser for your version?
You also might want to look at the DEBUG level logging in generic-hub tomcat log to see what the URLs that are being sent to biocache-service are for those search pages which are returning zero results. They might be using a different 'qc' param, etc?
Nick -- Nick dos Remedios Software Developer Atlas of Living Australiahttp://www.ala.org.au/
National Facilities & Collections, CSIROhttp://www.csiro.au/Organisation-Structure/National-Facilities.aspx nick.dosremedios@csiro.aumailto:nick.dosremedios@csiro.aumailto:nick.dosremedios@csiro.au
On 25 Aug 2014, at 10:54 pm, Santiago Martinez de la Riva <sama@gbif.esmailto:sama@gbif.esmailto:sama@gbif.es> wrote:
Dear Nick,
I tell you the steps that I've done:
I cloned the generic-hub repository,I added the message_es.properties file, then I generated the war and I uploaded it to my VM.
In the [Case1], the url is: http://10.1.1.2/generic-hub/occurrences/search?q=*:*&lat=40.4&lon=-3.... [Case2]: http://10.1.1.2/generic-hub/occurrences/search?q=*:*&lat=40.4&lon=-3.... [Case3]: http://10.1.1.2/generic-hub/occurrences/search?q=taxon_name:%22Astragalus%20...
I have records in the specified radio, you can see them in the image1, but the system never find the information in the searchs. I think that the Brazilian team has the same problem.
Kind regards. SaMa
--------------------------------------------------------------------------------------- Santiago Martínez de la Riva GBIF.EShttp://gbif.es/, Unidad de Coordinación Tel. +34 91 4203017 x 273tel:%2B34%2091%204203017%20x%20273 Real Jardín Botánico - CSIC Fax +34 91 429 2405tel:%2B34%2091%20429%202405 Plaza de Murillo, 2 sama@gbif.esmailto:sama@gbif.esmailto:sama@gbif.es 28014 Madrid, Spain www.gbif.eshttp://www.gbif.eshttp://www.gbif.es/
________________________________________ De: Nick.Dosremedios@csiro.aumailto:Nick.Dosremedios@csiro.aumailto:Nick.Dosremedios@csiro.au [Nick.Dosremedios@csiro.aumailto:Nick.Dosremedios@csiro.aumailto:Nick.Dosremedios@csiro.au] Enviado el: lunes, 25 de agosto de 2014 5:39 Para: Santiago Martinez de la Riva CC: ala-portal@lists.gbif.orgmailto:ala-portal@lists.gbif.orgmailto:ala-portal@lists.gbif.org Asunto: Re: [Ala-portal] Issue in the Explore your Area section
Hi Santiago,
I've tested that on a local version (generic-hub) and it works OK for me.
Could you send me the URL (if site is publically available) so I can see what AJAX services are sending, etc.?
Cheers
Nick -- Nick dos Remedios Software Developer Atlas of Living Australia<http://www.ala.org.auhttp://www.ala.org.au/> National Facilities & Collections, CSIROhttp://www.csiro.au/Organisation-Structure/National-Facilities.aspx nick.dosremedios@csiro.aumailto:nick.dosremedios@csiro.aumailto:nick.dosremedios@csiro.aumailto:nick.dosremedios@csiro.au
On 20 Aug 2014, at 8:05 pm, Santiago Martinez de la Riva <sama@gbif.esmailto:sama@gbif.esmailto:sama@gbif.esmailto:sama@gbif.es> wrote:
Hi all,
We are testing again the ala portal, and I think that we have found a issue that I’m going to explain us below.
The issue is in the "Explore your Area" section.
[Case 1]. In the image1, we can see that there is one point into the area, exactly with one record. Then if we want to list this record, we can click on the option "View list of records" but the system shows us the next message: "No records found for *:*" (View image2) ". [Case 2] This is also the case, when we try to do the same with the option "View all records" (View image3). [Case 3 ]In other hand, if we try to list a specific record that we can see in the left list through the option "list of records" (View image4), in this case the system shows us this message "No records found for taxon_name:"Crepis bursifolia" ". (View image5)
In general, it´s like if these operations of "Explore your Area" are not connected to the indexing of solr. But I want to do one puntualization. In the first case, it makes no sense that the system shows us that error, because we are filtering the records that we want that the system shows us, when we click on the link of the bubble of that specific point in the area. I hope this helps to trace the error.
Many thanks and kind regards by SaMaxD.
--------------------------------------------------------------------------------------- Santiago Martínez de la Riva GBIF.EShttp://gbif.es/, Unidad de Coordinación Tel. +34 91 4203017 x 273tel:%2B34%2091%204203017%20x%20273 Real Jardín Botánico - CSIC Fax +34 91 429 2405tel:%2B34%2091%20429%202405 Plaza de Murillo, 2 sama@gbif.esmailto:sama@gbif.esmailto:sama@gbif.esmailto:sama@gbif.es 28014 Madrid, Spain www.gbif.eshttp://www.gbif.eshttp://www.gbif.es/<http://www.gbif.eshttp://www.gbif.es/> <Image1.png><Image2.png><Image3.png><Image4.png><Image5.png>_______________________________________________ Ala-portal mailing list Ala-portal@lists.gbif.orgmailto:Ala-portal@lists.gbif.orgmailto:Ala-portal@lists.gbif.orgmailto:Ala-portal@lists.gbif.org http://lists.gbif.org/mailman/listinfo/ala-portal
_______________________________________________ Ala-portal mailing list Ala-portal@lists.gbif.orgmailto:Ala-portal@lists.gbif.orgmailto:Ala-portal@lists.gbif.org http://lists.gbif.org/mailman/listinfo/ala-portal
_______________________________________________ Ala-portal mailing list Ala-portal@lists.gbif.orgmailto:Ala-portal@lists.gbif.orgmailto:Ala-portal@lists.gbif.org http://lists.gbif.org/mailman/listinfo/ala-portal
-- Daniel Lins da Silva (Mobile) 55 11 96144-4050 Research Center on Biodiversity and Computing (Biocomp) University of Sao Paulo, Brazil daniellins@usp.brmailto:daniellins@usp.brmailto:daniellins@usp.br daniel.lins@gmail.commailto:daniel.lins@gmail.commailto:daniel.lins@gmail.com
_______________________________________________ Ala-portal mailing list Ala-portal@lists.gbif.orgmailto:Ala-portal@lists.gbif.orgmailto:Ala-portal@lists.gbif.org http://lists.gbif.org/mailman/listinfo/ala-portal
_______________________________________________ Ala-portal mailing list Ala-portal@lists.gbif.orgmailto:Ala-portal@lists.gbif.org http://lists.gbif.org/mailman/listinfo/ala-portal