[Xapian-discuss] migrating from Muscat 3.1

Graham Walley gwalley at leics.gov.uk
Mon May 22 11:38:04 BST 2006


Thanks Olly,

Graham




Graham Walley 
Team Leader - Historic & Natural Environment 
Leicestershire County Council 
Room 500 
County Hall 
Glenfield 
Leicestershire 
LE3 8TE 
tel: 0116 265 7063 
fx: 0116 265 7965 
em: gwalley at leics.gov.uk 

-----Original Message-----
From: Olly Betts [mailto:olly at survex.com] 
Sent: 22 May 2006 11:29
To: Graham Walley
Cc: xapian-discuss at lists.xapian.org
Subject: Re: [Xapian-discuss] migrating from Muscat 3.1

On Mon, May 22, 2006 at 10:55:49AM +0100, Graham Walley wrote:
> As a regular user of the old Muscat for text manipulation and
exporting
> to Access databases is there a Muscatel type facility in Xapian?

Muscatel is rather tied in to the old Muscat command line API and macro
system, which is probably where Muscat and Xapian are most obviously
different, so there's no direct equivalent.

Back when Xapian was "Open Muscat" and aimed to be the next major
version of Muscat, we decided that most people didn't want to learn to
work a special purpose language so it was better to eliminate this part
of Muscat, and it was better to go for the more open solution of
providing bindings to general purpose scripting languages which many
people already know (such as Python and Perl.)

So you should be able to achieve everything you can with Muscatel in
Xapian, but not in the same way.  For arbitrary text manipulation, just
use your favourite scripting language.  For building databases using
data from arbitrary sources, either use a simple conversion script
piped into scriptindex, or use Xapian's indexing API directly.  For
exporting data from ad-hoc queries, you could use the bindings and write
a simple script, or perhaps use Omega with a suitable Omegascript
template.

> This e-mail and any files transmitted with it are confidential. If you
> are not the intended recipient, any reading, printing, storage,
> disclosure, copying or any other action taken in respect of this
> e-mail is prohibited and may be unlawful.

Such a disclaimer is inappropriate for mail sent to a public mailing
list.  Mail sent to the mailing list *WILL* be publicly archived.

Cheers,
    Olly

_______________________________________________________________________
Leicestershire County Council - rated a  'four-star' council by the Audit Commission
_______________________________________________________________________


This e-mail and any files transmitted with it are confidential. If you are not the intended recipient, any reading, printing, storage, disclosure, copying or any other action taken in respect of this e-mail is prohibited and may be unlawful. If you are not the intended recipient, please notify the sender immediately by using the reply function and then permanently delete what you have received.

Incoming and outgoing e-mail messages are routinely monitored for compliance with Leicestershire County Council's policy on the use of electronic communications.   The contents of e-mails may have to be disclosed to a request under the Data Protection Act 1998 and the Freedom of Information Act 2000.

The views expressed by the author may not necessarily reflect the views or policies of the Leicestershire County Council.

Attachments to e-mail messages may contain viruses that may damage your system. Whilst Leicestershire County Council has taken every reasonable precaution to minimise this risk, we cannot accept any liability for any damage which you sustain as a result of these factors. You are advised to carry out your own virus checks before opening any attachment.





More information about the Xapian-discuss mailing list