Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Jute Powerful Forum  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
话题被移动
该话题已被移动 - 阿熊 , 2004-12-14 12:22
如果您尚不清楚该话题被移动的原因,请参考论坛规则以及本版公告或者联系本版版主。
作者 这里的搜索引擎不好用啊
prettyxx





发贴: 75
积分: 42
于 2004-12-03 17:19 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
我是新手,对JAVA中的this句柄不是很理解,心想这应该是简单问题,就到论坛里搜索了一下相关的帖子,结果搜出来的帖子成千上万,没几个是和this有关的,是不是我不会用啊


我的Blog:阿泠的自省札记
========心有多大,舞台就有多大========
作者 Re:这里的搜索引擎不好用啊 [Re:prettyxx]
jigsaw

KK

CJSDN高级会员


发贴: 3666
积分: 93
于 2004-12-03 21:17 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
寒。。。。你用google搜索一下this你就知道为什么了。。。


No one knows except both of us.
909090909090909090909090909090909090909090b8533ce76c8d6c241868968a0408c338b4ffbf
ISO/IEC 9899:1999
作者 Re:这里的搜索引擎不好用啊 [Re:prettyxx]
prettyxx





发贴: 75
积分: 42
于 2004-12-04 12:28 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
google是google,我只是在这个论坛中搜索标题中含this的,可是搜出来的什么都有,含不含this的都搜出来了呀


我的Blog:阿泠的自省札记
========心有多大,舞台就有多大========
作者 Re:这里的搜索引擎不好用啊 [Re:prettyxx]
阿熊



发贴: 0
积分: 0
于 2004-12-04 12:32 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
prettyxx wrote:
google是google,我只是在这个论坛中搜索标题中含this的,可是搜出来的什么都有,含不含this的都搜出来了呀

这个论坛的搜索与Google一样的
使用lucene



作者 Re:这里的搜索引擎不好用啊 [Re:prettyxx]
prettyxx





发贴: 75
积分: 42
于 2004-12-04 22:42 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
以下这些就是我在论坛里搜索this,设置为在JAVA基础里只搜索标题的搜索结果,列出了前20个,总共搜出了3061条:
J2SE 1.4 Diagram
Java正则表达式详解
CLASSPATH详解
JAVA代码编写的30条建议
Java 语言特点及开发工具JDK
Java不足之我见
[推荐]使用Java Collection 框架创建新的数据结构
[转载]Hello Unicode —系统语言环境设置对JAVA应用的影响 面试带来的思考
[转载]生成可以自动运行的jar文件
请问numeration和Vector是什么关系?
Pass by value or pass by reference?
Take a look at this site.
[转帖][文章]破除java神话
一个JAVABEAN实例
applet 的权限问题
请教个问题,谢谢!(中文串.indexOf(搜寻中文串) 不能得到正确的结果)
JavaTM 2 SDK, Standard Edition Updates - 1.4.1_01 NOW AVAILABLE!
走进Java原型开发(转载)
Gates Vs. McNealy

好像大多和this都没什么关系吧,是不是我有什么设置不对呢?还请各位高手赐教:)


prettyxx edited on 2004-12-04 22:47

我的Blog:阿泠的自省札记
========心有多大,舞台就有多大========
作者 Re:这里的搜索引擎不好用啊 [Re:zua]
ww1ww1





发贴: 202
积分: 5
于 2004-12-05 09:51 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
zua wrote:
这个论坛的搜索与Google一样的
使用lucene


Google也是用lucene吗?好像Google的lucene要复杂好多。。。



作者 Re:这里的搜索引擎不好用啊 [Re:prettyxx]
syvin





发贴: 41
积分: 1
于 2004-12-12 16:27 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
prettyxx wrote:
我是新手,对JAVA中的this句柄不是很理解,心想这应该是简单问题,就到论坛里搜索了一下相关的帖子,结果搜出来的帖子成千上万,没几个是和this有关的,是不是我不会用啊


"this"是lucene的stop words,请看源代码,就像google的"的":

public static final String[] ENGLISH_STOP_WORDS = {
"a", "an", "and", "are", "as", "at", "be", "but", "by",
"for", "if", "in", "into", "is", "it",
"no", "not", "of", "on", "or", "s", "such",
"t", "that", "the", "their", "then", "there", "these",
"they", "this", "to", "was", "will", "with"
};



作者 Re:这里的搜索引擎不好用啊 [Re:prettyxx]
syvin





发贴: 41
积分: 1
于 2004-12-12 16:34 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
prettyxx wrote:
以下这些就是我在论坛里搜索this,设置为在JAVA基础里只搜索标题的搜索结果,列出了前20个,总共搜出了3061条:
J2SE 1.4 Diagram
Java正则表达式详解
CLASSPATH详解
JAVA代码编写的30条建议
Java 语言特点及开发工具JDK
Java不足之我见
[推荐]使用Java Collection 框架创建新的数据结构
[转载]Hello Unicode —系统语言环境设置对JAVA应用的影响 面试带来的思考
[转载]生成可以自动运行的jar文件
请问numeration和Vector是什么关系?
Pass by value or pass by reference?
Take a look at this site.
[转帖][文章]破除java神话
一个JAVABEAN实例
applet 的权限问题
请教个问题,谢谢!(中文串.indexOf(搜寻中文串) 不能得到正确的结果)
JavaTM 2 SDK, Standard Edition Updates - 1.4.1_01 NOW AVAILABLE!
走进Java原型开发(转载)
Gates Vs. McNealy

好像大多和this都没什么关系吧,是不是我有什么设置不对呢?还请各位高手赐教:)


你search出结果来,说明你选择了某个论坛,否则会提示你重新选择关键词;
如果选择了某个论坛,他返回的就是这个论坛的所有文章主题.
而你选择是按照主帖方式搜索,并且在"java基础"论坛,所以是3061条,今天是3160个主题.



作者 Re:这里的搜索引擎不好用啊 [Re:prettyxx]
prettyxx





发贴: 75
积分: 42
于 2004-12-13 14:46 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
非常感谢syvin 的帮忙,不过,你的试验很好,但是依旧没有解决的方法,是不是说在这里的搜索引擎里就不能搜索例如“this”这样的关键字?但是在google里是可以的呀,我已经试过了,既然二者原理是一样的,为什么google可以,而这里不可以呢?最重要的是,如果我希望搜索“this”这样的关键字,我该怎么操作呢?请教了


我的Blog:阿泠的自省札记
========心有多大,舞台就有多大========
作者 Re:这里的搜索引擎不好用啊 [Re:prettyxx]
syvin





发贴: 41
积分: 1
于 2004-12-14 10:21 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
prettyxx wrote:
非常感谢syvin 的帮忙,不过,你的试验很好,但是依旧没有解决的方法,是不是说在这里的搜索引擎里就不能搜索例如“this”这样的关键字?但是在google里是可以的呀,我已经试过了,既然二者原理是一样的,为什么google可以,而这里不可以呢?最重要的是,如果我希望搜索“this”这样的关键字,我该怎么操作呢?请教了


lucene不支持对this这样的关键词搜索,但是this是java的关键字,只能通过修改stopTable来修正这个问题,把this从ENGLISH_STOP_WORDS中拿出来.

目前来说,是搜索不到的.

如果还有问题,请RainmanZhu来回复Big Smile




flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923