请教高手SearchSite的问题2

时间:2022-09-12 23:58:04
在R6中,Domino有一个叫做srchsite.ntf的模版库,据说继承它可以很容易设计出来可以搜索整个网站的应用。我继承它生成了一个,但是不会用,在C/S的情况下他倒是能检索到自己数据库的文档,但是在B/S下却不行,总是在Domino控制台上提示我没有全文索引。问题是:
1、这个继承srchsite.ntf生成的搜索库名字是否有限制,就像domcfg.nsf一样?
2、生成后的数据库到底怎么使用,又没有详细点的使用指南?
谢谢:)

7 个解决方案

#1


1、名称没有限制

2、打开此数据库的Search Scope Configuration表单,设定搜索方式,保存。可以设置多个配置。
   实现结果是,对指定的数据库(可以是多个)进行全文检索,并在一个界面返回所有结果,不同数据库对应不同链接。
   缺点是,结果界面不好看,效果不直接,需要自己再次调整
   且,对于指定的数据库,需要做些相应的设置

可去ibm的网站看看

#2


B/S下用:http://127.0.0.1/srchsite.nsf/$$Search?openform 来访问查询界面(假设你创建了一个
srchsite.nsf库)
搜索似乎缺省只对 iNotes Web Access Help 库做搜索,对搜索范围的设定我还没有用过,你发的帖子才让我详细的去了解了一下这个 SearchSite,呵呵。

我估计可以在客户端对得到信息做一些处理,比如:界面上的处理。

#3


#4


白老鼻,您有详细的使用文档么,我在web下,在Domino控制台上提示我新做的这个搜索库没有全文索引,看不到搜索结果

#5


想知道这些search到底准确率有多高啊?

#6


这是从ibm论坛找的,我主要是根据这个弄的,再查查帮助
graydom(龟) ,除非对应的数据库索引坏了,基本没有故障


Hi everyone,
I'm using the advanced search form in the Searchsite db.
Initially, the results I got back simply displayed the name of the database as a url link (which was obviously unacceptable).
So I put a "$$SearchTemplate for Viewname" form in the Searchsite database. Now when I run a web query, I'm returned the Searchtemplate form containing an embedded view.
The problem is that the view displays (no matter what the search criteria) all the docs in the Searchsite.nsf (because I specified no ViewSelection formula) so the question becomes:

How can I get this embedded view to display the results of my Searchsite web query?

Any ideas?







1. Make sure the searchsite database and all databases included in the search scope do not contain any ACL entries lower than "Reader" (i.e. no "Depositor" and no "No Access")

2. Ensure that all databases included in the search scope:
a) have a default view whose name does not contain any spaces (e.g. "Default View" is not good, "DefaultView" is good)
b) have "include in multi-database indexing" checked in the properties box
c) have "Show in Open Database dialog" checked in the properties box.

3. Ensure that the form displaying any documents being searched (all documents within the databases included in the search scope):
a) Contains a field named "Subject". This can be a hidden/computed field.
b) Does not contain any "Readers" fields.

4. If you want to customize the form in which the results are displayed:
a) add a form to the search site databse named "$$SearchSiteTemplate".
b) Add a field to this form named "$$ViewBody".
c) Sprinkle in whatever graphics, js, etc. you want in the "$$SearchSiteTemplate" form.


After ensuring all the above:
a) Remove any (full text) indexes in the searchsite database and any databases included in the search scope.
b) run "dbcache flush" then "load updall -b" from the server console
c) Recreate (full text) indexes for any databases included in the search scope
d) repeat step b) above
e) Wait a few minutes
f) Recreate the (full text) index for the search site database
g) repeat step b) above

This worked for me, hope this helps someone else,

#7


mark

#1


1、名称没有限制

2、打开此数据库的Search Scope Configuration表单,设定搜索方式,保存。可以设置多个配置。
   实现结果是,对指定的数据库(可以是多个)进行全文检索,并在一个界面返回所有结果,不同数据库对应不同链接。
   缺点是,结果界面不好看,效果不直接,需要自己再次调整
   且,对于指定的数据库,需要做些相应的设置

可去ibm的网站看看

#2


B/S下用:http://127.0.0.1/srchsite.nsf/$$Search?openform 来访问查询界面(假设你创建了一个
srchsite.nsf库)
搜索似乎缺省只对 iNotes Web Access Help 库做搜索,对搜索范围的设定我还没有用过,你发的帖子才让我详细的去了解了一下这个 SearchSite,呵呵。

我估计可以在客户端对得到信息做一些处理,比如:界面上的处理。

#3


#4


白老鼻,您有详细的使用文档么,我在web下,在Domino控制台上提示我新做的这个搜索库没有全文索引,看不到搜索结果

#5


想知道这些search到底准确率有多高啊?

#6


这是从ibm论坛找的,我主要是根据这个弄的,再查查帮助
graydom(龟) ,除非对应的数据库索引坏了,基本没有故障


Hi everyone,
I'm using the advanced search form in the Searchsite db.
Initially, the results I got back simply displayed the name of the database as a url link (which was obviously unacceptable).
So I put a "$$SearchTemplate for Viewname" form in the Searchsite database. Now when I run a web query, I'm returned the Searchtemplate form containing an embedded view.
The problem is that the view displays (no matter what the search criteria) all the docs in the Searchsite.nsf (because I specified no ViewSelection formula) so the question becomes:

How can I get this embedded view to display the results of my Searchsite web query?

Any ideas?







1. Make sure the searchsite database and all databases included in the search scope do not contain any ACL entries lower than "Reader" (i.e. no "Depositor" and no "No Access")

2. Ensure that all databases included in the search scope:
a) have a default view whose name does not contain any spaces (e.g. "Default View" is not good, "DefaultView" is good)
b) have "include in multi-database indexing" checked in the properties box
c) have "Show in Open Database dialog" checked in the properties box.

3. Ensure that the form displaying any documents being searched (all documents within the databases included in the search scope):
a) Contains a field named "Subject". This can be a hidden/computed field.
b) Does not contain any "Readers" fields.

4. If you want to customize the form in which the results are displayed:
a) add a form to the search site databse named "$$SearchSiteTemplate".
b) Add a field to this form named "$$ViewBody".
c) Sprinkle in whatever graphics, js, etc. you want in the "$$SearchSiteTemplate" form.


After ensuring all the above:
a) Remove any (full text) indexes in the searchsite database and any databases included in the search scope.
b) run "dbcache flush" then "load updall -b" from the server console
c) Recreate (full text) indexes for any databases included in the search scope
d) repeat step b) above
e) Wait a few minutes
f) Recreate the (full text) index for the search site database
g) repeat step b) above

This worked for me, hope this helps someone else,

#7


mark