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

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

2019-01-24 12:23:45


On 1/24/19 10:11 AM, Tadamasa Teranishi wrote:
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.


Thank you! That makes sense. I'll report this configuration problem to the lists.gnu.org maintainers.

I believe that the page only needs to use a single index file.

Cheers,
Andrew
_______________________________________________
Namazu-users-en mailing list
Namazu-users-en(_at_)namazu(_dot_)org
http://www.namazu.org/cgi-bin/mailman/listinfo/namazu-users-en

<Prev in Thread] Current Thread [Next in Thread>