Re: Search and Asp.Net
- From: "shapper" <mdmoura@xxxxxxxxx>
- Date: 18 Sep 2006 06:58:08 -0700
Hi,
I will have keywords field for every file or article on my web site.
So in this first step querying the database will be enough ... I think.
I want to place a search text box in my web site.
However, I have a problem. I would like to make possible to people use
something like:
England AND Maps, England NOT London, "New York Turism", ...
Just like in Google. Do you think this would be easy?
Is something like that done?
Basically, I need to identify what are the Search Keywords and
operations like "AND", "NOT", etc.
And, of course, transform that in a Query to the database.
This was my first idea ... but I feel it will be really complicated to
do.
Thanks,
Miguel
Van den Driessche Willy wrote:
The easiest way is to rely on the robots like Google to do their work.
If you want to include a search of your own, you can use microsoft indexing
service to do the work for you.
Microsoft indexing service should be properly configured on your machine
(normally it is).
Then you can query the catalog using normal ADO.NET objects :
http://idunno.org/dotNet/indexserver.aspx
(Note, for PDF files you needs to download a free iFilter implementation at
Adobe (http://www.adobe.com/support/downloads/detail.jsp?ftpID=2611))
As I found it, querying the catalog is easy. The difficulty is finding the
most useful query for multiple keyword searches without bothering the user
too much with all of it.
(you can always check a query before in the MMC indexing service snapin
under Control Panel/Administrative tools/system)
Also, do not forget to specify which directories you want to search because
every file in every directory gets included by default.
Last, microsoft has a newsgroup devoted to indexing service.
(I used the indexing service for www.fwo.be (still in beta) and I find it
works quite good (and fast - but not on the home page yet))
Hope this helps.
"shapper" <mdmoura@xxxxxxxxx> wrote in message
news:1158583195.004616.141880@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello,
I am working on a web site which displays various information from a
database:
1. Text articles
2. PDF files for download. The links and displayed information are also
retrieved from a database.
I need to create a search engine on my web site.
I am using Asp.Net 2.0 and SQL 2005.
Could someone give me some tips?
What are the options in the market, in terms of search in Asp.Net?
And what about Google search?
Anyway, I am completly ignorant about this, in terms of development, so
any help will be usefull.
Thanks,
Miguel
.
- References:
- Search and Asp.Net
- From: shapper
- Re: Search and Asp.Net
- From: Van den Driessche Willy
- Search and Asp.Net
- Prev by Date: Re: Sharing compiled web assemblies between developers?
- Next by Date: Re: accessing local resources
- Previous by thread: Re: Search and Asp.Net
- Next by thread: Re: Search and Asp.Net
- Index(es):
Relevant Pages
|