Kevin Noall wrote:

I have an internal search query that has multiple values. My entry in the .cfg file is..

INTSEARCHENGINE /netpub/server.np value, quickfind

First, you don't want a space between the "value," and "quickfind". But perhaps that was a typographic error.


My problem is that my most common query has 2 ‘value’ entries in it. It will show…

‘…Match&value=No&defaultjoin=and&field=Keywords&op=starts%20with&value=Paul’

Analog does not read the 2^nd ‘value’ field and only matches the ‘No’ which isn’t really useful in my scenario

Well, if there are two "value" keys in the query variables to a URL, then sematically they should have the same intention. According the the CGI specification (http://hoohoo.ncsa.uiuc.edu/cgi/overview.html) you should not depend on the order of the arguments. Therefore, I would interprest that query above to search for the words "No" AND "Paul".

Now I don't know if Analog handles multiple instances of the query term, although your empirical analysis implies otherwise.

My recommendation (if possible) is to change your search form and search engine to use a different name for the first field that returns a "value" name so that it's not confused with the one that contains the query term.


-- Jeremy Wadsack Seven Simple Machines

+------------------------------------------------------------------------
|  TO UNSUBSCRIBE from this list:
|    http://lists.meer.net/mailman/listinfo/analog-help
|
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
+------------------------------------------------------------------------

Reply via email to