473,725 Members | 2,212 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Search a folder with .doc, .xls

I have a physical folder which contains 'n' number of documents (*.docs),
excel sheets (*.xls), few PDF files (*.pdf). These files contains images
within these files. Now from my website (ASP.NET 1.1, C#) I want to search
through these files.

That said, I was able to think of the below two options for solving this:

1. Microsoft Index Server :: Create a catalog and map the physical folder
here. Then make use of FreeText queries to fetch it. [Though I know this by
principle I am not able to make it work ... may be the steps which I am doing
is not right!].

2. Design a table and store the file contents within it. Then search through
the needed columns. The problem I see here is, "Images". Almost all the files
have lots of images within it. So I am not sure how to save the document text
into the DB and then retrieve it for searching, displaying it to the end user.

Hope I have made my problem statement clear. If so, can somebody help me
with this?

Regards
Pradeep
Dec 2 '06 #1
1 1354
Check out dotLucene

http://dotlucene.net/
--

Rad [Visual C# MVP]
Bits.Bytes
http://bytes.thinkersroom.com
I have a physical folder which contains 'n' number of documents
(*.docs), excel sheets (*.xls), few PDF files (*.pdf). These files
contains images within these files. Now from my website (ASP.NET 1.1,
C#) I want to search through these files.

That said, I was able to think of the below two options for solving
this:

1. Microsoft Index Server :: Create a catalog and map the physical
folder here. Then make use of FreeText queries to fetch it. [Though I
know this by principle I am not able to make it work ... may be the
steps which I am doing is not right!].

2. Design a table and store the file contents within it. Then search
through the needed columns. The problem I see here is, "Images".
Almost all the files have lots of images within it. So I am not sure
how to save the document text into the DB and then retrieve it for
searching, displaying it to the end user.

Hope I have made my problem statement clear. If so, can somebody help
me with this?

Regards Pradeep

Dec 2 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
8726
by: Les Juby | last post by:
A year or two back I needed a search script to scan thru HTML files on a client site. Usual sorta thing. A quick search turned up a neat script that provided great search results. It was fast, returned the hyperlinked page title, filename, and the body txt (30 preceding and following words) in context with the search word highlighted. Excellent.! See it working at: http://www.ipt.co.za Just search for "firearm"
0
5789
by: mm | last post by:
Can someone with Win 2K please help me here. Best yet, can some MVP duplicate it and report it to MS. I can't find any reference to this issue on the Web, or in MS Knowledge Base. I have been able to duplicate this problem on two different Win 2K installations. Steps: 1. Win 2K installation, SP4 with .NET 1.1 installed
2
1686
by: tmb | last post by:
I'm trying to use the Microsoft Search to search for a text string in a folder full of a bunch of ASP files. Seems like the normal "Search for text in files" program in XP Pro won't search between the ASP delimiters <% %> How can I search for text strings in ASP a folder full of ASP files with out opening each one individually and searching? thanks for any help.
5
9192
by: tmb | last post by:
I need to search a folder & sub-folders for key words in ASP files... I can open the files with Notepad and see the text string there... But when I try to navigate to the folder with Windows Explorer, right click and 'search for word in file' ... it reports back that the text string was not found. I've fooled around with the 'advanced' settings but can't seem to make it work... even when I'm searching a single folder with a single...
5
2065
by: Sam | last post by:
Does anyone know of a way to create a search page under ASP.NET 2.0? I have started out by configuring a catalog in Index Server, registering the aspx, ascx extensions in the registry to allow them to be indexed and built the catalog as per KB article, but I've run into an interesting problem. When you publish a website from Whidbey, it precompiles everything and strips out the searchable details of the page (metadata, html, etc)...
12
12796
by: Eric Renken | last post by:
I have an application that I am adding support for plug-ins and I am looking for some help on the best way to handle this. My question has to do with AppDomains and the best way to use them. I have a directory structure like this: MyApp \AddIns \AddIn1 \AddIn2
6
4665
by: shantanu | last post by:
Hi All, I have a requirement to develop a search engine based on some search criteria that will search for the string or statement in all the documents uploaded in the website. The search result will be displayed same as the Google Group search, with highlighted texts. I have few questions: 1. What will be the logic to implement? 2. The documents that will be uploaded in the website will be saved in the datbase or not?
0
1465
by: =?Utf-8?B?QnJ5YW4=?= | last post by:
Hello group. I've migrated from Win 2003 server to Win 2008 server. I've been banging my head agaist a wall for several days now trying to figure this out. I have the following script that will search the file system and return file names of all files within a folder and subfolders that meet the search criteria of DateLastModified. To test the output, you can use the following link:
3
30154
by: Vishy147 | last post by:
Hi, I am new to python. I have to devlope a small for code for getting the path of a particular folder, that is given as input to the code, in the other folder. Basically i have to search a folder, not file, inside another folder. I work on windows platform. Can anybody help me.
0
8752
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
9176
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6702
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6011
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4519
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4784
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3221
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2635
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2157
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.