[Opensim-dev] search register 2 search domain

Michel Beauregard gimisa at yahoo.fr
Wed Dec 24 17:04:44 UTC 2014


Season greeting to all. 


I took a bit of time before coming back to this subject to make sure what I will submit  need your attention. 
If naturaly the subject is of interest to you.

Follonwing  email on DataSnapshot  from DIVA is working fine for one domain,
[DataSnapshot]

          index_sims = true
....
         data_services="http://metaverseink.com/cgi-bin/register.py"


I wanted to register 2  domain for searching , 

>From bellow Diva email  :   Note that the data_services variable is capable of taking a semi-colon-delimited list of services,

I try with this 
              data_services="http://metaverseink.com/cgi-bin/register.py";"http://127.0.0.1/register.php"


I obtain the following result  with  config show opensim console command:
[DataSnapshot]
  index_sims = true
  ....
  data_services = http://metaverseink.com/cgi-bin/register.py

Reading on  http://metaverseink.com/docs/listing.html  
 Note that the data_services variable can take a comma-separated list of data services,

I changed the  data_services variable as follows
   data_services="http://metaverseink.com/cgi-bin/register.py","http://127.0.0.1/register.php"

and obtain same  as config show result :

[DataSnapshot]
  index_sims = true
 .....
  data_services = http://metaverseink.com/cgi-bin/register.py

Just in case I tried this with same results:
    data_services="http://metaverseink.com/cgi-bin/register.py":"http://127.0.0.1/register.php"

Now to prove that I am editting the correct line of opensim,ini config I change the same line with this
  data_services="http://127.0.0.1/register.php"

and obtain this in response with config show for that region which is also correctly registering in my database. 

[DataSnapshot]
  index_sims = true
  data_exposure = minimum
  gridname = GiMiSa
  default_snapshot_period = 3600
  snapshot_cache_directory = DataSnapshot
  data_services = http://127.0.0.1/register.php

HostRegister
	3d.gimisa.ca 	9005 	1419439520 	0 	0 	0


I guess not many have tried double domain entry. 
And /or I might be missing a point.
if you could be kind enought to direct me appropriatly. 

Hope this exercice is helpfull

 gimisa

____________________________________________

        De : Diva Canto <diva at metaverseink.com>
 À : opensim-dev at opensimulator.org 
 Envoyé le : vendredi 28 novembre 2014 14h04
 Objet : Re: [Opensim-dev] search
   

    I had some time yesterday and today to
      do a bit of maintenance to the Metaverse Ink Search engine.
      Specifically, I made it compatible with what the viewers expect a
      search query to look like. So if you want to use it as the search
      provider for the users of your virtual world, simply give the
      following SearchURL to the viewer as login parameter:

      

      [LoginService]

          ...

          SearchURL            =
      "http://search.metaverseink.com/opensim/results.jsp?"

      

      This will bring up MISearch when users click the "Search" button.

      

      As before, if you want to index the searchable content of your
      virtual world with MISearch, that is done under the DataSnapshot
      section of the configuration, something like this:

      

      [DataSnapshot]

          index_sims = true

          data_exposure = minimum

      

          ; 1 hour

          default_snapshot_period = 3600

      

          snapshot_cache_directory = "DataSnapshot"

          data_services="http://metaverseink.com/cgi-bin/register.py"

      

      Note that the data_services variable is capable of taking a
      semi-colon-delimited list of services, so it is possible to index
      your virtual world with several services, e.g. a local search
      service provided by ossearch and global search service like
      MISearch.

      



More information about the Opensim-dev mailing list