| Jennifer 2004-05-11, 5:42 pm |
| So, I'm having a problem with Index Server returning low and identical
rankings (like, the first 20 files being 64, then a few 41, then a
bunch 16, a couple 1, etc). I've tried doing the query both with ADO,
and with ixsso.Query, but the problem is them same. I have discovered,
however, that it doesn't occur when I do this:
oQ.query = strQuery
where strQuery is the search terms which the web script has taken in.
But it DOES happen when I do this:
oQ.Query = strQuery & " & ( #filename *.pdf )"
(it's not specific to pdf though - it happens no matter what extension
I put in there)
Like I said, I've tried it in straight SQL too:
SQL = SQL & "WHERE CONTAINS ('" & strQuery & "') > 0"
SQL = SQL & "WHERE CONTAINS ('" & strQuery & "') > 0 AND Filename LIKE
'%.pdf'"
The first works, the second doesn't.
I don't know what version of Index Server, but I'm running 2k Server,
SP4.
Any ideas?
Thanks,
Jennifer
|