.
This patch corrects ZCatalog so that it returns its indexes as the
searchable arguments.
448c448
for name in self._catalog.schema.keys():
---
for name in self._catalog.indexes.keys():
I will be sumitting these to the collector as well.
--
| Casey Duncan
| Kaivo, Inc.
| [EMAIL
e top frame"
option
for
those who really can't spare the 32px. :^)
=
| Casey Duncan
| Kaivo, Inc.
| [EMAIL PROTECTED]
`-
__
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/
__
l,
Espen
Try this:
dtml-call expr="manage_addFolder(folder_id)"
dtml-call expr="_[folder_id].manage_addFolder('subFolder')"
=
| Casey Duncan
| Kaivo, Inc.
| [EMAIL PROTECTED]
`-
__
Do You Ya
ee here as well. Why does the root folder need to
look different anyway? Just labelling it "Root Folder"
is sufficient IMHO. I think it will cause confusion
for it to look so different.
=
| Casey Duncan
| Kaivo, Inc.
| [EMAIL PROTECTED]
`-
___
s ago
that describes the query syntax. Search the mailing
list archives for it.
=
| Casey Duncan
| Kaivo, Inc.
| [EMAIL PROTECTED]
`-
__
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
htt
s ago
that describes the query syntax. Search the mailing
list archives for it.
=
| Casey Duncan
| Kaivo, Inc.
| [EMAIL PROTECTED]
`-
__
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
htt
easy. Just mail me directly, since it's
a long file to post.
Could you maybe post just the diff for poserity?
--
| Casey Duncan
| Kaivo, Inc.
| [EMAIL PROTECTED]
`--
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org
c
-Andy
My point is that the sorting is intentionally Unix-like and case
sensitive on purpose. Not due to laziness. But, perhaps the reason Unix
is like that to begin with is due to laziness anyhow 8^). We'll never
know for sure.
--
| Casey Duncan
| Kaivo, Inc.
| [EMAIL
information you (or anybody) has regarding this would be greatly
appreciated.
Thanks for your help.
--
| Casey Duncan
| Kaivo, Inc.
| [EMAIL PROTECTED]
`--
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
an explicit type conversion to a 4 byte integer like so:
SELECT int4(oid) FROM foo;
This behaves in a much friendlier manner. I would still like to see the
problem resolved, as I find the fact that an innocuous SELECT query
could crash Zope a bit troubling.
--
| Casey Duncan
| Kaivo, Inc.
| [EMAIL
. So the problem
would seem to be with PoPy and not the DA.
--
| Casey Duncan
| Kaivo, Inc.
| [EMAIL PROTECTED]
`--
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML
That would temper any grumbling and solve the problem (although
not the problem of the ever growing security list).
--
| Casey Duncan
| Kaivo, Inc.
| [EMAIL PROTECTED]
`--
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.o
. It would enable people to write SQLIndexers,
ZPatterns-based Catalogs and anything else they want, all of which would
be freely interchangeable with the ZCatalog.
Comments?
Chris
I would love to see this happen. Sounds like a fishbowl project to me!
--
| Casey Duncan
| Kaivo, Inc.
| [EMAIL
/python/SearchIndex.
In doing some more digging in UnTextIndex.py there I do see support for
parens and quoted phases, although in practice they do not work. If I
find time I will delve into this further.
--
| Casey Duncan
| Kaivo, Inc.
| [EMAIL PROTECTED]
`--
__
Chris Withers wrote:
Casey Duncan wrote:
In doing some more digging in UnTextIndex.py there I do see support for
parens and quoted phases, although in practice they do not work. If I
find time I will delve into this further.
Cool, if you document it anywhere, please let us know
re really using,
try it without parens.
e.g. "apples and oranges or plums"
AFAIK grouping in query strings is not supported.
--
| Casey Duncan
| Kaivo, Inc.
| [EMAIL PROTECTED]
`--
___
Zope-Dev maillist - [EMAIL PROTECTED]
or a bug or am I missing something?
--
| Casey Duncan
| Kaivo, Inc.
| [EMAIL PROTECTED]
`--
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related
Zope pages via a "file://" link that opens
them directly off the file server rather than through Zope. This would
prevent you from having the jerry-rig Zope into being a file server.
--
| Casey Duncan
| Kaivo, Inc.
| [EMAIL PROTECTED]
`--
in it. There are two solutions to this:
Subdivide your objects into multiple folders.
Use a BTreeFolder which should be much faster.
You can download the BTreeFolder product
here: http://www.zope.org/Members/hathawsh/BTreeFolder/
hth,
Casey Duncan
once a result item is explicitly accessed (By using so-called lazy
sequences). However the catalog will not speed up your actual object access
time unless you divide them up amongst several folders or use a BTreeFolder.
The latter being a simpler solution from a design standpoint.
Good luck!
Casey
John Wrote:
[snip]
I am trying to use this method called objectList:
ul
dtml-in objectValues
lidtml-var id/li
/dtml-in
/ul
I've put it in the standard_html_header.
[snip]
When I try looking at the root page (http://john:8080) I have to provide
authentication before the page will
Steve:
That is good to know, being a Mac fan myself. I'll have to play with and
test the different browsers on the client side as well as server-side jdks.
From what I have learned so far on the server end, the project seems
reasonably feasible.
I think the interesting part will be creating the
I have been toying with the idea of creating a Zope product for creating
JPython applets within Zope. I thought this might be a way to increase the
capabilities of Zope on the client-side while remaining firmly grounded in
Python and simultaneously giving me an excuse to play with JPython and
The following should work in your nested standard_html_footer to call the
higher level one without infinite recursion:
dtml-with "PARENTS[1]"
dtml-var standard_html_footer
/dtml-with
hth,
Casey D.
___
Zope-Dev maillist - [EMAIL PROTECTED]
Cesar A. K. Grossmann wrote:
Hi!
I'm trying to emulate an outter join in a Z SQL, but Zope crashes every
time I try the query.
...
What is wrong? What I can do to get the job done (I need to fill an
multiselect with 'codigo', 'nome' from 'cad_exportacao', and if exists
any 'codigo' for
Duh, maybe I should learn to read.
Maybe try this sql:
select codigo, nome, case when codigo in
select codigo from user_codigo
where username = dtml-sqlvar username type=string
and tipo = 'E' )
then 'selected' else null end as select_attr
from
Keith Larsen Wrote:
I have found a way to kill the user via a link or straight html url
http://username:[EMAIL PROTECTED]:8080/testfolder?ids:list=acl_users;
manage_delObjects:method=Delete
now if I can get my lynx to run it ok I will be set. ( lynx does not like
it so far but works fine
u expect of it when both searches come up empty:
dtml-in "Catalog(args)+Catalog(other args)"
...
dtml-else
...
/dtml-in
IMHO this is a very minor side affect, and well worth the gain.
Please scrutinize this patch and pick it apart and let me know what works
and what doesn't or if I'
production version of the feature in one folder that might not be
complete but can be updated, and work on a second copy in another folder
that isn't accessible to everyone yet.
If this won't work please elaborate on your design and maybe someone will
have better idea.
Good Luck!
-Ca
ns the SQL in src. The result is your backend error message
followed by the SQL generated. This should really save time debugging any
dynamic Z SQL methods.
It was moderately tested on Zope 2.2.1/PostgreSQL 7 via PyGreSQLDA. It
should not be database dependant though.
Enjoy.
-Ca
and
the returned object are doing before I can try explaining this behavior.
-Casey Duncan
-Original Message-
From: Jarkko Veijalainen [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 21, 2000 1:17 AM
To: '[EMAIL PROTECTED]'
Cc: '[EMAIL PROTECTED]'
Subject: RE: [Zope] Strange behaviour
what you want. Specify an owner for the method that has
sufficient rights to do what you want and try it again.
Good luck,
-Casey Duncan
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML
There exists a howto on this very subject:
http://www.zope.org/Members/Zen/howto/AdvZCatalogSearching
Look under the "Or" section. Very helpful suggestions.
Enjoy,
Casey Duncan
-Original Message---
From: "Andy McKay" [EMAIL PROTECTED]
To: [EMAIL PROTE
Kevin Howe wrote:
I am trying to access the PARENT of an object in a python class of mine.
I want to use the absolute_url() of the parent in a variable.
I though it could be done the following way, but got an error:
parent=self.PARENTS[0]
aurl = parent.absolute_url()
I then
%',
height='100%')"
This leaves no ambiguity about what is being called, where it is located and
what is being passed to it. This creates more readable code IMHO.
-Casey Duncan
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/
ED]
Subject: Re: [Zope] substring search on zcatalog textindex
On Thu, 10 Aug 2000, Chris Withers wrote:
Casey Duncan wrote:
TextIndexes index individual words separately (using a vocabulary object
to
identify each word in the catalog). All non-alphanumeric characters
(such as
punctuation
L PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [Zope] substring search on zcatalog textindex
Casey Duncan wrote:
So the question is, does anyone know of a simple way to get the zcatalog
to
also find substring matches on a textindex?
--
Peter Armstrong
For Text Indexes you ca
takes on the security
level of the owner of the method even if it is lower than that of the user.
This is in order to prevent certain trojan horse type attacks.
Good Luck,
Casey Duncan
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman
if this
works for Field or Keyword indexes though, I haven't tried it. My though is
it only works for text indexes which should help you anyway.
Good Luck,
Casey Duncan
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
Simon Coles writes:
We have binary files stored in Zope, for example Word documents (but
could be any of a variety of document types).
We would like to be able to index and search the contents of these
files using ZCatalog. So if a Word file contains the word "Fred",
then any search
Dieter Maurer writes:
The existing "quote features" name the context for which quoting
is needed. The context determines what needs to be quoted and
how quoting has to be done.
Your proposal does not state the context but only the how.
Otherwise, I would think such an extension would be
301 - 341 of 341 matches
Mail list logo