We are using version 2.4.5 of Swish-e to spider and index several internal
sites. It is integrated into an Ajax application and the search (CGI) returns
the data to the browser in JSON (achieved by changing the template). This all
Each indexed site has a separate index file and the results that are returned
may come from any of these indexes. What I would like to know if it is
possible to identify the index that an individual result is coming from. Of
course I can tell from the docpath, but I would like to use the details from
the config file, like swish-index, select_indexes, etc.
Sample JSON output:
"rowID" : 1,
"rank" : 1000,
"description" : "ESTEC HEALTH & SAFETY TRAINING POLICY May 2005
... ESTEC Health & Safety Training Policy Page i ... ESTEC HEALTH &
SAFETY TRAINING POLICY TABLE ... ",
"lastModified" : "2005-11-15 11:22:09 GMT+1"
I would like to add a property like "source" which would identify the index
this is coming from, e.g.:
"source" : "Training"
Any would be appreciated.
Users mailing list
Received on Thu Mar 15 13:46:14 2007