Discussion:
there is the way to set automatic incremental analysis?
(too old to reply)
robix73
2006-11-10 07:35:42 UTC
Permalink
Hello to all
there is the way to force or to set the index server to do a
incremental analysis for example each day at 7.00 am or for example
each two hours ? I should use a batch file but how?

Regard
Gerlando roberto
Hilary Cotter
2006-11-10 23:57:03 UTC
Permalink
do it using vbscript.


Set ObjISAdm = CreateObject("Microsoft.ISAdm")

ObjISAdm.MachineName="MyServer"

if Not ObjISAdm.IsRunning then

wscript.echo "starting Indexing Service"

ObjISAdm.Start 'stopping Index Server so you can add a catalog

End if

Set ObjCatAdm = ObjISAdm.GetCatalogByName("Web")

Set objScopeAdm = ObjCatAdm.GetScopeByPath("c:\inetpub\wwwroot\testexclude")

ObjScopeAdm.Rescan("FALSE")

set ObjScopeAdm=nothing

set ObjCatAdm=nothing

- Show quoted text -





On 11/10/06, ***@libero.it <***@libero.it> wrote:
Mr Hilary, I do not use sql server (and I don't know hot to use it)
I just build a catalog and query it via web witha .idq and .htx files

then i think i cannot use the catadmin right?
Gerlando
You connect to your catalog using catadmin, and then connect to your
scope
for the directory and then run scopeadm.Rescan
ok but where Sould i write objScopeAdm.Rescan(FALSE) ?
Gerlando
Thats it!
Rescan method - ScopeAdm.Rescan
Platform SDK: Indexing Service
ScopeAdm.Rescan
The Rescan method initiates the scanning process.
Syntax
objScopeAdm.Rescan(blnFull)
objScopeAdm
Required. The scope object.
blnFull
Required. VARIANT_BOOL. If TRUE, this is a full scan of the scope.
If
FALSE, this is an incremental scan of the scope.
Remarks
This method assumes that Indexing Service is already running. It
initiates
the scanning process and returns control to the caller.
Example
' Initiate an incremental scan on this scope
objScopeAdm.Rescan(FALSE)
This is interesting; Should I paste '
Initiate an incremental scan on this scope
objScopeAdm.Rescan(FALSE) '
in some batch file? i do not thin so :-(
Gerlando
yes there is but you have to do it programatically, have a look
at
catadmin.
Hilary
Hello Mr. Hilary
I do not use any antivirus software because we have closed lan
(not on
the
net) and floppy disks, usb ports and cdrom reader are locked,
no
external
documents is allowed in the lan; i mean I'm not scared about
viruses
because
we use our documents)
the problem seems to disappear if I in the management console,
I
right
click on the documents' folder and I ask ' do a new
incremental
analysis
now.
If this is the solution, is there a way to ask and incremental
analysis
via a regkey or a batch file?
I'd like to do an incremental analysis at 7.00 am 12.00 am and
18.00pm
Regards
Gerlando Roberto Gerone
By chance are you running any antivirus software on this
machine?
Hi Mr. Hilary
thank you for spending time for me.
I found the problem
when in the management console I query the catalog for
word
(for
example
my name, Gerlando) I get 8 results; they are pdf files. If
I
open
it
and I
read it and I keep it open for some minutes, time for
reading
the
news, when
I close the file and I query the catalog again with the
same
query
(Gerlando), I get 7 results! The file that I opened and I
read
insn't
in the
result list!
I told myself ' let's wait a while, let the indexing
service
undertsand
that the document is closed and is avalaible again for
further
indexing and
search .. ' I wait 6 hours and nothing changed.
It seems that when I open a document found in the query
result,
the
indexing service forget about it for ever;the indexing
service
is
fine
tuned, I set it to 'index istantly' ad high query use
Pdf filter is correctly istalled (I got the results)
Permissions on files are ok.
I would ask to the indexing service ' excuse me sir, it
seems
that
yoy
get
mad when I open a document that you indexed .. '
If think I cannot manage this problem, this drive me
crazy, I
mean
that I
cannot stop indexing service, delete the catalog 8and the
files in
catalog.wci folder) and rebuild it again each time a user
make
a
query
and
open a pdf file from the query result.
It happens only for pdf file; i check the control panel of
the
catalog;
when I open the pdf file in the ' file to be indexed
column '
there is
the
number one, when i close the pdf file the number become 0.
It
seems ok
but
the used pdf file (opened and closed) will be no more
available
for
other
query.
Thank you.
Regards
Gerlando Gerone
Marsala Sicilia Italia
Hi Gerlando
Your English is very good. Much better than my Italian.
Ideally one catalog should be ok. Is it possible that
the
catalog
hasn't
completed building yet?
My mistake on CSSO, I meant CI or indexing services
event
log
messages.
A catalog should be able to index over 1 million
documents
but
it
depends on
the document size. If there are a large number of large
documents
your
catalog should be smaller and you should have several
ones.
If you can partition your data in such a way that makes
sense
for
your
queries multiple catalogs make sense. For example if you
were a
newspaper
and you wanted to restrict your searches by date, you
could
have
a
catalog
for 2006, 2005, and 2004. Then you could direct searches
to
all
catalogs
where there is no date restriction, or a single catalog
where
there
is.
HTH
Hilary
Hi Mr Hilary,
Thank you for your suggestions.
I made now 2 catalogs
the first with 200.000 files, about 100 Gb and the
catalog
size
is
2300
Mb
the second with 300.000 files, about 110 Gb and the
catalog
size
is
about
2000 Mb
Before when I Had one catalog, its size was 3200 mb;
it
seems
that
now
more data is indexed;
anyway, in the second catalog, when I was building it
and
it
was
at
about
200.000 files and 70 gb of data, for a specific search
I
had 7
rersults,
now that is 300.000 file and 110 Gb for the same
search i
get
only
3
results
:-((
In the event application log CI service messages say
that
all
is
ok,
there
aren't error messages.
What's the CISSO? Where Could I see it?
Do you think I should spilt the two catalogs in four
catalogs?
Can we immagine that the max size for a directory to
be
indexed is
for
example 50.000 file with 10 gb of data?
And finally, If I build 10 differents catalog there
comes
another
problems... all the 220 gb of the 500.000 documents
are
about
the
same
subject in the same web; now i have two catalogs and
in
the
web
there
are
two different search pages; for examples search page 1
news
form
newspaper
between year 2000 and 2003 (is the first catalog) and
search
page
2
news
from newspapers between year 2004 and 2006; if i build
10
differents
catalogs, should i create 10 differents search pages?
There is
a
way
tfrom a
single search module to query differents catalog?
Thank you for reading this mail filled with a lots of
english
errors.
Sorry about that. Tnx in advance.
Regards
Gerlando Roberto
Marsala Sicily Italy
Hi Gerlando
Sounds like you are running into corruption issues,
or
perhaps
your
catalog
is too big. I would try two catalogs and see what
happens.
Do
you
have
any
messages in the event log from CISSO or Indexing
Services?
Hilary
Hello Mr. Hilary
sorry if I disturb you
I tried to surf the web, google groups and I often
read
that
you
give
interesting answers on indexing service based on
microsoft
windows.
I'm running a windows 2003 server with sp1
istalled,
Ifilter
correctly
istalled for pdf files.
I have a catalog with 220gb of documents, like
.doc,
.pdf
and
.txt,
they
are about 500.000 and the catalog size in about
2400
Mb
All work fine but if I put more and more documents
and
the
catalog
size
reach about 3200 Mb it seems that the indexing
service
forget
some
documents, usually the older one.
Is it possible that about 520.000 documents are
too
much
for a
single
catalog?
or maybe Is it possible that the catalog cannot be
bigger
than
about
3gb?
Have you got the solution? Should I to build 2
differents
catalogs
instead
only 1? Should I change some registry entry?
Tnx in advance for any suggestion, and sorry If i
disturb
you
and
sorry
again for my poor english, I'm italian.
Regards
Gerlando Roberto
Palermo Sicily Italy
------------------------------------------------------
Scopri il nuovo MOTOROLA K1, il cellulare con
superficie
frontale
a
specchio. Se sarai fortunato potrai anche vincerne
uno!
Clicca
e
vinci
!
http://click.libero.it/motorola8nov
--
Hilary Cotter
Director of Text Mining and Database Strategy
RelevantNOISE.Com - Dedicated to mining blogs for
business
intelligence.
Looking for a book on SQL Server replication?
http://www.nwsu.com/0974973602.html
------------------------------------------------------
Nuovo MOTOROLA MOTOKRZR K1. Superficie a specchio,
fotocamera
da 2
Megapixel e lettore MP3 integrato.Clicca e vinci !
http://click.libero.it/motorola9nov
--
Hilary Cotter
Director of Text Mining and Database Strategy
RelevantNOISE.Com - Dedicated to mining blogs for
business
intelligence.
Looking for a book on SQL Server replication?
http://www.nwsu.com/0974973602.html
--
Hilary Cotter
Director of Text Mining and Database Strategy
RelevantNOISE.Com - Dedicated to mining blogs for business
intelligence.
Looking for a book on SQL Server replication?
http://www.nwsu.com/0974973602.html
--
Hilary Cotter
Director of Text Mining and Database Strategy
RelevantNOISE.Com - Dedicated to mining blogs for business
intelligence.
Looking for a book on SQL Server replication?
http://www.nwsu.com/0974973602.html
--
Hilary Cotter
Director of Text Mining and Database Strategy
RelevantNOISE.Com - Dedicated to mining blogs for business
intelligence.
Looking for a book on SQL Server replication?
http://www.nwsu.com/0974973602.html
--
Hilary Cotter
Director of Text Mining and Database Strategy
RelevantNOISE.Com - Dedicated to mining blogs for business intelligence.
Looking for a book on SQL Server replication?
http://www.nwsu.com/0974973602.html
--
Hilary Cotter
Director of Text Mining and Database Strategy
RelevantNOISE.Com - Dedicated to mining blogs for business intelligence.

This posting is my own and doesn't necessarily represent RelevantNoise's
positions, strategies or opinions.

Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html

Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
Hello to all
there is the way to force or to set the index server to do a
incremental analysis for example each day at 7.00 am or for example
each two hours ? I should use a batch file but how?
Regard
Gerlando roberto
Loading...