摘要:
http://www.cnblogs.com/anic/archive/2010/04/10/1709119.html 阅读全文
posted @ 2011-12-18 19:04
lexus
阅读(139)
评论(0)
推荐(0)
|
摘要:
http://www.cnblogs.com/anic/archive/2010/04/10/1709119.html 阅读全文
posted @ 2011-12-18 19:04
lexus
阅读(139)
评论(0)
推荐(0)
摘要:
我来点评一下,呵呵,就是java object 与 xml的 双向持久化初识JAXB2009-05-07 22:21:59标签:java原创作品,允许转载,转载时请务必以超链接形式标明文章原始出处、作者信息和本声明。否则将追究法律责任。http://coldraining.blog.51cto.com/638924/156060初始jaxb,最近接手了公司的另外一个项目,接触到了原来同事写的一些j... 阅读全文
posted @ 2011-12-18 18:41
lexus
阅读(800)
评论(0)
推荐(0)
摘要:
http://sujitpal.blogspot.com/2007/04/lucene-search-within-search-with.htmlhttp://blog.csdn.net/lansine2005/article/details/6787472Lucene聚类分组统计功能(grouping)分类:Lucene2011-09-18 16:56229人阅读评论(1)收藏举报在搜索的项目... 阅读全文
posted @ 2011-12-18 17:13
lexus
阅读(1126)
评论(0)
推荐(0)
摘要:
#! /usr/bin/env python#coding=utf-8import pickleimport cPickle#6.6Mdef searlize_to_txt(): f=open("searlize.txt","w") for i in xrange(1,1000000): f.write("%s\n"%i) f.close() print "done!"#8.5M ... 阅读全文
posted @ 2011-12-18 17:08
lexus
阅读(390)
评论(0)
推荐(0)
摘要:
http://www.cnblogs.com/ibook360/archive/2011/11/15/2250018.htmlbobo-browse为Lucene添加分组统计Bobo-browse是一个基于lucene的搜索结果分组统计开源插件,可以完成对搜索结果的分组面统计,比如在淘宝上搜索“衬衣”,在搜索结果顶上显示 “长袖衬衫(10321) 短袖衬衫(32561) ”等。虽然Lucene 在... 阅读全文
posted @ 2011-12-18 16:27
lexus
阅读(424)
评论(0)
推荐(0)
摘要:
今后聊架构,就可以谈这个了,类似于.net下的petshop和java下的petstore 阅读全文
posted @ 2011-12-18 14:45
lexus
阅读(202)
评论(0)
推荐(0)
摘要:
/** To change this template, choose Tools | Templates* and open the template in the editor.*/package com.jd.lucene;import java.io.File;import java.io.IOException;import java.sql.Date;import java.text.... 阅读全文
posted @ 2011-12-18 13:11
lexus
阅读(1074)
评论(0)
推荐(0)
摘要:
http://qwcode.blogspot.com/2011/09/facets-in-lucene.htmlSunday, September 11, 2011facets in lucenein short, doing "facets" directly in lucene (vs using the native support in something like solr) boils... 阅读全文
posted @ 2011-12-18 12:40
lexus
阅读(250)
评论(0)
推荐(0)
摘要:
Convert int to string publicclassConvertIntToString{ publicstaticvoidmain(String[]args){ intaInt=1; StringaString=Integer.toString(aInt); } } 阅读全文
posted @ 2011-12-18 10:52
lexus
阅读(216)
评论(0)
推荐(0)
摘要:
实现lucene检索结果排序Lucene的默认排序是按照Document的得分进行排序的。当检索结果集中的两个Document的具有相同的得分时,默认按照Document的ID对结果进行排序。下面研究几种设置/改变检索结果排序的方法。1、改变Document的boost(激励因子) 改变boost的大小,会导致Document的得分的改变,从而按照Lucene默认的对检索结果集的排序方式,改变检... 阅读全文
posted @ 2011-12-18 09:48
lexus
阅读(1062)
评论(0)
推荐(0)
摘要:
[lucene] 如何让Document.getFieldable 返回 NumericFieldpufan 2010-07-26看java doc知道,NumericField只能在index时使用,Document.getFieldable 返回的是Field而不是NumericField。 目前的需求要能够返回NumericField,哪怕是修改源码也可以。对lucene底层不熟,我看了看... 阅读全文
posted @ 2011-12-18 09:29
lexus
阅读(285)
评论(0)
推荐(0)
摘要:
This example shows how to format time using Format class. In this program we use a pattern of special characters to time format.Time Format Example This example shows how to format time ... 阅读全文
posted @ 2011-12-18 09:28
lexus
阅读(199)
评论(0)
推荐(0)
摘要:
群组首页 → 企业架构 → lucene爱好者 → 论坛 发表回复[lucene] 如何让Document.getFieldable 返回 NumericFieldpufan 2010-07-26看java doc知道,NumericField只能在index时使用,Document.getFieldable 返回的是Field而不是NumericField。 目前的需求要能够返回Numeric... 阅读全文
posted @ 2011-12-18 01:35
lexus
阅读(257)
评论(0)
推荐(0)
摘要:
在java中如何把字符串转换成时间格式?检举|2007-11-28 17:26提问者:baixiao429|悬赏分:20|浏览次数:6645次有这样一个字符串:“20070911121547”,
转换成时间格式:2007-09-11 12:15:47
请帮忙。2007-11-28 17:54最佳答案public class bb { public static void main(String[... 阅读全文
posted @ 2011-12-18 00:25
lexus
阅读(990)
评论(0)
推荐(0)
摘要:
http://www.javapractices.com/topic/TopicAction.do?Id=42 阅读全文
posted @ 2011-12-17 23:21
lexus
阅读(192)
评论(0)
推荐(0)
摘要:
http://fys-summer.blog.163.com/blog/static/603656620111114113525472/http://blog.csdn.net/jawsy/article/details/1708372 阅读全文
posted @ 2011-12-17 17:42
lexus
阅读(382)
评论(0)
推荐(0)
摘要:
http://sunng.info/blog/2011/01/%E5%8C%85%E7%AE%A1%E7%90%86%E4%B8%8E%E8%B7%AF%E5%BE%84%E7%AE%A1%E7%90%86/ 阅读全文
posted @ 2011-12-17 15:34
lexus
阅读(164)
评论(0)
推荐(0)
摘要:
http://www.juvenxu.com/2011/05/11/infoq-maven-most-used-maven-plugins-b/ 阅读全文
posted @ 2011-12-17 15:23
lexus
阅读(236)
评论(0)
推荐(0)
摘要:
http://www.cnblogs.com/ibook360/archive/2011/12/05/2277054.html一 直接使用Lucene(http://lucene.apache.org)说明:Lucene 是一个 JAVA 搜索类库,它本身并不是一个完整的解决方案,需要额外的开发工作优点:成熟的解决方案,有很多的成功案例。apache 顶级项目,正在持续快速的进步。庞大而活跃的开发... 阅读全文
posted @ 2011-12-17 12:54
lexus
阅读(418)
评论(0)
推荐(0)
|