-
Full Text Search
Is there any restriction on the file type ? I tried to use the full text search feature on a pdf file and it did not work correctly but I saved the same file as .txt and then the search works.
Any help is greatly appreciated.
-
you can control the include file(s) extensions. The function open the file and perform an instr$ search. If still have prooblem - let me know.
Frank
-
Hi Frank,
The way I tried is :
Pdf file was saved as a txt file.
But the search only returns from txt file and not from pdf file.
Code is :
T.dbSearchFilesParams = "inc= contracts/*.pdf,contracts/*.txt| Col=3| Search=true| HideBlock=Comments"
I am not sure why this happens.
The search needs to work from PDF file. But just for testing I saved it as txt file as pdf did not return me search results.
Any help is greatly appreciated
Thanks
Mani
-
I tried this code and it works. Pdf is shown in the browser -
Dim ST As New tornado.z()
With ST
.dbUnit = 1
.dbSkin = "bluesky"
.dbTextHolder = "Title=Search Tornado Manual, Examples and Demo"
.dbSearchFilesParams = "inc=/tornado/scratch/*.shtm,/tornado/scratch/*.aspx,/tornado/scratch/*.pdf| Col=3| Search=t"
Dim sf As String = Request.QueryString("ASPdbSearchFile")
If sf <> "" Then
Response.Write("<html><Head><link rel='stylesheet' href='/tornado/css/BlueSky/Style.css'></Head><BODY onLoad='self.focus()'><BR>")
.ASPdbDisplaySource(sf, , , Request.QueryString("ASPdbSearchText"))
Response.Write("</body></html>")
Else
Response.Write(.ASPdbSearchFiles())
End If
End With
Frank
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|