cvielma wrote:
Hi there again.
I followed exactly this article:
http://plone.org/documentation/how-to/catalog-anything/view
http://plone.org/documentation/how-to/catalog-anything/view
and it worked (i mean, it index an example file).
but i can't undestand how may i search in Plone and get the results of the
file loaded :S
Of course, i'm still far far away to making it work with a database...
Anyone knows?
First you probably need to understand Zope/Plone's approach
to cataloging - indexes and metadata.
Start with some background reading here
http://docs.zope.org/zope2/zope2book/source/SearchingZCatalog.html
Then you might want to know about ZSQLMethods
http://docs.zope.org/zope2/zope2book/source/RelationalDatabases.html
should help you there.
Next, you need some understanding how Plone uses the above
per default. Most notably the SearchableText index and the
more specific indices and metadata.
Then you need to decide whether you want to use a dedicated
catalog for your external DB for Plone's default one.
If using ZSQLMethods you might skip this.
If you go for a custom dedicated catalog, you need to configure
it and provide the query interface yourself (if you need a UI).
So first try to get the big picture to know your options.
Then decide what's best for your use case.
But it can definitively be done.
Raphael
Thanks and greetings!
cvielma wrote:
Hi there!
I have a doubt whether plone can or cannot list contents in a relational
database in the common search.
I mean:
- I have contacts in a db and i know i can develop a plugin to do
querys to de db, but i would like if when i make a search in the plone
site it returns me the contacts in the database...
Is that possible?
Thanks in advance!!!!!
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers