Hi all,

first let me tell you how good is this plugin, thumb up to the author!
It just works well and brings a true search engine for symfony project
as well as simplifying so much the use of Zend Lucene.

But of course if I am writing here it is not just to say that :-( I
have 2 questions that I could not solve (I am using the 0.0.7 aka
James Bond version ;-)

1. Custom Indexer
as most of my propel objects use something like 'is_published' in
their data model I wrote some custom indexer to handle the
'shouldIndex()' method, this is very simple. But my question is: how
should I name the file and where to put it?
I found that naming mycustomIndexer.class.php and copying it in the
plugins/sfLucene/lib works but obviously it does not sounds good.
Whenever I try to put the indexer in any lib/ folders lib/, apps/myapp/
lib, or even apps/myapp/modules/sfLucene/lib/ it does not find it
anymore. Any suggestions?

2. Categories
I think I understood what is the use of categories and I am interested
to use it (at least to be able to search within only one type of
propel object).
I tried to have first something like
Blog:
...
  category: [Blog]

Article:
...
  category: [Article]
I tried also to have some variable (%xxx%) categories like in the
documentation but what ever I do, I cannot see any categories in the
'lucene-about myapp', neither a select box to pick one category in the
default view.
One more thing: I am not sure I understand the need of the
'categories' key in my model if the only thing I need is to make sure
that I have a getter getCategory()?
Am I missing something here?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to