- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Name: Fox
Subject: Re: Оптимальная среда

Теперь поиск по категориям, раньшн следующая конфирурация работала, сейчас 
результат 0. В логах видно следующее:

---
search.cgi started with '/home/indexer/dpsearch/etc/search.htm'
VarDir: '/home/indexer/dpsearch/var'
Affixes: 0, Spells: 0, Synonyms: 0, Acronyms: 0, Stopwords: 336
Chinese dictionary with 0 entries
Korean dictionary with 0 entries
Thai dictionary with 0 entries
Start DpsFind
.spell lang: en
Prepare query: for, ltxt:for
Segment lang:
                     wrd {3}: for
DpsFind for pgsql://[EMAIL PROTECTED]/search/?dbmode=cache
DpsGetWords for pgsql://[EMAIL PROTECTED]/search/?dbmode=cache
250ab200 00000000 - 252452ff 81bf0fff
 num: 0
             lims.0.size:1
[tree/wrd] ARetrieved rec_id: 6b5323b5 Size: 3959->10816
max_order: 0  max_order_inquery: 0
Start Clones
Stop  Clones: 0.00
Start Order, Last-Modified and Excerpts
Stop  Order, Last-Modified and Excerpts: 0.00
Start DpsTrack
Stop  DpsTrack: 0.00
Done  DpsFind 0.002
---

cat indexer.conf 
...
Category AA
Server site http://site1.com/
Category BB
Server site http://site2.com/

Limit c:category
Limit site:siteid

-----------------
cat search.htm
...
Limit c:category
Limit site:siteid
...
-----------------
./indexer -THW -b

./indexer -TWv5

  Internal file handle debugger
DpsOpenCache:
i:0  cached_sd:0  sin_port:0
wrd_buf: b540e010
Done.
indexer from dpsearch-4.51-01092008-pqsql, config test OK with 
'/home/indexer/dpsearch/etc/indexer.conf'
Writing url data
Writing url data and limits for 
pgsql://[EMAIL PROTECTED]/search/?dbmode=cache...
Creating category index
MakeNested Index lim_cat, 0 records, Item:0
Category Limit: 0 records processed at 0 (total:0)
-MakeNested Index lim_cat [rc:0], 0 records, Item:9d27d0
Done
Creating Site_id index
81475 records processed at 0
1688390042 - pos:0 len:34552
-681628185 - pos:86f8 len:23760
Done
59352 records of url data written, at 0
url data and limits Done
Flushing cached buffers for pgsql://[EMAIL PROTECTED]/search/?dbmode=cache...
Flushing all buffers...
Done
FD leaks checking
--

Иногда выскакивает "Segmentation fault", тогда удаляю /tmp/dps_agent.0.trace.

- - - - - - - - - - - - - - - - - - - - - - - - - - - -

Read the full topic here:
http://www.dataparksearch.org/cgi-bin/simpleforum.cgi?fid=05;topic_id=1220183285

Ответить