»ùÓÚJavaµÄÈ«ÎļìË÷ÒýÇæ¼ò½é
LuceneÊÇÒ»¸ö»ùÓÚJavaµÄÈ«ÎÄË÷Òý¹¤¾ß°ü¡£
»ùÓÚJavaµÄÈ«ÎÄË÷ÒýÒýÇæLucene¼ò½é£º¹ØÓÚ×÷ÕߺÍLuceneµÄÀúÊ·
È«ÎļìË÷µÄʵÏÖ£ºLueneÈ«ÎÄË÷ÒýºÍÊý¾Ý¿âË÷ÒýµÄ±È½Ï
ÖÐÎÄÇзִʻúÖƼò½é£º»ùÓÚ´Ê¿âºÍ×Ô¶¯ÇзִÊËã·¨µÄ±È½Ï
¾ßÌåµÄ°²×°ºÍʹÓüò½é£ºÏµÍ³½á¹¹½éÉܺÍÑÝʾ
Hacking Lucene£º¼ò»¯µÄ²éѯ·ÖÎöÆ÷£¬É¾³ýµÄʵÏÖ£¬¶¨ÖƵÄÅÅÐò£¬Ó¦ÓýӿڵÄÀ©Õ¹
´ÓLuceneÎÒÃÇ»¹¿ÉÒÔѧµ½Ê²Ã´
ÁíÍ⣬Èç¹ûÊÇÔÚÑ¡ÔñÈ«ÎÄÒýÇ棬ÏÖÔÚÒ²ÐíÊÇÊÔÊÔSphinx
µÄʱºòÁË£ºÏà±ÈLuceneËٶȸü¿ì£¬ÓÐÖÐÎķִʵÄÖ§³Ö
£¬¶øÇÒÄÚÖÃÁ˶Լòµ¥µÄ·Ö²¼Ê½¼ìË÷µÄÖ§³Ö£»
»ùÓÚJavaµÄÈ«ÎÄË÷Òý/¼ìË÷ÒýÇæ——Lucene
Lucene²»ÊÇÒ»¸öÍêÕûµÄÈ«ÎÄË÷ÒýÓ¦Ó㬶øÊÇÊÇÒ»¸öÓÃJavaдµÄÈ«ÎÄË÷ÒýÒýÇ湤¾ß°ü£¬Ëü¿ÉÒÔ·½±ãµÄǶÈëµ½¸÷ÖÖÓ¦ÓÃÖÐʵÏÖÕë¶ÔÓ¦ÓõÄÈ«ÎÄË÷Òý/¼ìË÷¹¦ÄÜ¡£
LuceneµÄ×÷ÕߣºLuceneµÄ¹±Ï×ÕßDoug Cutting
ÊÇ
һλ×ÊÉîÈ«ÎÄË÷Òý/¼ìË÷ר¼Ò£¬Ôø¾ÊÇV-TwinËÑË÷ÒýÇæ(AppleµÄCopland²Ù×÷ϵͳµÄ³É¾ÍÖ®Ò»)µÄÖ÷Òª¿ª·¢Õߣ¬ºóÔÚExciteµ£Èθ߼¶ÏµÍ³
¼Ü¹¹Éè¼Æʦ£¬Ä¿Ç°´ÓÊÂÓÚһЩINTERNETµ×²ã¼Ü¹¹µÄÑо¿¡£Ëû¹±Ï׳öµÄLuceneµÄÄ¿±êÊÇΪ¸÷ÖÖÖÐСÐÍÓ¦ÓóÌÐò¼ÓÈëÈ«ÎļìË÷¹¦ÄÜ¡£
LuceneµÄ·¢Õ¹Àú³Ì£ºÔçÏÈ·¢²¼ÔÚ×÷Õß×Ô¼ºµÄwww.lucene.com
£¬ºóÀ´·¢²¼ÔÚSourceForge
£¬2001ÄêÄêµ×³ÉΪAPACHE»ù½ð»ájakartaµÄÒ»¸ö×ÓÏîÄ¿£ºhttp://jakarta.apache.org/lucene/
ÒѾÓкܶàJavaÏîÄ¿¶¼Ê¹ÓÃÁËLucene×÷ΪÆäºǫ́µÄÈ«ÎÄË÷ÒýÒýÇ棬±È½ÏÖøÃûµÄÓУº
J
ive
£ºWEBÂÛ̳ϵͳ£»
Eyebrows
£ºÓʼþÁбíHTML¹éµµ/ä¯ÀÀ/²éѯϵͳ£¬±¾ÎĵÄÖ÷Òª²Î¿¼Îĵµ“TheLucene search engine: Powerful, flexible, and free
”×÷Õß¾ÍÊÇEyeBrowsϵͳµÄÖ÷Òª¿ª·¢ÕßÖ®Ò»£¬¶øEyeBrowsÒѾ³ÉΪĿǰAPACHEÏîÄ¿µÄÖ÷ÒªÓʼþÁбí¹éµµÏµÍ³¡£
Cocoon
:»ùÓÚXMLµÄweb·¢²¼¿ò¼Ü£¬È«ÎļìË÷²¿·ÖʹÓÃÁËLucene
Eclipse
:»ùÓÚJavaµÄ¿ª·Å¿ª·¢Æ½Ì¨£¬°ïÖú²¿·ÖµÄÈ«ÎÄË÷ÒýʹÓÃÁËLucene
¶ÔÓÚÖÐÎÄÓû§À´Ëµ£¬×î¹ØÐĵÄÎÊÌâÊÇÆäÊÇ·ñÖ§³ÖÖÐÎĵÄÈ«ÎļìË÷¡£µ«Í¨¹ýºóÃæ¶ÔÓÚLuceneµÄ½á¹¹µÄ½éÉÜ£¬Äã»áÁ˽⵽ÓÉÓÚLuceneÁ¼ºÃ¼Ü¹¹Éè¼Æ£¬¶ÔÖÐÎĵÄÖ§³ÖÖ»Ðè¶ÔÆäÓïÑÔ´Ê·¨·ÖÎö½Ó¿Ú½øÐÐÀ©Õ¹¾ÍÄÜʵÏÖ¶ÔÖÐÎļìË÷µÄÖ§³Ö¡£
È«ÎļìË÷µÄʵÏÖ»úÖÆ
LuceneµÄAPI½Ó¿ÚÉè¼ÆµÄ±È½ÏͨÓã¬ÊäÈëÊä³ö½á¹¹¶¼ºÜÏñÊý¾Ý¿âµÄ±í==>¼Ç¼==>×ֶΣ¬ËùÒԺܶഫͳµÄÓ¦ÓõÄÎļþ¡¢Êý¾Ý¿âµÈ¶¼¿ÉÒԱȽϷ½±ãµÄÓ³Éäµ½LuceneµÄ´æ´¢½á¹¹/½Ó¿ÚÖС£×ÜÌåÉÏ¿´£º¿ÉÒÔÏÈ°ÑLuceneµ±³É
Ïà¹ØÎĵµ£º
×î½ü¹«Ë¾Åöµ½ÐèÒªÓÃͼ±íµÄÐÎʽÏÔʾһЩÊý¾Ý£¬ÎҾͿªÊ¼µ½ÍøÉϲéѯ£¬²éµ½ÁËjfreechartºÍamcharts,ÕâÁ½ÕßÎÒ¶¼ÊµÏÖ¹ýÁË£¬jfreechart×îºóÉú³ÉͼƬ£¬µ«ÊÇͼƬЧ¹û²»ÊÇÎÒÏëÒªµÄ£¬È»ºóÓÖÑо¿amcharts ËüµÄЧ¹ûȷʵºÜºÃ£¬¶øÇÒ¹Ù·½ÍøÕ¾ÉÏ»¹ÓкÃЩÀý×ӿɹ©ÏÂÔØ£¬ÍøÖ·ÊÇ:www.amcharts.com
£¨ÏëÒªÍê³ÉÒ»¸öamchartsͼÐÎÐèÒªswfobjects. ......
°²×°£¬ÅäÖÃj2sdk£º
Ö´ÐÐj2sdk°²×°³ÌÐò£¬°´Ä¬ÈÏÉèÖýøÐа²×°£¬Ò²¿É×Ô¶¨Òå·¾¶£¬µ«ÐèÐÞ¸ÄÏÂÃæµÄÅäÖÃ
ÅäÖÃj2sdk:
ÅäÖû·¾³±äÁ¿:
ÎҵĵçÄÔ->ÊôÐÔ->¸ß¼¶->»·¾³±äÁ¿->ϵͳ±äÁ¿ÖÐÌí¼ÓÒÔÏ»·¾³±äÁ¿£º
JAVA_HOME=C:\Program Files\Java\jdk1.5.0_04
CLASSPATH=%JAVA_HOME%\lib\dt.jar;
%JAVA_HOME%\lib\to ......
1.±È½Ïºó£¬·µ»Ø0,1,-1 µÄ½á¹û£¬¿ÉÒÔÓÃ
return (thisVal<anotherVal ? -1 : (thisVal==anotherVal ? 0 : 1));
ЧÂʸü¸ß
ÒÔÏÂת×Ô http://bluelzx.javaeye.com/blog/200987
1.
Á½ÖֱȽϽӿڷÖÎö
ÔÚ
“
¼¯ºÏ¿ò¼Ü
”
ÖÐÓÐÁ½ÖֱȽϽӿڣº
Comparable
½Ó¿ÚºÍ
Comparator
½Ó¿Ú¡£
Compara ......
ÔÚJavaÖУ¬²»Í¬µÄÀ඼ÓÐ×Ô¼ºµ¥¶ÀµÄCache»úÖÆ£¬ÊµÏֵķ½·¨Ò²¿ÉÄÜÓÐËù²»Í¬£¬ÎÄÕÂÁоÙÁËJavaÖг£¼ûµÄ¸÷ÀàCache»úÖƵÄʵÏÖ·½·¨£¬Í¬Ê±½øÐÐÁË×ۺϵıȽϡ£
OSCache
OSCacheÊǸöÒ»¸ö¹ã·º²ÉÓõĸßÐÔÄܵÄJava EE»º´æ¿ò¼Ü£¬OSCacheÄÜÓÃÓÚÈκÎJavaÓ¦ÓóÌÐòµÄÆÕͨµÄ»º´æ½â¾ö·½°¸¡£
OSCacheÓÐÒÔÏÂÌص㣺»º´æÈκζÔÏó£¬Äã¿ÉÒÔ²»ÊÜÏÞÖƵ ......