Perlfect Solutions
 

[Perlfect-search] Indexer and search hit on page NOT containing search phrase

Giorgos Zervas giorgos@perlfect.com
Sun, 27 Aug 2000 23:19:57 +0000
Hi there,

As far as 1) goes I think you are using SDBM. I suggest you use DB_File
instead.

For 2) I really cannot say much... Perhaps all this moving and renaming
of files confused the script. Did you move and rename ALL the files the
second time you indexed?

At the moment all I can tell you is: install DB_File!

giorgos.

PS: Could you tell us which OS you are using?

> "C. Engelhart" wrote:
> 
> I have a couple (2) Questions regarding the Perlfect Search tool.  So
> here goes.
> 
> 1.  After installing the new Perlfect search and running indexer.pl,
> nothing was picked up on my perlfect search.  So, I read this list
> servers entries and found that I needed to rename all of the _TMP
> named files(e.g.  inv_index_tmp.dir, inv_index_tmp.pag, docs_tmp.pag,
> etc. )   in the data area to the same name but without the _TMP within
> the name.  Well, as soon as I did that, things worked great........but
> after changing the site and running indexer.pl again, I realized that
> the indexer recreated the _TMP files in addition to the files I
> renamed (the file names without the _TMP) above.  Since Perlfect never
> found any of my NEW pages, I figured that the indexer ONLY places new
> index entries within the _TMP files.  So, I did the rename stuff all
> over again and Perlfect picked up the new entries........My
> Question.....IS THERE AN EASIER WAY??????
> 
> 
> Here is what is NOW out in my data directory....
> 
> -rwxr-xr-x   1 cartere  vfr         4096 Aug 23 22:56 desc.dir
> -rwxr-xr-x   1 cartere  vfr         4096 Aug 24 20:29 desc.pag
> -rwxr-xr-x   1 cartere  vfr         4096 Aug 24 20:38 desc_tmp.dir
> -rwxr-xr-x   1 cartere  vfr         4096 Aug 24 20:38 desc_tmp.pag
> -rwxr-xr-x   1 cartere  vfr         4096 Aug 23 21:58 df.dir
> -rwxr-xr-x   1 cartere  vfr         2048 Aug 24 20:38 df.pag
> -rwxr-xr-x   1 cartere  vfr            0 Aug 23 22:56 docs.dir
> -rwxr-xr-x   1 cartere  vfr         1024 Aug 24 20:29 docs.pag
> -rwxr-xr-x   1 cartere  vfr            0 Aug 24 20:38 docs_tmp.dir
> -rwxr-xr-x   1 cartere  vfr         1024 Aug 24 20:38 docs_tmp.pag
> -rwxr-xr-x   1 cartere  vfr         4096 Aug 24 20:29 inv_index.dir
> -rwxr-xr-x   1 cartere  vfr       133120 Aug 24 20:29 inv_index.pag
> -rwxr-xr-x   1 cartere  vfr         4096 Aug 24 20:38
> inv_index_tmp.dir
> -rwxr-xr-x   1 cartere  vfr         6144 Aug 24 20:38
> inv_index_tmp.pag
> -rwxr-xr-x   1 cartere  vfr         4096 Aug 23 22:56 terms.dir
> -rwxr-xr-x   1 cartere  vfr         3072 Aug 24 20:27 terms.pag
> -rwxr-xr-x   1 cartere  vfr         4096 Aug 24 20:38 terms_tmp.dir
> -rwxr-xr-x   1 cartere  vfr         3072 Aug 24 20:38 terms_tmp.pag
> -rwxr-xr-x   1 cartere  vfr         4096 Aug 24 20:38 tf.dir
> -rwxr-xr-x   1 cartere  vfr        67584 Aug 24 20:38 tf.pag
> -rwxr-xr-x   1 cartere  vfr            0 Aug 23 22:56 titles.dir
> -rwxr-xr-x   1 cartere  vfr         1024 Aug 24 20:29 titles.pag
> -rwxr-xr-x   1 cartere  vfr            0 Aug 24 20:38 titles_tmp.dir
> -rwxr-xr-x   1 cartere  vfr         1024 Aug 24 20:38
> titles_tmp.pag
> 
> 
> 2.  I made a change to one HTML page for a test.  I entered AMAZON on
> this page and only this test HTML page.  The phrase did not exist
> anywhere else in my site and Perlfect picked up a page on which I
> don't find the phrase.....ANY Ideas?
> 
> Thanks

-- 
Perlfect Solutions
http://perlfect.com