Abel, many thanks for this analysis, I've put this into the
Collector...
On Sat, 23 Jun 2001 22:59:32 +0200
abel deuring [EMAIL PROTECTED] wrote:
Erik,
I'm afraid that your patch does not solve all the
problems you mentioned
in an earlier mail.
Erik Enge wrote:
On Wed, 30 May 2001, Erik Enge wrote:
I'm going bug hunting...
I'm back :)
I think I found the bug. In lib/python/SearchIndex/GlobbingLexicon.py in
the query_hook() method. It seems to say that: if I can't find a '*' or
a '?' in the word, then go to else-clause,
Thanks for tracking this down... If you're so inclined, please put this
in the Collector (with a description of the problem, as well as a way to
reproduce it, the patch alone isn't nearly as helpful) so it doesn't get
dropped on the floor. I doubt very much that it's fixed in CVS.
- C
Erik
On Thu, 24 May 2001, Michel Pelletier wrote:
I don't think you are using a globbing vocabulary.
I think I am:
print_info(applic.Catalog(word='scripto*'))
unsplitted ['scripto*']
unl: ['scripto*']
unq: [104623, 'or', 112198, 'or', 151568]
Length: 6
Content: [mybrains instance at 1226d358,
On Tue, 29 May 2001, Erik Enge wrote:
On Thu, 24 May 2001, Michel Pelletier wrote:
the unsplitted, unl and unq are my debug flags, but you can see what
happens: without parens the '*' has it's desired effect, with, it doesn't.
Got a clue? Is this my bug, or ZCatalog's?
Must be
On Thu, 24 May 2001, Michel Pelletier wrote:
I don't think you are using a globbing vocabulary.
But globbing works for other queries. In the same catalog.
If you are not using a glob vocab, I suspect it stripped out the ? and
is hitting on 'eri'. Do you have that word anywhere?
I tried
Erik Enge wrote:
Hi,
is it me, or is this just not working:
(word1 or word*) and (wor?3)
ie. wildcards in TextIndex queries. I can't seem to make it work, and I'm
not able to track down where it stops working. Should it work in the
first place?
Zope 2.3.2
Thanks.
On Thu, 24 May 2001, Casey Duncan wrote:
Works great for me. Perhaps you are using a Vocabulary that has
Globbing turned off?
I'm not sure, how do I check?
This query works:
wil?car*
This doesn't:
(wil?car* or something else) and (word1 and word2)
I can't see that the
Erik Enge wrote:
On Thu, 24 May 2001, Casey Duncan wrote:
Works great for me. Perhaps you are using a Vocabulary that has
Globbing turned off?
I'm not sure, how do I check?
This query works:
wil?car*
This doesn't:
(wil?car* or something else) and (word1 and
On Thu, 24 May 2001, Erik Enge wrote:
This query works:
wil?car*
This doesn't:
(wil?car* or something else) and (word1 and word2)
If the first works, then you are using a globbing vocabulary. The second
one should work, but maybe there is a bug. Or perhaps your search
On Thu, 24 May 2001, Erik Enge wrote:
Good, then it's just not me. Is the overall design philosophy for
ZCatalog/Catalog/SearchIndex documented anywhere? (By the way, from
lib/python/SearchIndex/TextIndex.py, what is sws and cv3?)
I'm trying to get a knot of knowledge into my head by
On Thu, 24 May 2001, Erik Enge wrote:
On Thu, 24 May 2001, Michel Pelletier wrote:
If the first works, then you are using a globbing vocabulary. The
second one should work, but maybe there is a bug. Or perhaps your
search criteria is so strict that you are getting no results.
Hm.
12 matches
Mail list logo