You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Andrey Kuprianov <an...@gmail.com> on 2013/08/14 13:01:21 UTC
Mixed view server
Hi all,
Can I use Javascript + Erlang view servers together? Any requirements?
Thanks in advance!
Andrey
Re: Mixed view server
Posted by Jython <go...@gmail.com>.
so crazy? more simple, more stable
2013/8/14 Andrey Kuprianov <an...@gmail.com>
> Great! Thanks again.
>
> Andrey
>
>
> On Wed, Aug 14, 2013 at 8:53 PM, Robert Newson <rn...@apache.org> wrote:
>
> > Ah, sorry, I missed the nuance. Certainly each design document can use
> > a different view server.
> >
> > B.
> >
> >
> > On 14 August 2013 14:48, Andrey Kuprianov <an...@gmail.com>
> > wrote:
> > > Ah, so it's possible on a design document level.
> > >
> > > Thanks!
> > >
> > > Andrey
> > >
> > >
> > > On Wed, Aug 14, 2013 at 6:42 PM, Filippo Fadda <
> > > filippo.fadda@programmazione.it> wrote:
> > >
> > >> Yes you can, but you have to store views in different design
> documents.
> > As
> > >> Robert said, the language property is per design document, so you
> can't
> > mix
> > >> views inside the same design document, but you can use different
> design
> > >> documents.
> > >>
> > >> -Filippo
> > >>
> > >> On Aug 14, 2013, at 1:01 PM, Andrey Kuprianov wrote:
> > >>
> > >> > Hi all,
> > >> >
> > >> > Can I use Javascript + Erlang view servers together? Any
> requirements?
> > >> >
> > >> > Thanks in advance!
> > >> >
> > >> > Andrey
> > >>
> > >>
> >
>
Re: Mixed view server
Posted by Andrey Kuprianov <an...@gmail.com>.
Great! Thanks again.
Andrey
On Wed, Aug 14, 2013 at 8:53 PM, Robert Newson <rn...@apache.org> wrote:
> Ah, sorry, I missed the nuance. Certainly each design document can use
> a different view server.
>
> B.
>
>
> On 14 August 2013 14:48, Andrey Kuprianov <an...@gmail.com>
> wrote:
> > Ah, so it's possible on a design document level.
> >
> > Thanks!
> >
> > Andrey
> >
> >
> > On Wed, Aug 14, 2013 at 6:42 PM, Filippo Fadda <
> > filippo.fadda@programmazione.it> wrote:
> >
> >> Yes you can, but you have to store views in different design documents.
> As
> >> Robert said, the language property is per design document, so you can't
> mix
> >> views inside the same design document, but you can use different design
> >> documents.
> >>
> >> -Filippo
> >>
> >> On Aug 14, 2013, at 1:01 PM, Andrey Kuprianov wrote:
> >>
> >> > Hi all,
> >> >
> >> > Can I use Javascript + Erlang view servers together? Any requirements?
> >> >
> >> > Thanks in advance!
> >> >
> >> > Andrey
> >>
> >>
>
Re: Mixed view server
Posted by Robert Newson <rn...@apache.org>.
Ah, sorry, I missed the nuance. Certainly each design document can use
a different view server.
B.
On 14 August 2013 14:48, Andrey Kuprianov <an...@gmail.com> wrote:
> Ah, so it's possible on a design document level.
>
> Thanks!
>
> Andrey
>
>
> On Wed, Aug 14, 2013 at 6:42 PM, Filippo Fadda <
> filippo.fadda@programmazione.it> wrote:
>
>> Yes you can, but you have to store views in different design documents. As
>> Robert said, the language property is per design document, so you can't mix
>> views inside the same design document, but you can use different design
>> documents.
>>
>> -Filippo
>>
>> On Aug 14, 2013, at 1:01 PM, Andrey Kuprianov wrote:
>>
>> > Hi all,
>> >
>> > Can I use Javascript + Erlang view servers together? Any requirements?
>> >
>> > Thanks in advance!
>> >
>> > Andrey
>>
>>
Re: Mixed view server
Posted by Andrey Kuprianov <an...@gmail.com>.
Ah, so it's possible on a design document level.
Thanks!
Andrey
On Wed, Aug 14, 2013 at 6:42 PM, Filippo Fadda <
filippo.fadda@programmazione.it> wrote:
> Yes you can, but you have to store views in different design documents. As
> Robert said, the language property is per design document, so you can't mix
> views inside the same design document, but you can use different design
> documents.
>
> -Filippo
>
> On Aug 14, 2013, at 1:01 PM, Andrey Kuprianov wrote:
>
> > Hi all,
> >
> > Can I use Javascript + Erlang view servers together? Any requirements?
> >
> > Thanks in advance!
> >
> > Andrey
>
>
Re: Mixed view server
Posted by Filippo Fadda <fi...@programmazione.it>.
Yes you can, but you have to store views in different design documents. As Robert said, the language property is per design document, so you can't mix views inside the same design document, but you can use different design documents.
-Filippo
On Aug 14, 2013, at 1:01 PM, Andrey Kuprianov wrote:
> Hi all,
>
> Can I use Javascript + Erlang view servers together? Any requirements?
>
> Thanks in advance!
>
> Andrey
Re: Mixed view server
Posted by Robert Newson <rn...@apache.org>.
Nope, sorry. A design document has a single language setting at the
top-level. This is because all views in the document are written to
the same file and share various internal bits, so it has to be
processed by the same view engine.
B.
On 14 August 2013 12:01, Andrey Kuprianov <an...@gmail.com> wrote:
> Hi all,
>
> Can I use Javascript + Erlang view servers together? Any requirements?
>
> Thanks in advance!
>
> Andrey