Apache solr数据导入处理程序登录jetty容器(Apache solr data import handler logs on jetty container)
我正在使用solr 4.6从sql server使用数据导入处理程序获取记录。但是在获取时我收到错误并且出错的原因是我的字段之一是LatLong类型。所以当我的sql latlong字段包含错误的值例如23.454时,545454你可以看到经度值,即545454是错误的,所以solr dih给出错误。 我想知道solr保存这些错误日志的位置。 我正在使用码头容器进行solr。
I am using solr 4.6 for fetching records from sql server using data import handler.But while fetching i am getting error and the reason for error is one of my field is of LatLong type.So when My sql latlong field contains wrong value for eg 23.454,545454 As u can see longitude value i.e 545454 is wrong so solr dih gives error. I want know where solr keeps these error logs. I am using jetty container for solr.
原文:https://stackoverflow.com/questions/30505671
最满意答案
尝试:
Request.Url.GetLeftPart(UriPartial.Authority) + Request.ApplicationPath
Try:
Request.Url.GetLeftPart(UriPartial.Authority) + Request.ApplicationPath
相关问答
更多-
尝试删除web.config文件的system.web / compilation部分中的targetFramework参数。 这对我有用。 The problem seems to have been slightly different versions of runtimes (betas RC's etc)
-
包含JS文件之前,您可以将一些代码添加到布局文件或母版页,以便将根目录写出到JS变量中。 然后,您可以使用该变量在JS文件中构建路径。 在剃刀: 然后你可以像这样在你的文件中构 ...
-
你应该能够以两种方式之一来实现这一点。 您可以删除旧项目,或使用具有IIS Express管理界面的WebMatrix更改其端口。 您还可以通过直接修改applicationhost.config文件来手动执行。 该文件位于%userprofile%\documents\IISexpress\config文件夹中。 您可以在
/ 元素下找到项目配置。 You should be able to accomplish this in one of tw ... -
引用将来自js文件的位置; 而不是从应用程序根目录。 假设你的根目录下有一个js目录,请尝试在图像路径(../images/image.jpg)中添加一个.. .. The references will be from the location of the js files; not from the application root. Assuming you have a js directory off your root, try adding a .. in the path to the i ...
-
我认为这个代码应该在修复丢失的斜杠和重定向到登录页面方面实现我想要的,如果用户尚未经过身份验证以节省浪费的重定向 - protected void Application_ResolveRequestCache(object sender, EventArgs e) { //If the application is installed in a Virtual Directory and the trailing slash is ommitted then permantently redire ...
-
Url重写与虚拟目录一起使用但不适用于根目录(Url rewriting worked with virtual directory but not worked with root directory)[2021-04-25]
使用Regex re = new Regex("^" + cfg.RewriteBase + xml.Attributes["source"].InnerText+"$", RegexOptions.IgnoreCase); 而不是Regex re = new Regex(cfg.RewriteBase + xml.Attributes["source"].InnerText, RegexOptions.IgnoreCase); 现在它对我有用。 Use Regex re = new Regex("^" + ... -
尝试: Request.Url.GetLeftPart(UriPartial.Authority) + Request.ApplicationPath Try: Request.Url.GetLeftPart(UriPartial.Authority) + Request.ApplicationPath
-
好吧,我假设您要更改URI http://www.example.com/result.php?team=arsenal&player=ospina 至 http://www.example/subdirectory/arsenal/ospina.html 所以这就是.htaccess会为你做那件事 RewriteEngine on RewriteCond %{QUERY_STRING} ^team=(.*)\&player=(.*)$ RewriteRule ^(.*)$ http://www ...
-
谢谢您的回答。 我想我必须使用url重写和应用程序请求路由 。 Thank you for your answers. I guess I have to use url rewrite and Application Request Routing.
-
您可以使用IUrlHelper来解析应用程序的基本路径。 如果应用程序未托管在虚拟目录中,则返回的路径只是空的... IUrlHelper url = ... string virtualDirectory = url.Content("~"); You can use the IUrlHelper to resolve the base-path of the application. If the application is not hosted within a virtual directory ...