|
| |
|
|
Universal4
Posts: 78 Joined: 7/25/2003 Status: offline
|
specify a catalog - 7/25/2003 20:28:18
Hi all, I am new here...(not to web development-just to this forum) What I am trying to do is use more than one search form on a site on different pages to search different areas of the site. I am quite comfortable setting up the index server catalogs and they all work well with the search form. However, I want to be able to specify which catalog each form will use. Is this difficult to do without having to rewrite the entire page in asp using vb script? Right now I just wanna keep it simple using the extensions and different catalogs.... Rick
|
|
|
|
Universal4
Posts: 78 Joined: 7/25/2003 Status: offline
|
RE: specify a catalog - 7/26/2003 10:48:10
Is this post inappropriate for this forum? If so, I apologize, can I move it or must I be an admin to do so? I wouldn' t want to just repost it with recommendation by an admin or moderator.
< Message edited by Universal4 -- 7/26/2003 10:48:50 AM >
|
|
|
|
Boo
Posts: 136 Joined: 9/20/2002 Status: offline
|
RE: specify a catalog - 7/27/2003 4:43:40
quote:
more than one search form on a site on different pages to search different areas of the site quote:
I want to be able to specify which catalog each form will use is it not, - create new catalog (IT) on folder
- create search page and form in root of catalog
- only searches IT and all of IT' s children
|
|
|
|
Universal4
Posts: 78 Joined: 7/25/2003 Status: offline
|
RE: specify a catalog - 7/28/2003 13:57:34
Like I said, my problem is not in creating the catalog....I have done that no problem...and have created search forms that work just fine and exclude directories without issue... BUT...I have a few sites that I want to have more than one search form so that I may drill down deeper for the visitor so that they only see results from a specific catalog.... When you create a search form on a page it will search the default catalog for that web.... But if a website has more than one catalog....I want to DEFINE which catalog a specific search form queries...
|
|
|
|
westy
Posts: 54 From: UK Status: offline
|
RE: specify a catalog - 7/30/2003 21:37:39
Hi i have just been playing with Index Server, and have 3 copies of the same form searching different catalogs. If that is what you want then look at the following. With objQuery
.[color=#FF0000]Catalog = " IssDraw" ' Catalog to query[/color]
.MaxRecords = 1000 ' Max # of records to return
.SortBy = " rank [d]"
.Columns = " filename, path, vpath, size, write, " _ i guess you have some code like this?? If so you need to change .Catalog = " xxxx" to point to each catalogue name. I have not tried it yet but I am assuming you can set the name by a variable? I hope you can do this as that is what i need to do in a few days when i have sorted my search form problems. Hope this is of some help Westy
|
|
|
|
Universal4
Posts: 78 Joined: 7/25/2003 Status: offline
|
RE: specify a catalog - 8/2/2003 16:36:10
Thank you. Yes, you are on track with what I need to do. I was kinda hoping there was a front page answer, but you are correct, it appears that VB is the only solution.... I had actually created a page using vb, but any pages that used underscore....showed the underscore as a %20...then I played around some more and it stopped showing the path at all....(go figure) Since I am under a slight time constraint, and my development time is limited...I turned here in hopes of a fp solution. Westy, (or anyone else) if you would like a few links that I have found with some explanations of putting together the vb code, let me know and I' ll post em. Thanks everyone for the help and links that you have forwarded to me. Rick Universal4
< Message edited by Universal4 -- 8/2/2003 4:37:31 PM >
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|