Re: [Zope-dev] Minor typos/changes to ZCatalog.

2001-02-24 Thread Morten W. Petersen
[Steve Alexander] | But it's not just characters. A field index indexes an object, and uses | the overloaded comparison operators for that object to put it in an | appropriate place. So, you can index DateTime objects, tuples, strings, | numbers, floats... Could a field index succesfully hand

Re: [Zope-dev] Minor typos/changes to ZCatalog.

2001-02-24 Thread Steve Alexander
Erik Enge wrote: > > Will FieldIndexes also behave like TextIndex, in that they remove > stop words, digits and so forth? No. > I think I've picked up somewhere that FieldIndexes treats the whole > content of the attribute it indexes as one big chunk of .. erm... > characters, and doesn't

Re: [Zope-dev] Minor typos/changes to ZCatalog.

2001-02-24 Thread Erik Enge
On Fri, 23 Feb 2001, Chris McDonough wrote: > The short answer is "you can't, easily". I'm a bit confused. Will FieldIndexes also behave like TextIndex, in that they remove stop words, digits and so forth? I think I've picked up somewhere that FieldIndexes treats the whole content of the attri

Re: [Zope-dev] Minor typos/changes to ZCatalog.

2001-02-23 Thread Michael R. Bernstein
"R. David Murray" wrote: > > On Fri, 23 Feb 2001, Michael R. Bernstein wrote: > > As you can see by the second example, an ISBN can have > > letters as well as numbers in it, so it cannot be > > represented by an integer. Text indexes seem to ignore > > 'words' that contain numbers, though. > > >

Re: [Zope-dev] Minor typos/changes to ZCatalog.

2001-02-23 Thread Chris McDonough
op "C", removing the word entirely. If you wish to change this behavior, you need to delve into code to replace the splitter implementation. - Original Message - From: "Michael R. Bernstein" <[EMAIL PROTECTED]> To: "Erik Enge" <[EMAIL PROTECTED]&

Re: [Zope-dev] Minor typos/changes to ZCatalog.

2001-02-23 Thread Michael R. Bernstein
Erik Enge wrote: > > On Fri, 23 Feb 2001, Michael R. Bernstein wrote: > > > On the subject of numbers, I was wondering how to index > > alphanumeric values like ISBN numbers. > > Why can't you use FieldIndexes? Because I'm actually Using a SkinScript to concatenate several attributes (Author,

Re: [Zope-dev] Minor typos/changes to ZCatalog.

2001-02-23 Thread Chris McDonough
I think Ethan has this in the pipeline... - Original Message - From: "Erik Enge" <[EMAIL PROTECTED]> To: "Chris McDonough" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, February 23, 2001 1:56 PM Subject: Re: [Zope-dev] Minor typos/change

Re: [Zope-dev] Minor typos/changes to ZCatalog.

2001-02-23 Thread Erik Enge
On Fri, 23 Feb 2001, Chris McDonough wrote: > > Maybe a "This How-To covers product such-and-such version x.x" is in > > order as a standard feature of the How-To? > > This is a good idea. It would be an even better idea to allow folks to add > comments to howto pages, so that if the original a

Re: [Zope-dev] Minor typos/changes to ZCatalog.

2001-02-23 Thread Chris McDonough
> > Probably. Keyword indexes work too. > > Yeah, that was what I was getting at :) Yes. > > This is the number of objects indexed by the index. If it's not working, > > that's a bug. > > Then it looks like a bug. Lucky us, I don't have time to analyze this in > a week or so. Sorry. I'd lik

Re: [Zope-dev] Minor typos/changes to ZCatalog.

2001-02-23 Thread R. David Murray
On Fri, 23 Feb 2001, Michael R. Bernstein wrote: > As you can see by the second example, an ISBN can have > letters as well as numbers in it, so it cannot be > represented by an integer. Text indexes seem to ignore > 'words' that contain numbers, though. > > Any suggestions? A field or keyword i

Re: [Zope-dev] Minor typos/changes to ZCatalog.

2001-02-23 Thread Erik Enge
On Fri, 23 Feb 2001, Chris McDonough wrote: > Probably. Keyword indexes work too. Yeah, that was what I was getting at :) > This is the number of objects indexed by the index. If it's not working, > that's a bug. Then it looks like a bug. Lucky us, I don't have time to analyze this in a we

Re: [Zope-dev] Minor typos/changes to ZCatalog.

2001-02-23 Thread Erik Enge
On Fri, 23 Feb 2001, Michael R. Bernstein wrote: > On the subject of numbers, I was wondering how to index > alphanumeric values like ISBN numbers. Why can't you use FieldIndexes? ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mail

Re: [Zope-dev] Minor typos/changes to ZCatalog.

2001-02-23 Thread Michael R. Bernstein
Chris McDonough wrote: > > > Also, could anyone point me to some good documentation (reference material > > would be best) about how the different Indexes work? I'm having a bit of > > a struggle with numbers, FieldIndexes and TextIndexes. > > No. ;-) This is one of the things I'd like to get

Re: [Zope-dev] Minor typos/changes to ZCatalog.

2001-02-23 Thread Chris McDonough
> Today's show opens with an usability bug (that's what it looks like to me, > anyway). Sit back and feel free to buy an albatross from the strange man. > > I've got a ZCatalog named Catalog, living its normal life at /. > > When I'm in /Catalog/manage_catalogIndexes the index names are href>'

[Zope-dev] Minor typos/changes to ZCatalog.

2001-02-23 Thread Erik Enge
Today's show opens with an usability bug (that's what it looks like to me, anyway). Sit back and feel free to buy an albatross from the strange man. I've got a ZCatalog named Catalog, living its normal life at /. When I'm in /Catalog/manage_catalogIndexes the index names are 's. Strange, since