Comments (6)
This error is actually not causing any trouble as it comes while khooshe
generation. Which must be because there is nothing as of now to generate
points. I just now committed a change to remove these logs to avoid
confusion.
Focus on "query_crawled_index" API in logs. We can help you if you share
your full server console logs through pastebin preferably.
Also as you said your page is stuck mostly your geoparsing must be still running.
Can you see hits in you tika server logs?
Firstly I would recommend to check your setup. i.e. Step 5 in installation
5.MAKE SURE YOU ARE ABLE TO EXTRACT LOCATIONS FROM TIKA SERVER
curl -T /path/to/polar.geot -H "Content-Disposition: attachment;
filename=polar.geot" http://localhost:8001/rmeta
You can obtain file here
https://raw.githubusercontent.com/chrismattmann/geotopicparser-utils/master/geotopics/polar.geot
Output should be this
[
{
"Content-Type":"application/geotopic",
"Geographic_LATITUDE":"39.76",
"Geographic_LONGITUDE":"-98.5",
"Geographic_NAME":"United States",
"Optional_LATITUDE1":"27.33931",
"Optional_LONGITUDE1":"-108.60288",
"Optional_NAME1":"China",
"X-Parsed-By":[
"org.apache.tika.parser.DefaultParser",
"org.apache.tika.parser.geo.topic.GeoParser"
],
"X-TIKA:parse_time_millis":"1634",
"resourceName":"polar.geot"
}
]
Madhav Sharan
On Sun, Apr 3, 2016 at 7:46 PM, Manas007 [email protected] wrote:
Below is snippet of my solr index with all required geographic details.
{"id":"/dev/com/10news/www/42FD5EBC90236148BA72BEC73D622543F282BAF46F05AED2566EE6D7D7BF2A67","Geographic_LONGITUDE":"139.75309","Optional_LONGITUDE":"-87.76142","Optional_NAME":"Mount
Carmel","Geographic_LATITUDE":"35.68536","Geographic_NAME":"Japan","Optional_LATITUDE":"38.41088","
version":1530630356532723712},After clicking geoparse button on memex home page , the page kind of stuck
and returns the following logs in server
__Total number of records to be geotagged 6 Generating khooshe tiles..
solr query - http://localhost:8983/solr/hw3/select?q=
http://localhost:8983/solr/hw3/select?q=_%3A*&start=0&rows=500&wt=json
GenerateKhooshe Started..http://localhost:8983/solr/PolarL_1/select?q=-points%3A%22%5B%5D%22&fl=points,id&wt=json&start=0&rows=50000
Traceback (most recent call last):
File "/Users/manasranjanmahanta/geoPolar/GeoParser/geoparser_app/solr.py",
line 322, in QueryPointsIndex
if len(response['response']['docs']) == 0:
KeyError: 'response''response'
Retrieved 0 points in 0.0258848667145 seconds
Tiles created for 0 Points. Total time 0.0259318351746 seconds
{"responseHeader":{"status":0,"QTime":40}}[04/Apr/2016 00:03:37] "GET /return_points_khooshe/
http://localhost:8983/solr/hw3/PolarL HTTP/1.1" 400 58_**Can you please tell where the error lies ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_MBoustani_GeoParser_issues_66&d=CwMCaQ&c=clK7kQUTWtAVEOVIgvi0NU5BOUHhpN0H8p7CSfnc_gI&r=DhBa2eLkbd4gAFB01lkNgg&m=CLqzjljfdsAf9eonzaWruRA0W4pqwTxHmA764ekRZzQ&s=_ozTEwML0U-QTgwOwWc9kb-hz3U4FBgMmLt_l3Xtg6c&e=
from geoparser.
I have attached the details of information you might need .I am able to index the required files with geographic measures but 'memex' is not able to locate points . Can you please tell what i should give input in domain name & url ?? I have attached screenshot of my details . If there is any wrong in inputs you can please point out ?
ServerLogs.pdf
ServerIndex.pdf
from geoparser.
Sorry for the damaged file . I have attached the correct ones
ServerIndex.docx
ServerLogs.docx
from geoparser.
I can't open any of your files. Can you try pastebin.com
Before that please share results of step 5 in installation.
curl -T /path/to/polar.geot -H "Content-Disposition: attachment; filename=polar.geot" http://localhost:8001/rmeta
from geoparser.
@manas007 Is your issue resolved?
from geoparser.
Yes, it is resolved . I was not running two solr servers which are required for Memex GeoParser , got that understanding from previous posted discussions . Memex is up and running . Thanks for your immediate response . It was really helpful .
from geoparser.
Related Issues (20)
- GeoParser throws the following error when run. HOT 4
- Discussion about Search functionality HOT 10
- Default view when user launches GeoParser for the first time HOT 2
- Automated discovery of Index type HOT 2
- Index metadata along with extracted text from uploaded files
- Fixing flicker on GeoParser popups
- Showing configured metadata, if present, on popups
- Searching capability (query original indexed data) - part 1 HOT 1
- Searching capability (query local Solr and create Khooshe tiles) - part 2 HOT 1
- Delete tiles from search folder "geoparser_app/static/search/tiles" HOT 1
- Serving cached response if results for a search response is already available. HOT 7
- Store encrypted username password of an index in solr admin HOT 4
- Create a configuration tab for adding indexed cores HOT 2
- Delete indexed path from GeoParser HOT 1
- Create a link from pop-ups to FacetView HOT 3
- Use stored username and password while querying index from frontend HOT 1
- Overcome maven-enforcer-plugin issue while installing manually HOT 3
- Docker: Could not find or load main class org.apache.tika.server.TikaServerCli HOT 4
- Docker Install failed with Maven enforce rule
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geoparser.