Hello htdig,
     I cant get any search results from htsearch, please can you help.

Im running Ubuntu 6.0.6 LTS and have installed the htdig package 
(3.1.6-11.1ubuntu1) from "universe".

My config file /etc/htdig/htdig/conf is....

database_dir:           /root/htdig_quatsch_test/db/quatsch
start_url:              http://quatsch.no-ip.com/
limit_urls_to:          quatsch.no-ip.com
exclude_urls:           /cgi-bin/ .cgi
bad_extensions:         .wav .gz .z .bz2 .sit .au .zip .tar .hqx .exe .com \
    .gif .jpg .jpeg .aiff .class .map .ram .tgz .bin .rpm .mpg .mov .avi 
.css
maintainer:             [EMAIL PROTECTED]
max_head_length:        10000
max_doc_size:           200000
no_excerpt_show_top:    true
search_algorithm:       exact:1 endings:0.1

next_page_text:         <img src="/htdig/buttonr.gif" border="0" 
align="middle"
width="30" height="30" alt="next">
no_next_page_text:
prev_page_text:         <img src="/htdig/buttonl.gif" border="0" 
align="middle"
width="30" height="30" alt="prev">
no_prev_page_text:
page_number_text:       '<img src="/htdig/button1.gif" border="0" 
align="middle"
  width="30" height="30" alt="1">' \
                         '<img src="/htdig/button2.gif" border="0" 
align="middle"
  width="30" height="30" alt="2">' \
                         '<img src="/htdig/button3.gif" border="0" 
align="middle"
  width="30" height="30" alt="3">' \
                         '<img src="/htdig/button4.gif" border="0" 
align="middle"
  width="30" height="30" alt="4">' \
                         '<img src="/htdig/button5.gif" border="0" 
align="middle"
  width="30" height="30" alt="5">' \
                         '<img src="/htdig/button6.gif" border="0" 
align="middle"
  width="30" height="30" alt="6">' \
                         '<img src="/htdig/button7.gif" border="0" 
align="middle"
  width="30" height="30" alt="7">' \
                         '<img src="/htdig/button8.gif" border="0" 
align="middle"
  width="30" height="30" alt="8">' \
                         '<img src="/htdig/button9.gif" border="0" 
align="middle"
  width="30" height="30" alt="9">' \
                         '<img src="/htdig/button10.gif" border="0" 
align="middle
" width="30" height="30" alt="10">'
no_page_number_text:    '<img src="/htdig/button1.gif" border="2" 
align="middle"
  width="30" height="30" alt="1">' \
                         '<img src="/htdig/button2.gif" border="2" 
align="middle"
  width="30" height="30" alt="2">' \
                         '<img src="/htdig/button3.gif" border="2" 
align="middle"
  width="30" height="30" alt="3">' \
                         '<img src="/htdig/button4.gif" border="2" 
align="middle"
  width="30" height="30" alt="4">' \
                         '<img src="/htdig/button5.gif" border="2" 
align="middle"
  width="30" height="30" alt="5">' \
                         '<img src="/htdig/button6.gif" border="2" 
align="middle"
  width="30" height="30" alt="6">' \
                         '<img src="/htdig/button7.gif" border="2" 
align="middle"
  width="30" height="30" alt="7">' \
                         '<img src="/htdig/button8.gif" border="2" 
align="middle"
  width="30" height="30" alt="8">' \
                         '<img src="/htdig/button9.gif" border="2" 
align="middle"
  width="30" height="30" alt="9">' \
                         '<img src="/htdig/button10.gif" border="2" 
align="middle
" width="30" height="30" alt="10">'

synonym_db:             /usr/lib/htdig/synonyms.db
endings_root2word_db:   /usr/lib/htdig/root2word.db
endings_word2root_db:   /usr/lib/htdig/word2root.db
image_url_prefix:       /htdig


rundig works, it looks like it indexes the site, I can see that it 
creates databases

~# ls /root/htdig_quatsch_test/db/quatsch/db
/root/htdig_quatsch_test/db/quatsch/db.docdb
/root/htdig_quatsch_test/db/quatsch/db.docdb.work
/root/htdig_quatsch_test/db/quatsch/db.docs.index
/root/htdig_quatsch_test/db/quatsch/db.wordlist
/root/htdig_quatsch_test/db/quatsch/db.wordlist.work
/root/htdig_quatsch_test/db/quatsch/db.words.db


But when I run /usr/lib/cgi-bin/htsearch and search for the word 
"public" or any word I get no results...


~# /usr/lib/cgi-bin/htsearch
Enter value for words: public
Content-type: text/html

Enter value for format:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>No match for '(public or publicness or publics or 
publicly)'</title></head>
<body bgcolor="#eef7ff">
<h1><img src="/htdig/htdig.gif" alt="ht://Dig">
Search results</h1>
<hr noshade size="4">
<h2>No matches were found for '(public or publicness or publics or 
publicly)'</h2>
<p>
Check the spelling of the search word(s) you used.
If the spelling is correct and you only used one word,
try using one or more similar search words with "<strong>Any</strong>."
</p><p>
If the spelling is correct and you used more than one
word with "<strong>Any</strong>," try using one or more similar search
words with "<strong>Any</strong>."</p><p>
If the spelling is correct and you used more than one
word with "<strong>All</strong>," try using one or more of the same words
with "<strong>Any</strong>."</p>
<hr noshade size="4">
<form method="get" action="">
<font size="-1">
<input type="hidden" name="config" value="">
<input type="hidden" name="restrict" value="">
<input type="hidden" name="exclude" value="">
Match: <select name="method">
<option value="and" selected>All
<option value="or">Any
<option value="boolean">Boolean
</select>

Format: <select name="format">
<option value="builtin-long">Long
<option value="builtin-short">Short
</select>

Sort by: <select name="sort">
<option value="score" selected>Score
<option value="time">Time
<option value="title">Title
<option value="revscore">Reverse Score
<option value="revtime">Reverse Time
<option value="revtitle">Reverse Title
</select>

<br>
Refine search:
<input type="text" size="30" name="words" value="public">
<input type="submit" value="Search">
</font>
</form>
<hr noshade size="4">
<a href="http://www.htdig.org/";>
<img src="/htdig/htdig.gif" border="0" alt="">ht://Dig 3.1.6</a>
</body></html>



Im not sure what to try next, Any help would be greatly appreciated.
Many Thanks,
Steven Carr.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
ht://Dig general mailing list: <htdig-general@lists.sourceforge.net>
ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-general

Reply via email to