A couple of issues, one relatively minor and one more serious.
I'm using search.cgi version 4.2 (1013) PRO, I have 'Default to "match all search words"' set on, the Basic search form selected, and 'Provide spelling suggestions when less than 2 results found' checked. I'm not using categories. (The full configuration file is below.)
From a page on my site, I search for a typo. (That is, not from the modified search template.) I get no matching results and the suggestion: "Did you mean xxxx or yyyy?" I click on xxxx and get the results I expected. Great! However:
Problem 1:
I'm now on the search template page. If I view source I find the hidden form field zoom_and has changed from 1 to 0. This is unexpected behavior. It means that if I now do a multi-word search from the search template page I get an implicit OR rather than the implicit AND I expected.
Problem 2:
From the search template page I search for aaaa bbbb, and get the following summary: "9 results found containing all search terms. 40 results found containing some search terms. 5 pages of results." This is inconsistent, and when I check page 5, I find there are actually 49 search results.
Nick
Configuration file, omitting the strings at the bottom:
UseUTF8 = 0
Charset = "iso-8859-1"
MapAccents = 0
MinWordLen = 2
Highlighting = 1
GotoHighlight = 0
TemplateFilename = "search_template.html"
FormFormat = 1
Logging = 1
LogFileName = "../search_logs/searchwords.log"
MaxKeyWordLineLen = 256
MaxDictIDLen = 2
NumKeywords = 4953
NumPages = 423
DictReservedLimit = 32
DictReservedPrefixes = 21
DictReservedSuffixes = 12
DictReservedNoSpaces = 27
WordSplit = 1
ZoomInfo = 0
Timing = 0
DefaultToAnd = 1
SearchAsSubstring = 0
ToLowerSearchWords = 1
ContextSize = 30
MaxContextKeywords = 3
AllowExactPhrase = 1
MaxContextSeeks = 500
UseLinkTarget = 0
UseDateTime = 0
WordJoinChars = ".-_'"
Spelling = 1
SpellingWhenLessThan = 2
NumSpellings = 1623
UseCats = 0
DisplayNumber = 1
DisplayTitle = 1
DisplayMetaDesc = 1
DisplayContext = 1
DisplayTerms = 0
DisplayScore = 0
DisplayURL = 1
DisplayDate = 0
I'm using search.cgi version 4.2 (1013) PRO, I have 'Default to "match all search words"' set on, the Basic search form selected, and 'Provide spelling suggestions when less than 2 results found' checked. I'm not using categories. (The full configuration file is below.)
From a page on my site, I search for a typo. (That is, not from the modified search template.) I get no matching results and the suggestion: "Did you mean xxxx or yyyy?" I click on xxxx and get the results I expected. Great! However:
Problem 1:
I'm now on the search template page. If I view source I find the hidden form field zoom_and has changed from 1 to 0. This is unexpected behavior. It means that if I now do a multi-word search from the search template page I get an implicit OR rather than the implicit AND I expected.
Problem 2:
From the search template page I search for aaaa bbbb, and get the following summary: "9 results found containing all search terms. 40 results found containing some search terms. 5 pages of results." This is inconsistent, and when I check page 5, I find there are actually 49 search results.
Nick
Configuration file, omitting the strings at the bottom:
UseUTF8 = 0
Charset = "iso-8859-1"
MapAccents = 0
MinWordLen = 2
Highlighting = 1
GotoHighlight = 0
TemplateFilename = "search_template.html"
FormFormat = 1
Logging = 1
LogFileName = "../search_logs/searchwords.log"
MaxKeyWordLineLen = 256
MaxDictIDLen = 2
NumKeywords = 4953
NumPages = 423
DictReservedLimit = 32
DictReservedPrefixes = 21
DictReservedSuffixes = 12
DictReservedNoSpaces = 27
WordSplit = 1
ZoomInfo = 0
Timing = 0
DefaultToAnd = 1
SearchAsSubstring = 0
ToLowerSearchWords = 1
ContextSize = 30
MaxContextKeywords = 3
AllowExactPhrase = 1
MaxContextSeeks = 500
UseLinkTarget = 0
UseDateTime = 0
WordJoinChars = ".-_'"
Spelling = 1
SpellingWhenLessThan = 2
NumSpellings = 1623
UseCats = 0
DisplayNumber = 1
DisplayTitle = 1
DisplayMetaDesc = 1
DisplayContext = 1
DisplayTerms = 0
DisplayScore = 0
DisplayURL = 1
DisplayDate = 0
Comment