TextSearch (Content plugin for fulltext search in DOC)

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

Content api allows a lot of text..
User avatar
m^2
Power Member
Power Member
Posts: 1413
Joined: 2006-07-12, 10:02 UTC
Location: Poland
Contact:

Post by *m^2 »

Can you define "a lot"?
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

a lot can be any size. plugin passes to Lister 64k, then the next 64k, etc.
To the eof.
User avatar
m^2
Power Member
Power Member
Posts: 1413
Joined: 2006-07-12, 10:02 UTC
Location: Poland
Contact:

Post by *m^2 »

OK, so it works with any arbitrary size.

From what I remembered there was a limit that TC passed, but I just looked to the reference and found ft_fulltext.
Thank you.
User avatar
Peter
Power Member
Power Member
Posts: 2064
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Post by *Peter »

I have problems to configure the plugin for DWG (AutoCAD). Please take a look here:

http://ghisler.ch/board/viewtopic.php?t=16670&start=5

Thanks

Peter
TC 10.xx / #266191
Win 10 x64
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

if GetTextIFilter (included) not of help, I dont know... I cannot tst myself.
User avatar
Peter
Power Member
Power Member
Posts: 2064
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Post by *Peter »

Alextp wrote:if GetTextIFilter (included) not of help, I dont know... I cannot tst myself.
Included?
You mean linked on the readme.html?

And what GetTextIFilter.exe should do? I disappears after one second ..

I use SearchFilterView by Nirsoft to display my existing filters:
http://www.nirsoft.net/utils/search_filter_view.html

Peter
TC 10.xx / #266191
Win 10 x64
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

-Included?
You mean linked on the readme.html?

yes, now not included. (It was).
It should show result of IFilters. Does IFilter for DWG exist in your system? if yes it can show it.
User avatar
Peter
Power Member
Power Member
Posts: 2064
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Post by *Peter »

Alextp wrote:...yes, now not included. (It was).
It should show result of IFilters. Does IFilter for DWG exist in your system? if yes it can show it.
I downloaded the exe, started it - and nothing happened (only starting and disappearing).

Yes, I have some IFilters, and the Nirsoft-tool (see above) shows me 10 entries (ACDWG..., AcroRd.., Office, HTML, ..)

Peter
TC 10.xx / #266191
Win 10 x64
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

for IFilters, Textsearch/GetTextIFilter must be configured. Example is in Sample .ini.
User avatar
Peter
Power Member
Power Member
Posts: 2064
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Post by *Peter »

Alextp wrote:for IFilters, Textsearch/GetTextIFilter must be configured. Example is in Sample .ini.
Yes, and exactly this is the problem. Now I have in my INI:

Code: Select all

;DWG
DWG="c:\Program Files\Common Files\Autodesk Shared\AcDwgFilter\AcDwgFilterImp16.dll" "{In}" "/Out={Out}"
...
...
;GetTextIFilter - commented by default
;
IFILTER=Conv\IFilter\GetTextIFilter.exe -s "{In}" -d "{Out}" -l
RTF=IFILTER
DOC=IFILTER
DOT=IFILTER
PPT=IFILTER
XLS=IFILTER
HTM=IFILTER
HTML=IFILTER
DWG=IFILTER
I copied the EXE in the folder written above - And now? How to use the exe? Will it be used by TC-Search? Or is it standalone?

At the moment I have no idea ..

Peter
TC 10.xx / #266191
Win 10 x64
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

-place GetTextIF.exe into Conv\IFilter of Textsearch.
- write only 2nd line (from txt) DWG=IFILTER to .ini
- delete 1st line DWG=.....dll .....
Try search with TextSearch.
User avatar
Peter
Power Member
Power Member
Posts: 2064
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Post by *Peter »

Hello Alex

thanks - it seem to work now. My INI is like this:

Code: Select all

[Converters]
;GetTextIFilter - commented by default
;
IFILTER=Conv\IFilter\GetTextIFilter.exe -s "{In}" -d "{Out}" -l
DWG=IFILTER
Regards

Peter
TC 10.xx / #266191
Win 10 x64
pgriffet
Junior Member
Junior Member
Posts: 66
Joined: 2003-03-01, 22:04 UTC
Location: Belgium

Post by *pgriffet »

Hi all. I try to use TextSearch but it doesn't work at all.
As I have the problem with the same TC program (TC756a running on a USB key) on XP and W7, I suppose that I'am missing something.
Actually, I just want to search in text files but this is the results with a string which is of course not present in the files.

Image: http://membres.lycos.fr/pgriffet/Textsearch.jpg

Can someone tell me what is the goal of the "search in modules" checkbox ? I don't want to search in modules but in files !
If I choose "contains" instead of "=", the result is the same.
If I check "search in modules", I have always "not files found", even if the string is present in the files.
Help !!!!!
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

you must check "Search in modules", or plugin not activated. If you check, select field "Text", prop "Contains". On screen you din't select "Text" field.

And IIRC plugin doesn't search txt files (by default)
Post Reply