- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Name: Antony
Subject: mod_dpsearch
во первых не хотел конфигурироватся...
apsx для апача2 называется apsx2 и еще в configure там
где компилится тест модуля не подключаются
окружения для apr...
после того как оправил, стало конфигурится
но при компиляции выдало много гадости...
--------------
if /bin/sh ../libtool --mode=compile --tag=CC gcc -DHAVE_CONFIG_H -I. -I.
-I../include -I./../include -I/usr/include/mysql -DAPACHE2
-I/usr/include/apache2 -g -O2 -DDPS_CONF_DIR=\"/opt/dpsearch//etc\"
-DDPS_VAR_DIR=\"/opt/dpsearch//var\" -DDPS_SHARE_DIR=\"/opt/dpsearch//share\"
-MT libdpsearch_mod_la-indexer.lo -MD -MP -MF
".deps/libdpsearch_mod_la-indexer.Tpo" -c -o libdpsearch_mod_la-indexer.lo `test
-f 'indexer.c' || echo './'`indexer.c; \
then mv -f ".deps/libdpsearch_mod_la-indexer.Tpo"
".deps/libdpsearch_mod_la-indexer.Plo"; else rm -f
".deps/libdpsearch_mod_la-indexer.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I./../include -I/usr/include/mysql
-DAPACHE2 -I/usr/include/apache2 -g -O2 -DDPS_CONF_DIR=\"/opt/dpsearch//etc\"
-DDPS_VAR_DIR=\"/opt/dpsearch//var\" -DDPS_SHARE_DIR=\"/opt/dpsearch//share\"
-MT libdpsearch_mod_la-indexer.lo -MD -MP -MF
.deps/libdpsearch_mod_la-indexer.Tpo -c indexer.c -fPIC -DPIC -o
.libs/libdpsearch_mod_la-indexer.o
In file included from /usr/include/apache2/httpd.h:43,
from ../include/dps_config.h:11,
from ../include/dps_common.h:22,
from indexer.c:19:
/usr/include/apache2/ap_config.h:25:17: error: apr.h: No such file or directory
/usr/include/apache2/ap_config.h:26:23: error: apr_hooks.h: No such file or
directory
/usr/include/apache2/ap_config.h:27:32: error: apr_optional_hooks.h: No such
file or directory
In file included from /usr/include/apache2/httpd.h:46,
from ../include/dps_config.h:11,
from ../include/dps_common.h:22,
from indexer.c:19:
/usr/include/apache2/ap_release.h:25:41: error: apr_general.h: No such file or
directory
In file included from ../include/dps_config.h:11,
from ../include/dps_common.h:22,
from indexer.c:19:
/usr/include/apache2/httpd.h:50:24: error: apr_tables.h: No such file or
directory
/usr/include/apache2/httpd.h:51:23: error: apr_pools.h: No such file or
directory
/usr/include/apache2/httpd.h:52:22: error: apr_time.h: No such file or directory
/usr/include/apache2/httpd.h:53:28: error: apr_network_io.h: No such file or
directory
/usr/include/apache2/httpd.h:54:25: error: apr_buckets.h: No such file or
directory
/usr/include/apache2/httpd.h:55:22: error: apr_poll.h: No such file or directory
In file included from /usr/include/apache2/httpd.h:59,
from ../include/dps_config.h:11,
from ../include/dps_common.h:22,
from indexer.c:19:
/usr/include/apache2/ap_regex.h:87: error: expected specifier-qualifier-list
before 'apr_size_t'
/usr/include/apache2/ap_regex.h:118: error: expected declaration specifiers or
'...' before 'apr_size_t'
/usr/include/apache2/ap_regex.h:127: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'ap_regerror'
In file included from ../include/dps_config.h:11,
from ../include/dps_common.h:22,
from indexer.c:19:
/usr/include/apache2/httpd.h:433: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:601: error: expected specifier-qualifier-list
before 'apr_int64_t'
/usr/include/apache2/httpd.h:723:21: error: apr_uri.h: No such file or directory
/usr/include/apache2/httpd.h:730: error: expected specifier-qualifier-list
before 'apr_pool_t'
/usr/include/apache2/httpd.h:746: error: expected specifier-qualifier-list
before 'apr_pool_t'
/usr/include/apache2/httpd.h:1008: error: expected specifier-qualifier-list
before 'apr_pool_t'
/usr/include/apache2/httpd.h:1085: error: expected specifier-qualifier-list
before 'APR_RING_ENTRY'
/usr/include/apache2/httpd.h:1118: error: expected specifier-qualifier-list
before 'apr_sockaddr_t'
/usr/include/apache2/httpd.h:1146: error: expected specifier-qualifier-list
before 'apr_port_t'
/usr/include/apache2/httpd.h:1202: error: expected specifier-qualifier-list
before 'apr_bucket_brigade'
/usr/include/apache2/httpd.h:1210: error: expected specifier-qualifier-list
before 'apr_bucket_brigade'
/usr/include/apache2/httpd.h:1216: error: expected specifier-qualifier-list
before 'apr_socket_t'
/usr/include/apache2/httpd.h:1232: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1242: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1255: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1265: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1274: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1284: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1294: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1306: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1314: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1323: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1334: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1357: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1367: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1379: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1388: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1397: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1439: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1449: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1460: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1468: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1477: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'ap_escape_errorlog_item'
/usr/include/apache2/httpd.h:1488: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1497: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1526: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1540: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1550: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1602: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1610: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1624: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1632: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1645: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1685: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1697: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1707: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1715: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1726: error: expected ')' before '*' token
In file included from ../include/dps_config.h:12,
from ../include/dps_common.h:22,
from indexer.c:19:
/usr/include/apache2/http_config.h:279: error: expected specifier-qualifier-list
before 'apr_int64_t'
/usr/include/apache2/http_config.h:357: error: expected ')' before '*' token
/usr/include/apache2/http_config.h:365: error: expected ';' before 'void'
/usr/include/apache2/http_config.h:557: error: expected ')' before '*' token
/usr/include/apache2/http_config.h:566: error: expected declaration specifiers
or '...' before 'apr_pool_t'
/usr/include/apache2/http_config.h:582: error: expected declaration specifiers
or '...' before 'apr_pool_t'
/usr/include/apache2/http_config.h:607: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'ap_pcfg_openfile'
/usr/include/apache2/http_config.h:619: error: expected ')' before '*' token
/usr/include/apache2/http_config.h:669: error: expected ')' before '*' token
/usr/include/apache2/http_config.h:685: error: expected declaration specifiers
or '...' before 'apr_pool_t'
/usr/include/apache2/http_config.h:686: error: expected declaration specifiers
or '...' before 'apr_pool_t'
/usr/include/apache2/http_config.h:975: error: expected ')' before 'int'
In file included from ../include/dps_config.h:13,
from ../include/dps_common.h:22,
from indexer.c:19:
/usr/include/apache2/http_core.h:30:22: error: apr_hash.h: No such file or
directory
/usr/include/apache2/http_core.h:31:26: error: apr_optional.h: No such file or
directory
In file included from /usr/include/apache2/http_core.h:32,
from ../include/dps_config.h:13,
from ../include/dps_common.h:22,
from indexer.c:19:
/usr/include/apache2/util_filter.h:72: warning: data definition has no type or
storage class
/usr/include/apache2/util_filter.h:136: error: expected declaration specifiers
or '...' before '*' token
/usr/include/apache2/util_filter.h:137: error: expected declaration specifiers
or '...' before 'apr_bucket_brigade'
/usr/include/apache2/util_filter.h:137: error: 'apr_status_t' declared as
function returning a function
/usr/include/apache2/util_filter.h:139: error: expected declaration specifiers
or '...' before 'apr_bucket_brigade'
/usr/include/apache2/util_filter.h:140: error: expected declaration specifiers
or '...' before 'ap_input_mode_t'
/usr/include/apache2/util_filter.h:141: error: expected declaration specifiers
or '...' before 'apr_read_type_e'
/usr/include/apache2/util_filter.h:142: error: expected declaration specifiers
or '...' before 'apr_off_t'
/usr/include/apache2/util_filter.h:142: error: 'ap_in_filter_func' declared as
function returning a function
/usr/include/apache2/util_filter.h:146: error: expected specifier-qualifier-list
before 'ap_out_filter_func'
/usr/include/apache2/util_filter.h:296: error: expected declaration specifiers
or '...' before 'apr_bucket_brigade'
/usr/include/apache2/util_filter.h:297: error: expected declaration specifiers
or '...' before 'ap_input_mode_t'
/usr/include/apache2/util_filter.h:298: error: expected declaration specifiers
or '...' before 'apr_read_type_e'
/usr/include/apache2/util_filter.h:299: error: expected declaration specifiers
or '...' before 'apr_off_t'
/usr/include/apache2/util_filter.h:299: error: 'ap_get_brigade' declared as
function returning a function
/usr/include/apache2/util_filter.h:310: error: expected declaration specifiers
or '...' before 'apr_bucket_brigade'
/usr/include/apache2/util_filter.h:310: error: 'ap_pass_brigade' declared as
function returning a function
/usr/include/apache2/util_filter.h:348: error: expected declaration specifiers
or '...' before 'ap_out_filter_func'
/usr/include/apache2/util_filter.h:374: error: expected declaration specifiers
or '...' before 'ap_out_filter_func'
/usr/include/apache2/util_filter.h:492: error: expected declaration specifiers
or '...' before 'apr_bucket_brigade'
/usr/include/apache2/util_filter.h:493: error: expected declaration specifiers
or '...' before 'apr_bucket_brigade'
/usr/include/apache2/util_filter.h:493: error: expected declaration specifiers
or '...' before 'apr_pool_t'
/usr/include/apache2/util_filter.h:493: error: 'ap_save_brigade' declared as
function returning a function
/usr/include/apache2/util_filter.h:503: error: expected ')' before '*' token
/usr/include/apache2/util_filter.h:511: error: expected declaration specifiers
or '...' before 'apr_bucket_brigade'
/usr/include/apache2/util_filter.h:511: error: 'ap_fflush' declared as function
returning a function
/usr/include/apache2/util_filter.h:548: error: expected declaration specifiers
or '...' before 'apr_bucket_brigade'
/usr/include/apache2/util_filter.h:549: error: 'ap_fputstrs' declared as
function returning a function
/usr/include/apache2/util_filter.h:559: error: expected declaration specifiers
or '...' before 'apr_bucket_brigade'
/usr/include/apache2/util_filter.h:562: error: 'ap_fprintf' declared as function
returning a function
/usr/include/apache2/util_filter.h:562: error: format string argument not a
string type
In file included from ../include/dps_config.h:13,
from ../include/dps_common.h:22,
from indexer.c:19:
/usr/include/apache2/http_core.h:208: error: expected ')' before '*' token
/usr/include/apache2/http_core.h:222: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'ap_get_server_port'
/usr/include/apache2/http_core.h:229: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'ap_get_limit_req_body'
/usr/include/apache2/http_core.h:278: error: expected specifier-qualifier-list
before 'apr_int64_t'
/usr/include/apache2/http_core.h:314: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '*' token
/usr/include/apache2/http_core.h:633: error: expected specifier-qualifier-list
before 'apr_hash_t'
/usr/include/apache2/http_core.h:662: error: expected ')' before 'int'
/usr/include/apache2/http_core.h:680: error: expected declaration specifiers or
'...' before 'ap_ident_lookup'
/usr/include/apache2/http_core.h:681: error: expected declaration specifiers or
'...' before '(' token
/usr/include/apache2/http_core.h:681: warning: data definition has no type or
storage class
In file included from ../include/dps_config.h:14,
from ../include/dps_common.h:22,
from indexer.c:19:
/usr/include/apache2/http_log.h:33:29: error: apr_thread_proc.h: No such file or
directory
In file included from ../include/dps_config.h:14,
from ../include/dps_common.h:22,
from indexer.c:19:
/usr/include/apache2/http_log.h:102: error: expected ')' before '*' token
/usr/include/apache2/http_log.h:109: error: expected ')' before '*' token
/usr/include/apache2/http_log.h:121: error: expected ')' before '*' token
/usr/include/apache2/http_log.h:196: error: expected declaration specifiers or
'...' before 'apr_pool_t'
/usr/include/apache2/http_log.h:198: error: format string argument not a string
type
/usr/include/apache2/http_log.h:261: error: expected ')' before '*' token
/usr/include/apache2/http_log.h:269: error: expected ')' before '*' token
/usr/include/apache2/http_log.h:282: error: expected specifier-qualifier-list
before 'apr_pool_t'
/usr/include/apache2/http_log.h:301: error: expected ')' before '*' token
/usr/include/apache2/http_log.h:335: error: expected ')' before 'void'
In file included from ../include/dps_config.h:15,
from ../include/dps_common.h:22,
from indexer.c:19:
/usr/include/apache2/http_main.h:49: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '*' token
/usr/include/apache2/http_main.h:52: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '*' token
/usr/include/apache2/http_main.h:55: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '*' token
/usr/include/apache2/http_main.h:64: error: expected declaration specifiers or
'...' before 'ap_signal_server'
/usr/include/apache2/http_main.h:64: error: expected declaration specifiers or
'...' before '(' token
/usr/include/apache2/http_main.h:64: warning: data definition has no type or
storage class
/usr/include/apache2/http_main.h:64: error: conflicting types for
'APR_DECLARE_OPTIONAL_FN'
/usr/include/apache2/http_core.h:681: error: previous declaration of
'APR_DECLARE_OPTIONAL_FN' was here
In file included from ../include/dps_config.h:16,
from ../include/dps_common.h:22,
from indexer.c:19:
/usr/include/apache2/http_protocol.h:31:26: error: apr_portable.h: No such file
or directory
/usr/include/apache2/http_protocol.h:32:22: error: apr_mmap.h: No such file or
directory
In file included from ../include/dps_config.h:16,
from ../include/dps_common.h:22,
from indexer.c:19:
/usr/include/apache2/http_protocol.h:45: error: expected ')' before 'void'
/usr/include/apache2/http_protocol.h:77: error: expected declaration specifiers
or '...' before 'apr_bucket_brigade'
/usr/include/apache2/http_protocol.h:111: error: expected declaration specifiers
or '...' before 'apr_off_t'
/usr/include/apache2/http_protocol.h:127: error: expected '=', ',', ';', 'asm'
or '__attribute__' before 'ap_rationalize_mtime'
/usr/include/apache2/http_protocol.h:203: error: expected ')' before '*' token
/usr/include/apache2/http_protocol.h:228: error: expected ')' before '*' token
/usr/include/apache2/http_protocol.h:235: error: expected ')' before '*' token
/usr/include/apache2/http_protocol.h:253: error: expected ')' before '*' token
/usr/include/apache2/http_protocol.h:356: error: expected declaration specifiers
or '...' before 'va_list'
/usr/include/apache2/http_protocol.h:426: error: expected declaration specifiers
or '...' before 'apr_size_t'
/usr/include/apache2/http_protocol.h:534: error: expected declaration specifiers
or '...' before 'apr_size_t'
/usr/include/apache2/http_protocol.h:535: error: expected declaration specifiers
or '...' before 'apr_size_t'
/usr/include/apache2/http_protocol.h:537: error: expected declaration specifiers
or '...' before 'apr_bucket_brigade'
/usr/include/apache2/http_protocol.h:537: error: 'ap_rgetline_core' declared as
function returning a function
/usr/include/apache2/http_protocol.h:554: error: expected ')' before '*' token
/usr/include/apache2/http_protocol.h:569: error: expected ')' before 'int'
/usr/include/apache2/http_protocol.h:608: error: expected
specifier-qualifier-list before 'apr_bucket_refcount'
/usr/include/apache2/http_protocol.h:616: error: expected '=', ',', ';', 'asm'
or '__attribute__' before 'ap_bucket_type_error'
/usr/include/apache2/http_protocol.h:633: error: expected '=', ',', ';', 'asm'
or '__attribute__' before '*' token
/usr/include/apache2/http_protocol.h:644: error: expected '=', ',', ';', 'asm'
or '__attribute__' before '*' token
/usr/include/apache2/http_protocol.h:648: error: expected declaration specifiers
or '...' before 'apr_bucket_brigade'
/usr/include/apache2/http_protocol.h:648: error: 'ap_byterange_filter' declared
as function returning a function
/usr/include/apache2/http_protocol.h:649: error: expected declaration specifiers
or '...' before 'apr_bucket_brigade'
/usr/include/apache2/http_protocol.h:649: error: 'ap_http_header_filter'
declared as function returning a function
/usr/include/apache2/http_protocol.h:651: error: expected declaration specifiers
or '...' before 'apr_bucket_brigade'
/usr/include/apache2/http_protocol.h:651: error: 'ap_content_length_filter'
declared as function returning a function
/usr/include/apache2/http_protocol.h:652: error: expected declaration specifiers
or '...' before 'apr_bucket_brigade'
/usr/include/apache2/http_protocol.h:652: error: 'ap_old_write_filter' declared
as function returning a function
In file included from ../include/dps_config.h:18,
from ../include/dps_common.h:22,
from indexer.c:19:
/usr/include/apache2/http_request.h:105: error: expected ';', ',' or ')' before
'*' token
/usr/include/apache2/http_request.h:131: error: expected declaration specifiers
or '...' before 'apr_bucket_brigade'
/usr/include/apache2/http_request.h:131: error: 'ap_sub_req_output_filter'
declared as function returning a function
/usr/include/apache2/http_request.h:198: error: expected declaration specifiers
or '...' before 'apr_time_t'
/usr/include/apache2/http_request.h:261: error: expected ')' before 'int'
In file included from ../include/dps_config.h:20,
from ../include/dps_common.h:22,
from indexer.c:19:
/usr/include/apache2/util_script.h:51: error: expected ')' before '*' token
/usr/include/apache2/util_script.h:90: error: expected declaration specifiers or
'...' before 'apr_file_t'
/usr/include/apache2/util_script.h:104: error: expected declaration specifiers
or '...' before 'apr_bucket_brigade'
In file included from ../include/dps_config.h:22,
from ../include/dps_common.h:22,
from indexer.c:19:
/usr/include/apache2/http_connection.h:94: error: expected ')' before 'conn_rec'
/usr/include/apache2/http_connection.h:135: error: expected '=', ',', ';', 'asm'
or '__attribute__' before '*' token
/usr/include/apache2/http_connection.h:143: error: expected '=', ',', ';', 'asm'
or '__attribute__' before '*' token
indexer.c: In function 'DpsStoreFilterFind':
indexer.c:155: warning: passing argument 2 of 'DpsMatchListFind' from
incompatible pointer type
make[2]: *** [libdpsearch_mod_la-indexer.lo] Ошибка 1
make[2]: Leaving directory `/usr/src/dpsearch-4.47/src'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Leaving directory `/usr/src/dpsearch-4.47/src'
make: *** [all-recursive] Ошибка 1
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Read the full topic here:
http://www.dataparksearch.org/cgi-bin/simpleforum.cgi?fid=04;post=
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Name: Antony
Subject: Re: Странный вывод результатов поиска
такое наблюдается когда завершаеш indexer, т.е.
Ctrl+C, если давать ему всегда доработать до
конца такого не будет...
с такими результатами теперь только
вручную удалять...
т.е. пробегатся по всем таблицам по словам и
смотреть есть ли url с id который в "словах"...
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Read the full topic here:
http://www.dataparksearch.org/cgi-bin/simpleforum.cgi?fid=05;topic_id=1184322459
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Name: Maxime
Subject: Re: php
Напрямую - нет, но при помощи команды include вы
можете вставлять результат выполнения
отдельного запроса к http-серверу:
<!INCLUDE Content="http://www.server.ext/path/to/file.php">
Но некоторые пользователи поступаю
наоборот: пишут собственный шаблон,
выводящий результаты в удобном формате
(например, xml) и вызывают search.cgi из php-скрипта
разбирая вывод и преобразуя результаты в
нужное представление самим php-скриптом.
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Read the full topic here:
http://www.dataparksearch.org/cgi-bin/simpleforum.cgi?fid=05;topic_id=1184694595
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Name: ruler
Subject: Формат таблицы urlinfo
В документации приведена расшифровка
таблиц, касающихся сервера, т.е. srvinfo и server.
Есть ли такого рода информация по
соответствующим таблицам для урлов?
Смежный вопрос. В этих таблицах указывается
язык по умолчанию. Но, как я понимаю, с
помощью системы автоматического
распознавания языка и кодировки
определяется язык каждой страницы. Куда и
как записывается информация об этом?
Выставляется ли определенный язык сервера
или это делается для каждой страницы?
Большое спасибо.
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Read the full topic here:
http://www.dataparksearch.org/cgi-bin/simpleforum.cgi?fid=05;post=
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Name: ruler
Subject: Операции в шаблоне
Поддерживает ли шаблон операторы типа:
$url:50 - ограничить длину урла в 50 символов,
арифметические операции типа $(a*b), $(a/b) и т.д.
Это может пригодиться например для
пересчета размера странички в килобайты и
т.д.
Если такие возможности существуют, то где
можно почитать о них подробнее?
Заранее благодарен.
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Read the full topic here:
http://www.dataparksearch.org/cgi-bin/simpleforum.cgi?fid=05;post=
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Name: Maxime
Subject: Re: Как проанализировать страницу?
Нет, сечер читает из базы только слова из
запроса пользователя.
Подобное можно реализовать только выбрав
один из способов хранения single или multi, и вам
придется самостоятельно проводить этот
анализ, выбирая данные из таблиц
поисковика.
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Read the full topic here:
http://www.dataparksearch.org/cgi-bin/simpleforum.cgi?fid=05;topic_id=1184476998
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Name: Maxime
Subject: Re: Странный вывод результатов поиска
Если не выключалась запись urlinfo в SQL, то
может помочь команда
indexer -Edocinfo
но её нужно выполнять на машине, где
находится база cached.
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Read the full topic here:
http://www.dataparksearch.org/cgi-bin/simpleforum.cgi?fid=05;topic_id=1184322459
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Name: ruler
Subject: Как проанализировать страницу?
Стоит задача проанализировать содержимое
странички (сайта). Для этого нужно выбрать
из базы все слова которые к ней относятся,
потом исключить стопслова и затем провести
количественный анализ. Поэтому нужно
получить не только слова, но их количество
и расположение, причем желательно
учитывать словоформы, а может быть даже и
синонимы. Скажите, это возможно сделать
средствами сёчера?
Заранее благодарен.
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Read the full topic here:
http://www.dataparksearch.org/cgi-bin/simpleforum.cgi?fid=05;post=
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Name: Maxime
Subject: Re: cgi errors...
Have you php's include files installed on PC where you're trying to build
dataparksearch ?
On some linuxes it requires to install so-called php dev package along with php
itself to get those includes.
If you already have those headers, please send me cache.log file from root of
DataparkSearch sources (where configure has been executed) to my email:
maxime[at]maxime dot net dot ru
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Read the full topic here:
http://www.dataparksearch.org/cgi-bin/simpleforum.cgi?fid=02;topic_id=1182685844
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Name: Maxime
Subject: Re: Странный вывод результатов поиска
Были ли у вас аварийные завершения cached или
indexer (если cached не используется) ?
Если да, возможно была утеряна чатсь логов
на удаление, попробуйте в этом случае
выполнить коррекцию базы cached при помощи
команды "indexer -TZZ".
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Read the full topic here:
http://www.dataparksearch.org/cgi-bin/simpleforum.cgi?fid=05;topic_id=1184322459
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Name: ruler
Subject: Странный вывод результатов поиска
При поиске выдается такая страница:
--------------------
Tips for Successful Pay-Per-Click Campaigns - Obeus.com...
Tips for Successful Pay-Per-Click Campaigns - Obeus.com - The Democratic Ads
Home Catalogue What ... ... We Allow Account Funding With e-Bullion May 28th,
2007 Pecunix As an Additional Payment Option May 26th, 2007 New Service — CPM
Banner Advertising May 13th, 2007 ...
http://obeus.com/article/tips-for-successful-pay-per-click-campaigns · 18846
bytes
Cached | More from this site
· bytes
| More from this site
-----------------
Т.е. второй результат какой-то, мягко говоря,
пустой. :(
Подскажите в чем может быть дело.
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Read the full topic here:
http://www.dataparksearch.org/cgi-bin/simpleforum.cgi?fid=05;post=
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Name: jamie
Subject: Re: cgi errors...
Hi Maxime,
Thanks for the pointer. Unfortunately, I can't seem to get the php.c module to
compile. I tried the --enable-php-module switch with the configure tool but that
didn't seem to install it or compile it, and if it did, i have no clue as to
where it put it.
Any clues as to how to get this extension compiled and installed would be
greatly appreciated.
Cheers,
Jamie Johnstone
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Read the full topic here:
http://www.dataparksearch.org/cgi-bin/simpleforum.cgi?fid=02;topic_id=1182685844
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Name: Maxime
Subject: Re: Crawler Name
By default, DataparkSearch looks for "DatataparkSearch" and "*" in User-Agent
fields of robots.txt
You can change "DataparkSearch" to any other value by HTTPHeader command as
mentioned above, and DataparkSearch will look User-Agent fields for this value
defined.
Please note: HTTPHeader affects only on Server/Realm commands defined after it
in indexer.conf, so you need to specify HTTPHeader command before any
Server/Realm command in your config. You may also specify different User-Agent
per Server/Realm, in this case indexer will look for these different User-Agents
according you configuration (one User-Agent for a one Server/Realm, other - for
an other Server/Realm).
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Read the full topic here:
http://www.dataparksearch.org/cgi-bin/simpleforum.cgi?fid=02;topic_id=1184177399
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Name: jamie
Subject: Re: Crawler Name
Hi Vitaly,
I understand that changning the HTTPHeader in indexer.conf changes what
User-Agent the spider sends out with HTTP Requests, but does it also change what
User-Agent it will respond to in a robots.txt file?
For example, if I put:
User-agent: *
Disallow: /
User-agent: MyBot/1.3
Allow: /
in a robots.txt file, is that going to allow Datapark after setting the
HTTPHeader to "User-Agent: MyBot/1.3" or will it not know that it is referred to
as "MyBot/1.3" ?
Cheers,
Jamie
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Read the full topic here:
http://www.dataparksearch.org/cgi-bin/simpleforum.cgi?fid=02;topic_id=1184177399
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Name: Maxime
Subject: Re: Confused about TagIf
Since version 4.47 it also works for cache mode. You need to specify 'Tag'
and/or 'Category' section in your sections.conf file, then Tags and Categories
will store in urlinfo table when indexing and they will look here when
searching.
(Please note, you need to include sections.conf in your cached.conf file too, if
you're using cached).
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Read the full topic here:
http://www.dataparksearch.org/cgi-bin/simpleforum.cgi?fid=02;topic_id=1182880685
DataparkSearch 4.47 has been released.
http://www.dataparksearch.org/dpsearch-4.47.tar.gz
Changes since version 4.46 are:
* Tags and categories are now storing in urlinfo table and they can
be set per document basis.
* Navigation through result pages has been fixed for search results
caching.
* Support for crosswords has been implemented for cache dbmode.
* A possible trap has been fixed for the indexing via NNTP.
* Automatic phrase search has been implemented for compound words
having dots, commas, dashes, underscores and slashes (.,-_/\) as
delimiters between word parts.
* Reconnection to MySQL has been improved in case of unexpected
connection lost.
* The full method of relevance calculation has been modified.
* Conditional operators can now be used in variables section of
template.
* Storing documents in /stored/ database has been fixed for
non-default value of *StoredFiles*.
* Word forms consruction has been improved for words not found in
ispell dictionatries.
/* mod_dpsearch/ is now supply BrowserCharset in server reply headers.
* -f switch has been added for /cached/, /search/ and /stored/, use
to run them foreground (don't demonize).
* Several bugs were fixed.
--
http://sochi.org.ru/
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Name: Yury
Subject: Re: search results page in XML format..
One more question,
How would I make the results in one single page. Currently, I have only first 10
results produced.
I was using modified RSS template that came with the dpsearch package. to get to
the next 10 results, I need to add "&np=2" to the URL string. But is there a way
to output results in one page?
Thanks
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Read the full topic here:
http://www.dataparksearch.org/cgi-bin/simpleforum.cgi?fid=02;topic_id=1181751229