摘要:
Job代码: [java] view plaincopy package cn.zto.job; import java.text.SimpleDateFormat; import java.util.Date; import org.quartz.Job; import org.quartz.JobDetail; imp... 阅读全文
摘要:
Solr Multicore意义 Solr Multicore是solr 1.3的新特性。其目的一个solr实例,可以有多个搜索应用。 我们既可以把不同类型的数据放到同一index中,也可以使用分开的多indexes。基于这一点,你只需知道如何使用多indexes(实际上就是运行Solr的多实例)。尽管如此,为每一个类型添加一个完整的Solr实例会显得太臃肿... 阅读全文
摘要:
今天在eclipse中编写pom.xml文件时,注释中的中文被eclipse识别到错误:Invalid byte 1 of 1-byte UTF-8 sequence,曾多次遇到该问题,问题的根源是: The cause of this is a file that is not UTF-8 is being parsed as UTF-8. It is likely that the p... 阅读全文