RE: Indexing and Querying MS SQL Server 2012 Spatial

2014-08-23 Thread Bostic, Alex
Ok updating my field type to the below, allowed me to index :-) HUGE THANKS Two more questions: Should I update maxDistErr? Is it possible to use the SQL Server Geometry type and convert it to WKT in the data-config file as shown below, or is there still an issue that I am not seeing query="S

RE: Indexing and Querying MS SQL Server 2012 Spatial

2014-08-23 Thread Bostic, Alex
Not sure where I copied them from. Removed them and got this: org.apache.solr.common.SolrException: ERROR: [doc=2] Error adding field 'wtarea'='POLYGON ((-8305909.7574040433 4941767.8208926441, -8307132.7498566061 5038384.224645081, -8154258.6932862941 4965004.6774913315, -8305909.7574040433 4

Re: Indexing and Querying MS SQL Server 2012 Spatial

2014-08-23 Thread david.w.smi...@gmail.com
What’s with the double square brackets around your WKT? Remove them. ~ David Smiley Freelance Apache Lucene/Solr Search Consultant/Developer http://www.linkedin.com/in/davidwsmiley On Sat, Aug 23, 2014 at 10:37 PM, Bostic, Alex wrote: > Hello, now that I have the WKT in a sting field, I get thi

RE: Indexing and Querying MS SQL Server 2012 Spatial

2014-08-23 Thread Bostic, Alex
Hello, now that I have the WKT in a sting field, I get this during the dataimport process org.apache.solr.common.SolrException: Couldn't parse shape '[[POLYGON ((-8134690.8140452942 4866553.78506005, -7836280.655620046 4884898.671848488, -8009945.58388392 4732024.615278176, -8134690.8140452942

Re: Why does CLUSTERSTATUS return different information than the web cloud view?

2014-08-23 Thread Nathan Neulinger
Is there a way to query the 'live node' state without sending a query to every node myself? i.e. to get the same data that is used for that cloud status screen? -- Nathan On 08/23/2014 06:39 PM, Mark Miller wrote: The state is actually a combo of the state in clusterstate and the live nodes.

Re: Why does CLUSTERSTATUS return different information than the web cloud view?

2014-08-23 Thread Mark Miller
The state is actually a combo of the state in clusterstate and the live nodes. If the live node is not there, it's gone regardless of the last state it published. - Mark > On Aug 23, 2014, at 6:00 PM, Nathan Neulinger wrote: > > In particular, a shard being 'active' vs. 'gone'. > > The web

Why does CLUSTERSTATUS return different information than the web cloud view?

2014-08-23 Thread Nathan Neulinger
In particular, a shard being 'active' vs. 'gone'. The web ui is clearly showing the given replicas as being in "Gone" state when I shut down a server, yet the CLUSTERSTATUS says that each replica has state: "active" Is there any way to ask it for status that will reflect that the replica is g

Re: Invalid chunk header Error in solr

2014-08-23 Thread Steve McKay
Solr is complaining about receiving a malformed HTTP request. What happens when you send a correctly-formed multipart/form-data request? Also, is there anything you can add about the circumstances? Who's sending the requests that fail, is there any correlation between requests that fail, how of

Invalid chunk header Error in solr

2014-08-23 Thread lalitjangra
Hi, I am using solr 4.6 with tomcat 7 & getting Invalid chunk header error frequently. I have updated multipartUplaodLimitinKB to 20480 KB but still this issue occurs. Can anyone help here? Regards. 974159 [http-bio-8080-exec-82] ERROR org.apache.solr.servlet.SolrDispatchFilter – null:org.

RE: Indexing and Querying MS SQL Server 2012 Spatial

2014-08-23 Thread Bostic, Alex
Thanks I will try for a correct install. I have many other fields that are indexing fine, I will inspect for further errors and use DIH debug mode. I will also create a string field for geometries. One item to note is that the spatial data is stored in sql servers geometry type field. Only th

Re: Indexing and Querying MS SQL Server 2012 Spatial

2014-08-23 Thread david.w.smi...@gmail.com
Putting JTS where you put it is fine temporarily but I strongly recommend against any jar being placed there at all; ideally it should be associated with the Solr installation; not with java itself. Some kinda of errors must be happening but you’re not seeing them. I presume you’ve configured the

Re: Integrating DictionaryAnnotator and Solr

2014-08-23 Thread Jack Krupansky
Uhhh... UIMA... and parameter checking... NOT. You're probably missing something, but there is so much stuff. I have some examples in my e-book that show various errors you can get for missing/incorrect parameters for UIMA: http://www.lulu.com/us/en/shop/jack-krupansky/solr-4x-deep-dive-early-

Re: Strange Behavior

2014-08-23 Thread Shawn Heisey
On 8/23/2014 9:01 AM, Jack Krupansky wrote: > It sounds as if you are trying to treat hyphen as a digit so that > negative numbers are discrete terms. But... that conflicts with the use > of hyphen as a word separator. Sorry, but WDF does not support both. > Pick one or the other, you can't have bo

Re: Minimum Match with filters that add tokens

2014-08-23 Thread Jack Krupansky
Use a percentage rather than an absolute token number, like 50% or 25% or maybe 33%. You can also specify different percentages based on different ranges of term counts. Be aware that although it is tempting to think of MM from the user perspective of how many terms are written in the original

Re: Strange Behavior

2014-08-23 Thread Jack Krupansky
It sounds as if you are trying to treat hyphen as a digit so that negative numbers are discrete terms. But... that conflicts with the use of hyphen as a word separator. Sorry, but WDF does not support both. Pick one or the other, you can't have both. But first, please explain your intended use

RE: Indexing and Querying MS SQL Server 2012 Spatial

2014-08-23 Thread Bostic, Alex
Ok thanks, I am even closer I put jts-1.13.jar here C:\Program Files (x86)\Java\jre7\lib\ext And removed it from the cmd line when starting solr I no longer get the class not found issues. I removed the jar from the above location and got the error again, so I put it back to confirm I'm past t

Re: Indexing and Querying MS SQL Server 2012 Spatial

2014-08-23 Thread david.w.smi...@gmail.com
The jts-1.13.jar file (other JTS jars that come with it aren’t used) needs to go on the java classpath. I haven’t tried to do it using the way you’re doing it. Note that the “lib” directories Solr manages won’t work for some jar’s like this one. I forget but I think putting it in examples/lib wo

RE: Indexing and Querying MS SQL Server 2012 Spatial

2014-08-23 Thread Bostic, Alex
Ok, I was missing spatialContextFactory="com.spatial4j.core.context.jts.JtsSpatialContextFactory" Now I am getting Error loading core:java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: com/vividsolutions/jts/geom/CoordinateSequenceFactory Any help resolving my path issu

RE: Indexing and Querying MS SQL Server 2012 Spatial

2014-08-23 Thread Bostic, Alex
Hello, I guess I'm closer. But my geom field does not show up in the index. I have a table full of polys, stored as SQL Server Geometry Type. Taken from the example schema I have: .. .. In my data-config.xml I have: