473,796 Members | 2,560 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

NET SEARCH EXTENDER

Bear with me. I am being very calm; took a Valium. I have waited two
weeks to write this, because every time I wrote it before the message
was, at best, nasty.

I need to use the services of NET SEARCH EXTENDER. This is the first
time in over five years of IBM (DB2) developing that I need this.

I don't know how to do it. (Db2 v8.1.2, Windows) I see that I must
deal with indexes, with cache, with other stuff.

The information files tell me worse than nothing -- they are
misleading. I tried through the wizard in control panel. That always
ends with "SQL syntax error" -- strange, since I didn't write the SQL!

I tried through the command window. I set the variable DB2DBDFT with
the -g switch, with the -i switch, with the -all switch and I entered
via Control Panel. Every time I try to execute a command, the error
message is "Varaible DB2DBDFT is not set." I rebooted, reset,
rebooted ... same error.

I have searched every where I know, in my installed help files and on
the web. The typical search on NET SEARCH EXTENDER returns about 60
files: one of them praises the virtues of the subject, 30 are on the
subject of XML extender, and the rest are irrelevent.

What I need is step-by-step instructions on how to create the proper
index on a column, how to create a cache of the column, and how to do
a search using those indices.

There is no place which I can find that gives me that information,
although there are dozens which tell me how wonderful is this product.

OK -- this is a long message, but I hope that my extreme anger does
not come through, that I have not insulted anyone, and that someone
can help me.

Stan
Nov 12 '05 #1
16 7040
You have my sympathy. We never got any of the text search technologies to
work correctly. When the database got large we got spurious hits or internal
errors. Word stemming failed horribly (German, but we got a partial fix for
plural recognition). We even had somebody from the IBM Böbligen labs
on-site. We opened PMRs, some got fixed, most "permanent restrictions" or
similar. After over a year of messing around, we finally did the job using
Oracle.

The documentation (318 pages) is on line at
http://publibfp.boulder.ibm.com/epubs/pdf/h1267402.pdf.

"Stanley Sinclair" <st************ *@bellsouth.net > wrote in message
news:6f******** *************** ***@posting.goo gle.com...
Bear with me. I am being very calm; took a Valium. I have waited two
weeks to write this, because every time I wrote it before the message
was, at best, nasty.

I need to use the services of NET SEARCH EXTENDER. This is the first
time in over five years of IBM (DB2) developing that I need this.

I don't know how to do it. (Db2 v8.1.2, Windows) I see that I must
deal with indexes, with cache, with other stuff.

The information files tell me worse than nothing -- they are
misleading. I tried through the wizard in control panel. That always
ends with "SQL syntax error" -- strange, since I didn't write the SQL!

I tried through the command window. I set the variable DB2DBDFT with
the -g switch, with the -i switch, with the -all switch and I entered
via Control Panel. Every time I try to execute a command, the error
message is "Varaible DB2DBDFT is not set." I rebooted, reset,
rebooted ... same error.

I have searched every where I know, in my installed help files and on
the web. The typical search on NET SEARCH EXTENDER returns about 60
files: one of them praises the virtues of the subject, 30 are on the
subject of XML extender, and the rest are irrelevent.

What I need is step-by-step instructions on how to create the proper
index on a column, how to create a cache of the column, and how to do
a search using those indices.

There is no place which I can find that gives me that information,
although there are dozens which tell me how wonderful is this product.

OK -- this is a long message, but I hope that my extreme anger does
not come through, that I have not insulted anyone, and that someone
can help me.

Stan

Nov 12 '05 #2
Hi Stan,

I'd like to point you to the documentation:

Net Search Extender v8.1:
http://publibfp.boulder.ibm.com/epubs/pdf/h1267401.pdf

'Chapter 3. User scenarios' gives you two simple examples how to use Net
Search Extender.

In addition please look at the sample in .../sqllib/samples/db2ext
To create text indexes etc. run:
nsesample <databasename >
To perform full text search:
connect to the database and then run:
db2 -tvf search

As for your problem with DB2DBDFT:
try to add following clause to your commands instead of using DB2DBDFT:
' ... connect to <databasename >'
For example:
db2text "CREATE INDEX db2ext.myTextIn dex FOR TEXT ON books (story)
CONNECT TO sample"

When you are using the control center and the action fails with "SQL
syntax error", could you klick on 'Show SQL' to see which command is
generated?

I hope this helps. Please let me know if you have additional questions.

Regards,
Sabine
Stanley Sinclair wrote:
Bear with me. I am being very calm; took a Valium. I have waited two
weeks to write this, because every time I wrote it before the message
was, at best, nasty.

I need to use the services of NET SEARCH EXTENDER. This is the first
time in over five years of IBM (DB2) developing that I need this.

I don't know how to do it. (Db2 v8.1.2, Windows) I see that I must
deal with indexes, with cache, with other stuff.

The information files tell me worse than nothing -- they are
misleading. I tried through the wizard in control panel. That always
ends with "SQL syntax error" -- strange, since I didn't write the SQL!

I tried through the command window. I set the variable DB2DBDFT with
the -g switch, with the -i switch, with the -all switch and I entered
via Control Panel. Every time I try to execute a command, the error
message is "Varaible DB2DBDFT is not set." I rebooted, reset,
rebooted ... same error.

I have searched every where I know, in my installed help files and on
the web. The typical search on NET SEARCH EXTENDER returns about 60
files: one of them praises the virtues of the subject, 30 are on the
subject of XML extender, and the rest are irrelevent.

What I need is step-by-step instructions on how to create the proper
index on a column, how to create a cache of the column, and how to do
a search using those indices.

There is no place which I can find that gives me that information,
although there are dozens which tell me how wonderful is this product.

OK -- this is a long message, but I hope that my extreme anger does
not come through, that I have not insulted anyone, and that someone
can help me.

Stan


Nov 12 '05 #3
The best way to start with Net Search Extender after installation is
to run the supplied samples. The samples are installed in the DB2
installation directory .../sqllib/samples/db2ext on Unix or
....\sqllib\sam ples\db2ext on Windows.
There are two samples. The administration sample creates a database,
two tables db2ext.texttab and db2ext.htmltab within the database and
loads some data.
The db2ext.htmltab table is used to demonstrate structured search on
HTML documents. The database is enabled for Net search Extender.
The next step creates Net Search Extender indexes on selected text
columns.
The following command runs the administration sample :
nsesample your_database_n ame
On Windows switch to a DB2 command window with "db2cmd" first.
A second sample can be used to run a set of Net Search Extender
searches on the created indexes.
The following command runs the search sample :
db2 -tvf search
It is recommended to run the latest Fix Pack level. Currently Fix Pack
2 is the latest level which requires DB2 V8.1 Fix Pack 2. Use db2level
to find out the latest DB2 level and db2text level to check the Net
Search Extender level.
For Net Search Extender information see :
http://gwareview.software.ibm.com/so...rch/index.html
Via Support and Download you get to the Fix Pack 2 download site.
Nov 12 '05 #4
I assume you're actually answering Stanley and not me (our problems were all
reported to, and were reproduced by, IBM support).

"Jürgen Metter" <me*@de.ibm.com > wrote in message
news:f0******** *************** ***@posting.goo gle.com...
The best way to start with Net Search Extender after installation is
to run the supplied samples. The samples are installed in the DB2
installation directory .../sqllib/samples/db2ext on Unix or
...\sqllib\samp les\db2ext on Windows.
There are two samples. The administration sample creates a database,
two tables db2ext.texttab and db2ext.htmltab within the database and
loads some data.
The db2ext.htmltab table is used to demonstrate structured search on
HTML documents. The database is enabled for Net search Extender.
The next step creates Net Search Extender indexes on selected text
columns.
The following command runs the administration sample :
nsesample your_database_n ame
On Windows switch to a DB2 command window with "db2cmd" first.
A second sample can be used to run a set of Net Search Extender
searches on the created indexes.
The following command runs the search sample :
db2 -tvf search
It is recommended to run the latest Fix Pack level. Currently Fix Pack
2 is the latest level which requires DB2 V8.1 Fix Pack 2. Use db2level
to find out the latest DB2 level and db2text level to check the Net
Search Extender level.
For Net Search Extender information see :
http://gwareview.software.ibm.com/so...rch/index.html Via Support and Download you get to the Fix Pack 2 download site.

Nov 12 '05 #5
I thank everyone who has tried to help.

When I try anything suggested in this forum, or anything in the
instructions in the official documentation, I get a series of errors
which results in failure.

It really does not matter which of the many routes I take, every one
of them ends in failure.

Here is one example of perhaps eight I could quote:

I try to create a text index. First error message:
- No db2text start command was issued.
I do that and get the error message:
- db2text-db2 service is not started.
I try to start that and get the error message:
- db2text service does not exist.

Up to that point I have done everything in the documentation and the
user's manual exactly as instructed.

I have spent very many hours on this with no results to show ...

Stan
Nov 12 '05 #6
Please see what I wrote to Sabine.

SS
Nov 12 '05 #7
Hi Stan,

it looks like during installation of NSE v8fp2 the service was not
registered correctly.

You can do either one of the follwing:
Register the service manually for your existing instance:
ctereg <instancename > register <username> <password>
Create a new db2 instance and the NSE service will be registered
automatically:
db2icrt <instancename > -u <username>

Please make sure that the DB2 instance services run under a user account
and not under the systems account.
You can check that in the 'services' window. In the 'Log On As' column
there must be the username.

Kind regards,
Sabine
Stanley Sinclair wrote:
I thank everyone who has tried to help.

When I try anything suggested in this forum, or anything in the
instructions in the official documentation, I get a series of errors
which results in failure.

It really does not matter which of the many routes I take, every one
of them ends in failure.

Here is one example of perhaps eight I could quote:

I try to create a text index. First error message:
- No db2text start command was issued.
I do that and get the error message:
- db2text-db2 service is not started.
I try to start that and get the error message:
- db2text service does not exist.

Up to that point I have done everything in the documentation and the
user's manual exactly as instructed.

I have spent very many hours on this with no results to show ...

Stan


Nov 12 '05 #8
<<It is recommended to run the latest Fix Pack level. Currently Fix
Pack 2 is the latest level which requires DB2 V8.1 Fix Pack 2. Use
db2level to find out the latest DB2 level and db2text level to check
the Net Search Extender level.>>

**Where can I find a list of ALL db2 commands and ALL db2text
commands?**

They do not follow any convention, are not intuitive, and need very
special syntax. Eg, Every other program uses "ver" for version. This
uses "level."

(I am, in fact using the latest versions of everything.)

<<For Net Search Extender information see :
http://gwareview.softw are.ibm.com/software/data/db2/extenders/netsearch/index.html>>

That link is dead.

Stan
Nov 12 '05 #9
So far, every wizard in Control Panel using db2text has failed with
multiple syntax errors. It also does not allow editing of the SQL
text or even to copying it. Eg, The wizard ends everyting with a ;,
and the Command Window rejects anything which ends in a ;.

Some things which were in parentheses must not be; some things should,
or should not, be in "" "" marks or ' ' marks.

Again, it was a disaster in terms of wasting my time.

When I tried to set DB2DBDFT (?) it would be set, but when I ran
something using it, the message up to this time, is "DB2DBDFT not
set."

After creating a new instance, per your suggestions, error messages
concerning instances appeared after anything. (I always rebooted.) I
could not get back to the instance in which my main databases exist,
threatening the end of my carrer. The command db2set did nothing for
DB2INSTANCE.

Complete disaster.

I must quote Mark at the beginning of this thread:

"We never got any of the text search technologies to work correctly...
After over a year of messing around, we finally did the job using
Oracle."

Sadly, that's where I'm going.

Thanks for all your help.

Stan
Nov 12 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2107
by: Stanley Sinclair | last post by:
I have a table in V8.1.2 (Windows) which contains about 17,000 constant rows. One column contains a string of about 20 English words. I need to find all rows which contain three words specified by their first letters. For example, if I am looking for rows containing Jon (or Jonathan) and Will (or William) and Terry (or Terri or Terrance), the SQL would be: SELECT col1 FROM MYTAB WHERE col2 LIKE '%Jon%' AND col2 LIKE '%Will%' AND...
2
2138
by: Lan W via DBMonster.com | last post by:
Hi, I try to install Db2 Net Search Extender on my Db2 workgroup server edition on windows machine. When I verify the installation from command window as typed >nsesampla.bat sample, I received the following error: DB2text.exe - Entry point not found. The procedure entry point sqlogmblk could not be located in the dynamic link library DB2SYS.dll. Does anyone have idea onhow to fix it? Thanks very much!
0
1227
by: Ralf Gross | last post by:
Hi, I'm looking for the Net Search Extender version for linux. We have a company license for db2 and I got a white box with about 100 CDs in it. I think it's the 'development edition' (IBM DB2 Universal DEV. ED. 8.1 Media Pack Deutsch). I successfully installed 8.1 with FP 10. In the box I found the Net Search Extender disc for Windows and Unix operation systems, but nothing for linux.
8
3476
by: ignatova | last post by:
Hello, I have been using IBM Net Search Extender to perform full text searches on text columns in relational tables in DB2 without any problems until now. However it doesn't seam to function properly for text indexes created on attributes of typed tables. Here are the issued commands: //create UDT db2 CREATE TYPE CompMetadata_T AS (dummy Integer,Text CLOB(100K),
1
351
by: 2803stan | last post by:
I hear that DB2 V9.1 has dropped, or will soon drop Net Search Extender. I have occasion to require quick search for a particular word of several columns of data, and very many rows. What is there to replace this indexing feature? SS
0
1334
by: pike | last post by:
Hi Can anyone confirm whether DB2 9 Net Search Extender is compatible with DB2 v8.2? If it isn't, can someone provide me with a link to the trial software download page for a version of DB2 Net Search Extender that is compatible? Thank you.
1
1723
by: ting ting | last post by:
I am using ASP.net 2.0 and I want to search a list of about 2,000 items in a list. I used a listsearch extender to search item fastly. However, it is still a bit not smooth enough to search. So I want to use a textbox for the users to type and check the listbox value by Javascript. However, it is very slow also. Can anybody help on searching and auto complete the search item more quickly??
0
866
by: bhagawansharma | last post by:
hi friends i want to use a text box for the user to type letters and query the database to get some results and populate in a list box. Is it possible to do that. like .. using lest search extender control of ajax but i am not able to integrate textbox with lest search extender in .net .how to do that any body can suggest me. thank & regard bhagawan sharma .
2
2817
by: =?Utf-8?B?UGF1bA==?= | last post by:
Hi I am using a list search extender and have the control it is assigned to as a control in a template column in a gridview. Anyhow for some reason the type to search section that normally appears right above the control is not appearing right above the control. Although always lined up vertically it randomly appears in different locations outside the gridview on the web page. Any suggestions, thanks -- Paul G Software engineer.
0
9530
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10459
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10236
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
7552
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6793
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5445
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5577
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4120
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2928
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.