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 2004/04/30 10:22:34 UTC

Area prefix "search-"

Hi Lenya developers,

the Lucene search form uses the area prefix "search-"
(search-authoring, search-live etc.). Up to now, this
was not a valid area prefix and DefaultDocument.setArea()
threw an assertion error.

Just FYI - I changed this so that "search-*" is allowed,
but I don't think we should have to hard-code area prefixes
in Java classes for all these cases.

I hope we will find a better solution in 1.4-dev.

-- Andreas


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


Re: Area prefix "search-"

Posted by Andreas Hartmann <an...@apache.org>.
Michael Wechner wrote:
[...]
>>
>> I hope we will find a better solution in 1.4-dev.
> 
> maybe we could reserve the prefix "lenya" or "misc" ... but as said
> before we should reconsider the concept of prefixes anyway ...

Yes, that would simplify things. There are some new
concepts in the upcoming publication API draft, maybe
some of them are useful.

-- Andreas


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


Re: Area prefix "search-"

Posted by Michael Wechner <mi...@wyona.com>.
Andreas Hartmann wrote:

> Hi Lenya developers,
>
> the Lucene search form uses the area prefix "search-"
> (search-authoring, search-live etc.). Up to now, this
> was not a valid area prefix and DefaultDocument.setArea()
> threw an assertion error.
>
> Just FYI - I changed this so that "search-*" is allowed,
> but I don't think we should have to hard-code area prefixes
> in Java classes for all these cases.


agreed

>
> I hope we will find a better solution in 1.4-dev.


maybe we could reserve the prefix "lenya" or "misc" ... but as said
before we should reconsider the concept of prefixes anyway ...

Michi

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


-- 
Michael Wechner
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com              http://cocoon.apache.org/lenya/
michael.wechner@wyona.com                        michi@apache.org


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