Re: Geocoding with Solr

2012-07-29 Thread Paul Libbrecht
Spadez, I've had some success into using the nicely open data of GeoNames.org but that was modestly only to fetch zip-code-to-town-name and long-lat associations, search for postal-codes. It would be lovely that some more best practice examples are distributed on how to handle, e.g., the

Re: Request header is too large.

2012-07-29 Thread Xue-Feng Yang
Thank you, Alexandre. I solved this problem. It's not a database problem but a server problem as the error message clearly stated. I resolved this by adding more tcp transport buffer size in application server. Xuefeng  From: Alexandre Rafalovitch

Re: Geocoding with Solr

2012-07-29 Thread Spadez
If I wanted to return long/lat from either town city or postcode, how would I structure it? If I was just searching for towns it would be easy, like this: *Town, City, Postcode, Country, Long/Lat* Orpington, Kent, Uk, 1.2/1.1 However, but there will be city entries and postcode, I dont how

Re: Geocoding with Solr

2012-07-29 Thread Mattmann, Chris A (388J)
Hi there, You may want to check out: SOLR-2073 Geonames.org UpdateProcessor for Spatial SOLR-2074 GeoRSS ResponseWriter SOLR-2075 SpatialQParserPlugin and HostIP adaptor SOLR-2076 Spatial example schema updates SOLR-2077 Spatial example solconfig updates SOLR-2079 Expose HttpServletRequest

Tools for schema.xml generation and to import from a database

2012-07-29 Thread Andre Lopes
Hi, I'm new to Solr. I've installed 3.6.1 but I'm a little bit confused about what and how to do next. I will use the Jetty version for now. Two poinst I need to know: 1 - I've 2 views that I would like to import to Solr. I think I must do a schema.xml and then import data to that schema. I'm

How config multicore using solr cloud feature

2012-07-29 Thread Qun Wang
Hi, I'm a new user and our program need use multicore to manage index. I found that Solr 4.0 ALPHA has Solr cloud feature which I could use for load balance in query and sync for update. But the wiki for Solr cloud just tell me how to use single core for sync. For my requirement should

Re: Tools for schema.xml generation and to import from a database

2012-07-29 Thread Alexandre Rafalovitch
If you are just starting with SOLR, you might as well jump to 4.0 Alpha. By the time you finished, it will be the production copy. If you want to index stuff from the database, your first step is probably to use DataImportHandler (DIH). Once you get past the basics, you may want to do a custom

java.net.SocketException: Connection reset

2012-07-29 Thread Jason
I've got SocketException(Connection reset) frequently. This is occurred during distibuted search and logged like below in request server. At First, I thought that the reason of exception is long gc pause time of jvm. So I changed connectionTimeout of the connector in tomcat server.xml to 6ms.