Welcome to Geeklog, Anonymous Saturday, July 12 2025 @ 06:10 pm EDT

Geeklog Forums

Searching Multiple Sites


How is searching handled when there are mulitple installations sharing a single database ? Is it the case that searching is available across all sites or is searching confined to each site ? Is it possible to have all content searchable across all sites ?
 Quote

Status: offline
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Quote by spinachbomb: How is searching handled when there are mulitple installations sharing a single database ?

Are they only sharing the same database (with different prefixes for their tables)? Or are you also sharing some tables? The search would only work on those shared tables.

bye, Dirk
 Quote

Status: offline
Forum User
Newbie
Registered: 08/17/05
Posts: 3
The only tables I'm thinking about sharing would be user info for authentication (I've checked out the forum explaining how to do this) but I'm not so sure that would be best for our deployment. I'm looking into creating a GL site for each content department in a school district, ie. Literacy, Science, Math, etc, with users being restricted to posting only to their content area. Since each content dept. would also need to have sub categories ie. Science --> Earth Sci., Physical Sci., etc.. I figured the best way to accomplish this would be to create multiple instances of GL making each dept. their own separate entity using unique table prefixes. I then want to create a main site that will serve as a portal so that to the end user it all looks like the same site with different "categories". Could you advise if my thinking is correct for what I want to accomplish ? The main cross site functionality I would like to have would be searching. From what I've seen in search.class.php cross site searching doesn't seems possible at this point with the GL search tool. Am I mistaken ? Are there any other search engine tools someone could recommend that would give me the functionality I need within GL ? What about creating a search box that allows you to select which content area you want to search in ?

Thanks
 Quote

Status: offline
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
So the only reason you want to run multiple instances of Geeklog is due to the lack of subcategories? And your solution is to use each Geeklog instance as the main category and the topics of each instance as the subcategories?

Wouldn't using categories like Science_Earth, Science_Physical, etc. work? Use those as the topic IDs and choose something more readable as the topic name (which is what shows up in the Topics block). If you set the permissions accordingly, members of the Science department would only see their own categories anyway, so there would be no confusion if there are several topics with a display name like, say, "News".

bye, Dirk
 Quote

Status: offline
Forum User
Newbie
Registered: 08/17/05
Posts: 3
my first thought was the permission restriction method. the reason why i wanted to break the sites up is because i didn't want to give my users the ability to post to all topics they can read. I realize with the hack found here they can still post to the topics but im not to worried about it. i like the read-only idea , what is being done with GL2 in this area ?
 Quote

All times are EDT. The time is now 06:10 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content