本月博客排行
-
第1名
龙儿筝 -
第2名
johnsmith9th -
第3名
wy_19921005 - zysnba
- sgqt
- lemonhandsome
年度博客排行
-
第1名
宏天软件 -
第2名
青否云后端云 -
第3名
龙儿筝 - gashero
- wallimn
- vipbooks
- benladeng5225
- wy_19921005
- fantaxy025025
- qepwqnp
- e_e
- 解宜然
- zysnba
- ssydxa219
- sam123456gz
- javashop
- arpenker
- tanling8334
- kaizi1992
- xpenxpen
- gaojingsong
- wiseboyloves
- xiangjie88
- ranbuijj
- ganxueyun
- sichunli_030
- xyuma
- wangchen.ily
- jh108020
- lemonhandsome
- zxq_2017
- jbosscn
- Xeden
- luxurioust
- lzyfn123
- zhanjia
- forestqqqq
- johnsmith9th
- ajinn
- nychen2000
- wjianwei666
- hanbaohong
- daizj
- 喧嚣求静
- silverend
- mwhgJava
- kingwell.leng
- lchb139128
- lich0079
- kristy_yy
最新文章列表
SolrJ 常用增删查
Solr搜索引擎一般是只会进行增删查,对于Solr的数据结构,可以理解为类似MongoDB的类型的数据库。
与MonogoDB的Schema Free不同。
Solr还是需要自己定义字段,并且做一些设置的。
而Solr一般在修改索引的时候,会选择全量更新,所以一般不会有单条索引的更新操作。
SolrJ添加索引:
public class SolrJAdd {
pub ...
hibernate 使用org.hibernate.criterion.Example 查询无效
今天使用Example查询,结果发现设置的条件无效.
查询代码:
/***
*
* @param obj
* @param includeZeros
* @return
*/
private Criteria getCriteria( Object obj, boolean includeZeros) {
if (obj == null) {
...
A case study: Design and implementation of a simple Twitter clone using only PHP
In this article I'll describe the design and implementation of a simple clone of Twitter written using PHP with Redis as the only database. The programming community has traditionally considered key- ...
Lucene: Introduction to Lucene (Part VII-QueryParser)
1. Introduction to QueryParser
1) Sometimes we want to pass a String like this: "student AND teacher" to execue query.
It means we want to search a certain field which contain ...
Example 学习笔记 - dynamicloading
Dynamicloading - Loading graph model data dynamically to limit the number of cells in the model.
动态加载图形
http://localhost/mxgraph/javascript/examples/dynamicloading.html
function main(container)
{
...
Lucene: Introduction to Lucene (Part I)
1. Why do we use Lucene?
1) If we want to execute the query like this:
(content like '%DataStructure%') or (content like '%XMU%') in DB. Then it starts searching the whole content from ...
MySQL: Trigger (Part II)
1. Difference between Before and After in Trigger
1) After we perform one action, the trigger is invoked. But there is no machanism to check if the action we perform is reasonable.
# Bootstrap d ...
JavaWeb: How to use commons-fileupload-1.3 for File Upload
1. Requirements:
1) A safer way to handle file upload by using commons-fileupload-1.3.jar provided by Apache Foundation.
2) Using simple JSP/Servlet for a simple mock up.
2. Preconditio ...
JDBC: Introduction to JDBC (Part II)
1. Good Practice:
1>Build Connection as late as possible.
2>Close Connection as earyl as possible.
3>Connection Pool can be used to enhance performance.
2. Go ...
简单通用的ContentProvider
常用简单的ContentProvider的实现差不多,整理了个通用的(基于com.example.android.supportv4.app.LoaderThrottleSupport.SimpleProvider修改), 从这个类继承,再重写几个方法 ...
ExampleDiagram
实体表
Example 示例
ExampleItem 示例明细项
ExampleStatus 示例历史状态
ExampleType示例类型
ExampleFeature 示例特征
ExampleFeatureAppl
ExampleFeatureApplType
视图表
ExampleStatusDetail
ExampleStatusItem
ExampleFeatur ...
GIS学习记录(五):OpenLayers显示Google地图
使用Google api v2版本需要域名对应的key, v3版本api可以直接使用
<script src="http://maps.google.com/maps/api/js?v=3.6&sensor=false"></script>
例子:
<!DOCTYPE html>
<html ...
List.FindAll
using System;
using System.Collections.Generic;
public class Example
{
public static void Main()
{
List<string> dinosaurs = new List<string>();
dinosaurs. ...
GroovyHelp 3.1.0 GA发布
GroovyHelp简介:
GroovyHelp是一款帮助软件,它能够帮助Java开发人员方便快速地查找Javadoc文档并对其进行高效管理,从此无需苦寻chm格式的帮助文档了。主要特性:
* 根据输入关键字,查找类,接口,方法等帮助信息(支持模糊查询)
* 支持全文检索,并高亮搜索结果(支持模糊检索)
* 以树型结构完整展现文档的整体结构及文件结构
* 支 ...
ibatis试用一:XML的写法
主要是几个标签:第一个肯定是
<sqlMap namespace="Mail">
</sqlMap>
第二个是
<typeAlias alias="Mail" type="com.game.model.Mail" />
第三个是Insert
...