朗志工作室(Langzhi Studio)

江浙沪一带找工作中,欢迎联系
方向:爬虫、搜索 技术:python,rails,node.js

  博客园 :: 首页 :: 联系 :: 订阅 订阅 :: 管理
  5662 Posts :: 2 Stories :: 515 Comments :: 7 Trackbacks

公告

12 2011 档案

摘要: 首先对自己的产品没信心,它知道人们想要一款混合装的但是它就不出,我就只卖一次,看你怎么着,嘿嘿阅读全文
posted @ 2011-12-30 22:11 lexus 阅读(22) | 评论 (0) 编辑

摘要: http://www.cnblogs.com/你的博客名称/services/metablogapi.aspx阅读全文
posted @ 2011-12-29 20:21 lexus 阅读(19) | 评论 (0) 编辑

摘要: 2011-09-30Java子类与父类的初始化 博客分类:androidJava代码 classParent{ intx=10; publicParent(){ add(2); } voidadd(inty){ x+=y; } } classChildextendsParent{ intx=9; voidadd(inty){ x+=y; } publicstaticvoidmain(String[]args){ Parentp=newChild(); System.out.println(p.x); } }class Parent{ int x=10; ...阅读全文
posted @ 2011-12-23 09:04 lexus 阅读(95) | 评论 (0) 编辑

摘要: http://mht.iteye.com/blog/170350Java中static块 博客分类:java技术JavaJava 程序中时常用些 static {} 这样的结构。 这样的结构叫 static块 ,一般是一个类初始化时运行的代码。 注意,是类的初始化,不是对象的初始化。 也就是你在定义对象是,它运行的初始化代码,并且只有第一次定义时才运行。之后就不再运行初始化了。 一个类中可以可以有很多static块。static块按顺序执行。看以下代码:public class TestStatic{static{ System.out.println(1);} static{ System.阅读全文
posted @ 2011-12-23 08:57 lexus 阅读(316) | 评论 (0) 编辑

摘要: http://blog.csdn.net/hlantian/article/details/5276597http://www.cnblogs.com/gxinliug/archive/2011/04/26/2029788.htmlhibernate 中 get、load 的 区别 分类: 知识点 2010-02-01 11:48 1999人阅读 评论(0) 收藏 举报 转自:http://blog.163.com/love-love-l/blog/static/210783042009618919985/#comment=fks_0830700850950800690810940830950阅读全文
posted @ 2011-12-23 08:54 lexus 阅读(19) | 评论 (0) 编辑

摘要: 九棵树怎么到" 三里屯SOHO" 朝阳区工体北路8号院检举|2011-5-6 22:11提问者:wanjiulin2011|浏览次数:206次推荐答案2011-5-20 10:14乘坐地铁八通线换乘1号线,国贸换乘10号线至团结湖下车,向西步行700米,路南侧九棵树怎么到" 三里屯SOHO" 朝阳区工体北路8号院阅读全文
posted @ 2011-12-20 22:35 lexus 阅读(15) | 评论 (0) 编辑

摘要: 4招将PPT文本转换成Doc文本来源:人民网 2009-03-30分享到: 新浪微博 腾讯微博 豆瓣网 人人网 开心网 QQ空间 搜狐微博 更多 0-你是不是因为不能把PPT课件转换成Word讲义而感到烦恼?或者对大量的PPT幻灯片内容需要打印出来而犯愁呢?下面向大家介绍4种将PPT演示文稿里的文字转换成Word文档的方法,以供参考。一、利用大纲视图打开PPT演示文稿,单击“大纲”,在左侧“幻灯...阅读全文
posted @ 2011-12-20 21:51 lexus 阅读(26) | 评论 (0) 编辑

摘要: http://www.youtube.com/watch?v=1yTjj9MnzRY阅读全文
posted @ 2011-12-20 13:33 lexus 阅读(11) | 评论 (0) 编辑

摘要: http://support.google.com/websiteoptimizer/bin/answer.py?hl=zh-Hans&answer=55894&ctx=cb&src=cb&cbid=18h9j3br7jhev&cbrank=1网站优化工具帮助 帮助文章 使用入门 规划实验 使用工具 - A/B 测试 使用工具 - 多变量测试 数据与报告 实验后续步骤 帮助文章 ›...阅读全文
posted @ 2011-12-20 11:29 lexus 阅读(13) | 评论 (0) 编辑

摘要: sudo apt-get install ntpsudo ntpdate ntp.ubuntu.com阅读全文
posted @ 2011-12-20 09:40 lexus 阅读(12) | 评论 (0) 编辑

摘要: http://damies.iteye.com/blog/159835http://blog.csdn.net/lyflower/article/details/15245682008-01-28关于Lucene索引合并解决方法博客分类:JAVA技术luceneApache中间件WebF#由于Clustor的问题造成无法对索引进行同步,脑子中马上浮现用rmi(双机),UDP广播(多机)作通信中间件...阅读全文
posted @ 2011-12-19 22:41 lexus 阅读(302) | 评论 (0) 编辑

摘要: http://damies.iteye.com/blog/1598352008-01-28关于Lucene索引合并解决方法博客分类:JAVA技术luceneApache中间件WebF#由于Clustor的问题造成无法对索引进行同步,脑子中马上浮现用rmi(双机),UDP广播(多机)作通信中间件对clustor进行索引同步但这样经过测试后效率相对较低,故另辟蹊径,最终用索引合并的方式进行快速的索引整...阅读全文
posted @ 2011-12-19 22:38 lexus 阅读(75) | 评论 (0) 编辑

摘要: above 3.2 version the default mergepolicy is used triedmergepolicyso if you want use setMergeFactor you must down the version use bellow code Directory dir = FSDirectory.open(new File(indexPath)); ...阅读全文
posted @ 2011-12-19 22:29 lexus 阅读(27) | 评论 (0) 编辑

摘要: « 博客园首页Lucene学习总结之五:Lucene段合并(merge)过程分析作者:觉先来源:博客园发布时间:2010-03-06 00:49阅读:2007 次原文链接[收藏]一、段合并过程总论IndexWriter中与段合并有关的成员变量有:HashSet<SegmentInfo> mergingSegments = new HashSet<SegmentInfo>(); //保存正在合并的段...阅读全文
posted @ 2011-12-19 21:20 lexus 阅读(34) | 评论 (0) 编辑

摘要: http://akululu.iteye.com/blog/314130lucene多索引文件并行查询 博客分类:LuceneluceneSQL.netLucene并行索引多目录Lucene并行索引多目录1、多字段搜索就是同时要一个以上的字段中的内容进行比较搜索,类似概念在SQL中就是select * from Table where a like '%query%' or b like '%q...阅读全文
posted @ 2011-12-19 20:52 lexus 阅读(147) | 评论 (0) 编辑

摘要: 360浏览器做得不错,还有chrome版本,其它的浏览器都没戏了,阅读全文
posted @ 2011-12-19 20:46 lexus 阅读(28) | 评论 (0) 编辑

摘要: NuGet GalleryLog OnRegisterHomePackagesUpload PackageDocumentationJump Start Your Projects with NuGetNuGet is a Visual Studio extension that makes it easy to install and update open source libraries a...阅读全文
posted @ 2011-12-19 17:42 lexus 阅读(27) | 评论 (0) 编辑

摘要: dapper-dot-netSimple SQL object mapper for ADO.NETProjectHomeDownloadsWikiIssuesSourceSummaryUpdatesPeopleProject InformationStarred by313usersActivityHighProject feedsCode licenseApache License 2.0La...阅读全文
posted @ 2011-12-19 13:52 lexus 阅读(16) | 评论 (0) 编辑

摘要: http://www.ipcpu.com/2011/03/drbd-usage/http://www.xifenfei.com/1449.html这篇文章写得很詳細http://www.weithenn.org/cgi-bin/wiki.pl?HA-DRBD_Heartbeat_%E5%BB%BA%E7%BD%AE_MySQL_%E9%AB%98%E5%8F%AF%E7%94%A8%E6%80%A...阅读全文
posted @ 2011-12-19 10:52 lexus 阅读(13) | 评论 (0) 编辑

摘要: http://www.ipcpu.com/2011/03/drbd-usage/http://www.xifenfei.com/1449.html这篇文章写得很詳細http://www.weithenn.org/cgi-bin/wiki.pl?HA-DRBD_Heartbeat_%E5%BB%BA%E7%BD%AE_MySQL_%E9%AB%98%E5%8F%AF%E7%94%A8%E6%80%A...阅读全文
posted @ 2011-12-19 10:42 lexus 阅读(9) | 评论 (0) 编辑

摘要: Mysql HA实现MYSQL的高可用http://colderboy.blog.51cto.com/485582/104872阅读全文
posted @ 2011-12-19 10:38 lexus 阅读(18) | 评论 (0) 编辑

摘要: https://github.com/mlzboy/NetShop今天找到就放上来了,学习maven要参看一下ant之类的阅读全文
posted @ 2011-12-18 23:02 lexus 阅读(28) | 评论 (0) 编辑

摘要: Maven学习笔记(三.用于Web项目中)http://noside.iteye.com/blog/1145325http://www.cnblogs.com/eafy/archive/2007/10/10/919361.htmlhttp://apluck.iteye.com/blog/1197645http://hi.baidu.com/caijian5219999/blog/item/437f...阅读全文
posted @ 2011-12-18 22:28 lexus 阅读(16) | 评论 (0) 编辑

摘要: http://www.searchworkings.org/blog/-/blogs/result-grouping-field-collapsing-with-solr/alsk named as Field Collapsingthis is different with facet,when you first glance ,you'll problely confused about t...阅读全文
posted @ 2011-12-18 21:22 lexus 阅读(49) | 评论 (0) 编辑

摘要: http://www.cnblogs.com/anic/archive/2010/04/10/1709119.html阅读全文
posted @ 2011-12-18 19:04 lexus 阅读(10) | 评论 (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 阅读(179) | 评论 (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 阅读(122) | 评论 (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 阅读(14) | 评论 (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 阅读(68) | 评论 (0) 编辑

摘要: 今后聊架构,就可以谈这个了,类似于.net下的petshop和java下的petstore阅读全文
posted @ 2011-12-18 14:45 lexus 阅读(32) | 评论 (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 阅读(450) | 评论 (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 阅读(18) | 评论 (0) 编辑

摘要: Convert int to string publicclassConvertIntToString{ publicstaticvoidmain(String[]args){ intaInt=1; StringaString=Integer.toString(aInt); } }阅读全文
posted @ 2011-12-18 10:52 lexus 阅读(14) | 评论 (0) 编辑

摘要: 实现lucene检索结果排序Lucene的默认排序是按照Document的得分进行排序的。当检索结果集中的两个Document的具有相同的得分时,默认按照Document的ID对结果进行排序。下面研究几种设置/改变检索结果排序的方法。1、改变Document的boost(激励因子) 改变boost的大小,会导致Document的得分的改变,从而按照Lucene默认的对检索结果集的排序方式,改变检...阅读全文
posted @ 2011-12-18 09:48 lexus 阅读(94) | 评论 (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 阅读(16) | 评论 (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 阅读(15) | 评论 (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 阅读(33) | 评论 (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 阅读(190) | 评论 (0) 编辑

摘要: http://www.javapractices.com/topic/TopicAction.do?Id=42阅读全文
posted @ 2011-12-17 23:21 lexus 阅读(9) | 评论 (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 阅读(178) | 评论 (0) 编辑

摘要: http://blog.cnbang.net/about/阅读全文
posted @ 2011-12-17 16:29 lexus 阅读(16) | 评论 (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 阅读(7) | 评论 (0) 编辑

摘要: http://www.juvenxu.com/2011/05/11/infoq-maven-most-used-maven-plugins-b/阅读全文
posted @ 2011-12-17 15:23 lexus 阅读(19) | 评论 (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 阅读(72) | 评论 (0) 编辑

摘要: http://summersmile1984.i-branding.me/2011/03/31/elastic-search%E5%8F%88%E4%B8%80%E4%B8%AA%E5%9F%BA%E4%BA%8Elucene%E7%9A%84nosql%E5%A5%BD%E9%A1%B9%E7%9B%AE/elastic search,又一个基于lucene的nosql好项目Posted bys...阅读全文
posted @ 2011-12-17 12:42 lexus 阅读(146) | 评论 (0) 编辑

摘要: http://www.ij2ee.com/2011/11/29/katta%EF%BC%9A%E5%9F%BA%E4%BA%8Elucene%E5%8F%AF%E4%BC%B8%E7%BC%A9%E5%88%86%E5%B8%83%E5%BC%8F%E5%AE%9E%E6%97%B6%E6%90%9C%E7%B4%A2%E6%96%B9%E6%A1%88.htmlKatta:基于Lucene可伸缩...阅读全文
posted @ 2011-12-17 12:37 lexus 阅读(58) | 评论 (0) 编辑

摘要: http://code.google.com/p/thrudb/ACHTUNG! ThruDB is no longer under developmentThrudb is a set of simple services built on top of theFacebookApache Thrift frameworkthat provides indexing and document s...阅读全文
posted @ 2011-12-17 12:10 lexus 阅读(17) | 评论 (0) 编辑

摘要: http://www.nearinfinity.com/blogs/bill_bejeck/lucene_thrift_and_ruby.htmlLucene Thrift and RubyByBill Bejeckon May 18, 2011 11:38 PM|Permalink|Comments (0)|TrackBacks (0)0diggThis post is going to dem...阅读全文
posted @ 2011-12-17 12:03 lexus 阅读(31) | 评论 (0) 编辑

摘要: http://www.nearinfinity.com/blogs/bill_bejeck/lucene_thrift_and_ruby.htmlLucene Thrift and RubyByBill Bejeckon May 18, 2011 11:38 PM|Permalink|Comments (0)|TrackBacks (0)0diggThis post is going to dem...阅读全文
posted @ 2011-12-17 12:03 lexus 阅读(14) | 评论 (0) 编辑

摘要: Welcome to Apache Axis2/JavaApache Axis2™ is a Web Services / SOAP / WSDL engine, the successor to the widely usedApache AxisSOAP stack. There are two implementations of the Apache Axis2 Web services ...阅读全文
posted @ 2011-12-17 11:51 lexus 阅读(20) | 评论 (0) 编辑

摘要: http://hi.baidu.com/fc_lamp/blog/item/03489c919a836091a977a48c.html阅读全文
posted @ 2011-12-16 21:41 lexus 阅读(44) | 评论 (0) 编辑

摘要: How to Install Adobe Air 2 on Ubuntu 10.04 Linux DistrobyBINOY XAVIERonJUNE 20, 2010TweetThe Ubuntu 10.04 code named Lucid Lynx is already out and since then we have played around with it. You might k...阅读全文
posted @ 2011-12-16 21:28 lexus 阅读(31) | 评论 (0) 编辑

摘要: http://blog.cctime.com/index.php/71326/action-spacelist-starttime-1322668800-endtime-1325347200阅读全文
posted @ 2011-12-16 10:55 lexus 阅读(14) | 评论 (0) 编辑

摘要: http://storage.it168.com/a2011/1203/1283/000001283153.shtml海狗不是狗 探秘支付宝准实时搜索查询2011年12月03日00:02 it168网站原创 作者:幽云十八 编辑:曾智强 评论:--条【IT168 资讯】12月2日-3日,以主题为“海量数据掘宝”的Hadoop中国2011云计算大会在北京会议中心召开。本次大会邀请了Ap...阅读全文
posted @ 2011-12-16 01:26 lexus 阅读(38) | 评论 (0) 编辑

摘要: http://blog.csdn.net/soso_blog/article/details/5706555谈搜索架构师的不同阶段 分类: 成长分享 soso技术/产品专家介绍 2010-07-01 11:40 10087人阅读 评论(64) 收藏 举报文/腾讯soso 乔建秀 乔建秀,国内早期从事搜索引擎技术的专家,拥有十年的搜索经验。作为搜索首席架构师,2000年-2...阅读全文
posted @ 2011-12-16 01:16 lexus 阅读(30) | 评论 (0) 编辑

摘要: http://www.yiihsia.com/2011/04/%E5%AF%B9redis%E6%95%B0%E6%8D%AE%E6%8C%81%E4%B9%85%E5%8C%96%E7%9A%84%E4%B8%80%E4%BA%9B%E6%83%B3%E6%B3%95/阅读全文
posted @ 2011-12-16 00:30 lexus 阅读(31) | 评论 (0) 编辑

摘要: http://developer.51cto.com/developer/top10Architect/架构师接龙http://blog.s135.com/architect_solitaire/http://blog.fulin.org/2011/06/architect_thinks.html架构师的思考Filed in: 工作日志 Add comments当一个系统越来越大之后,就需要一个架...阅读全文
posted @ 2011-12-16 00:04 lexus 阅读(24) | 评论 (0) 编辑

摘要: 项目管理组织PMO作者:项目管理者联盟联盟会员:项目管理者联盟转载发布时间:2008-8-15点击:17772PMB:0【收藏本文】目前很多组织在关注项目管理,把项目管理作为提高企业竞争力的基础。很多国内企业已经不仅仅将重点放在提高项目经理的个人技能,同时将组织整体的项目管理能力建设作为今后的发展目标。项目管理体系的建立,项目管理方法论、流程、制度的形成,都是其发展组织项目管理能力的具体体现。另外...阅读全文
posted @ 2011-12-15 21:12 lexus 阅读(22) | 评论 (0) 编辑

摘要: Bacula, the Open Source, Network Backup Tool for Linux, Unix, Mac and Windows. General News Screenshots Bacula Home What is Bacula? Current State of ...阅读全文
posted @ 2011-12-15 18:28 lexus 阅读(45) | 评论 (0) 编辑

摘要: Sensei is a distributed database that is designed to handle the following type of query: SELECT f1,f2...fn FROM members WHERE c1 AND c2 AND c3.. MATCH (fulltext query, e.g. "java engineer") GROUP BY ...阅读全文
posted @ 2011-12-15 09:47 lexus 阅读(22) | 评论 (0) 编辑