Re: [Zope] Numeric Entries in Catalog Search

2001-01-22 Thread Chris Withers
Tim Cook wrote: I specified in the catalog that I wanted a Textfield index for these. In the search form I specify the input with the :string type. I would have assumed that these would work just like Last Name and First Name work (which BTW work fine). But the numeric strings never find a

Re: [Zope] Numeric Entries in Catalog Search

2001-01-22 Thread Tim Cook
Chris Withers wrote: Your problem may be the use of Text Indices. These use the voabulary, which handily strips out digits when indexing :-( I did not know that. The way to get around it would be to use a Field Index... ...of course, then you can't use globbing matches like that, so

Re: [Zope] Numeric Entries in Catalog Search

2001-01-22 Thread Tim Cook
Just to clarify. Chris W's comment that the vocabulary strips out the digits. It seems to only do so when there is no other characters adjacent in the property. If there are alphabetic characters but separated by whitespace it will remove the digits. If they are separated by a hyphen it will

Re: [Zope] Numeric Entries in Catalog Search

2001-01-22 Thread Tim Cook
Alberto Berti wrote: Tim Cook wrote: Just to clarify. Chris W's comment that the vocabulary strips out the digits. It seems to only do so when there is no other characters adjacent in the property. If there are alphabetic characters but separated by whitespace it will remove

Re: [Zope] Numeric Entries in Catalog Search

2001-01-22 Thread Tim Cook
Dieter Maurer wrote: Tim Cook writes: ... search for numbers in ZCatalog's text indices ... Recently, someone has posted a splitter.c patch that prevents it to discard numeric words. Ah yes. I recall the spliter.c thread. I didn't pay attention at the time I guess. s Thanks, -- Tim