You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Andreas Hartmann <an...@apache.org> on 2005/03/01 10:00:30 UTC

Re: svn commit: r155596 - lenya/trunk/src/java/org/apache/lenya/cms/search/usecases/Search.java

Gregor J. Rothfuss wrote:
> Andreas Hartmann wrote:
> 
>> But the actual questions are:
>>
>> 1) Do we want to allow non-document URLs?
>>
>>    If not, the DocumentBuilder is required to return a document
>>    for any URL. But I guess this makes our life a lot easier.
>>    Maybe it is even more important to consider multiple documents
>>    per URL (aggregation), but this is another story.
> 
> 
> one big mistake lenya made in the past was to have all kinds of 
> backdoors and exceptions in the name of "flexibility". usecases become 
> useless if they cannot rely on the publication API. therefore, we should 
> not allow them.

OK, that sounds reasonable. But I have no idea about all the
implications ... :)

>> 2) If so, do we allow the Search usecase to be invoked on them?
>>
>> If (2) is answered with "yes", we cannot extend DocumentUsecase here.
> 
> no again

OK, so we leave everything as it is now.

-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org