namazu-users-en
[Top] [All Lists]

Re: [Namazu-users-en] Namazu issue: Zero search results when re-searching from results page

2019-01-24 09:11:27
On 2019/01/24 13:40, Andrew Janke wrote:
   Results:

References: [ (can't open the index) ]

No document matching your query.

It sees it like a set mistake of the index.


OK case)

http://lists.gnu.org/archive/html/octave-maintainers/

-------------
<!--x-search-form-->
<form method="get" action="/archive/cgi-bin/namazu.cgi">
<p><strong>Search String:</strong>
<input type="text" name="query" size="40">
<input type="submit" name="submit" value="Search!">
<input type="hidden" name="idxname" value="octave-maintainers">
<a href="/archive/cgi-bin/namazu.cgi?idxname=octave-maintainers">[How to
search]</a><br>
-------------

octave-maintainers is set to the idxname parameter.


NG case)

http://lists.gnu.org/archive/cgi-bin/namazu.cgi?query=test&submit=Search%21&max=20&result=normal&sort=score

-------------
<form method="get" action="/archive/cgi-bin/namazu.cgi">
<p>
<strong>Query:</strong>
<input type="text" name="query" size="40" value="test">
<input type="submit" name="submit" value="Search!">
<!-- <input type="hidden" name="idxname" value="foobar"> -->
<a href="/archive/cgi-bin/namazu.cgi">[How to search]</a>
-------------

idxname is a unsetting.
Therefore, the "can't open the index" error.



By the way, does /archive/cgi-bin/namazu.cgi have two or more indices?
or, is the index only one?
If the index is only "octave-maintainers", it is possible to correct
it easily.

1) .namazurc of the same directory as namazu.cgi is opened with
the text editor.
   The value of Index is set to the full path of "octave-maintainers".
2) From HTML
   <input type="hidden" name="idxname" value="octave-maintainers">
   is deleted.

In a word, the index file is set only by the Index parameter
of .namazurc.

However, with two or more indices, this method cannot be used.
In that case, Another of contents of .namazurc and composition
information etc. on the site are necessary.
-- 
=====================================================================
TADAMASA TERANISHI  yw3t-trns(_at_)asahi-net(_dot_)or(_dot_)jp
http://www.asahi-net.or.jp/~yw3t-trns/index.htm
Key fingerprint =  474E 4D93 8E97 11F6 662D  8A42 17F5 52F4 10E7 D14E
_______________________________________________
Namazu-users-en mailing list
Namazu-users-en(_at_)namazu(_dot_)org
http://www.namazu.org/cgi-bin/mailman/listinfo/namazu-users-en