Re: Lucene and cocoon-view

2002-06-24 Thread leo leonid


On Monday, June 24, 2002, at 09:56  Uhr, Ugo Cei wrote:

> leo leonid wrote:
>
>> yes, or add the label to the map:aggregate element, this will work, 
>> too.
>
> Unfortunately, it does not :(. I'll try to come up with a 
> self-contained sample later.
>

ensure  your current cocoon it is really a 2.0.3-dev (and not a 
2.1-dev). or just try this
http://localhost:8080/cocoon/documents/index.html?cocoon-view=content
(the documentation uses labels within an aggregation. It is worth to 
study its sitemap.)
you should get an xml document, not transformed to HTML.
it definitely works in 2.0.3-dev (but still doesn't in 2.1-dev)
/Leo




>   Ugo
>
>
> -- Ugo Cei - Consorzio di Bioingegneria e Informatica Medica
> P.le Volontari del Sangue, 2 - 27100 Pavia - Italy
> Phone: +39.0382.525100 - E-mail: [EMAIL PROTECTED]
>
>
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>
>


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: Lucene and cocoon-view

2002-06-24 Thread Ugo Cei

leo leonid wrote:

> yes, or add the label to the map:aggregate element, this will work, too.

Unfortunately, it does not :(. I'll try to come up with a self-contained 
sample later.

Ugo


-- 
Ugo Cei - Consorzio di Bioingegneria e Informatica Medica
P.le Volontari del Sangue, 2 - 27100 Pavia - Italy
Phone: +39.0382.525100 - E-mail: [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




RE: Lucene and cocoon-view

2002-06-21 Thread Vadim Gritsenko

> From: Ugo Cei [mailto:[EMAIL PROTECTED]]
> 
> leo leonid wrote:
> 
> >> When I request "index?cocoon-view=content" I should get the result
of
> >> the aggregation before the transformation, right?
> >
> > no, you missed to add a label="content" to somepart or anotherpart.

Or map:aggregate itself.


> > /Leo
> 
> The label is associated with all of the generators in the
map:components
> section:

Labels are *not* assigned automagically, thus, Aggregator generator does
*not* have *any* label by default.

Use either:


 
 


Or:


 
 



Vadim



>
> 
> And it works if I don't use aggregation. Do you mean that I must
> manually declare the label if using map:part ?
> 
>   Ugo
> 
> --
> Ugo Cei - Consorzio di Bioingegneria e Informatica Medica
> P.le Volontari del Sangue, 2 - 27100 Pavia - Italy
> Phone: +39.0382.525100 - E-mail: [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: Lucene and cocoon-view

2002-06-21 Thread leo leonid


On Friday, June 21, 2002, at 04:57  Uhr, Ugo Cei wrote:

> leo leonid wrote:
>
>>> When I request "index?cocoon-view=content" I should get the result of 
>>> the aggregation before the transformation, right?
>> no, you missed to add a label="content" to somepart or anotherpart.
>> /Leo
>
> The label is associated with all of the generators in the 
> map:components section:
>
>   
>
> And it works if I don't use aggregation. Do you mean that I must 
> manually declare the label if using map:part ?
>

yes, or add the label to the map:aggregate element, this will work, too.
/Leo


>   Ugo
>
> -- Ugo Cei - Consorzio di Bioingegneria e Informatica Medica
> P.le Volontari del Sangue, 2 - 27100 Pavia - Italy
> Phone: +39.0382.525100 - E-mail: [EMAIL PROTECTED]
>
>
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>
>


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: Lucene and cocoon-view

2002-06-21 Thread Ugo Cei

leo leonid wrote:

>> When I request "index?cocoon-view=content" I should get the result of 
>> the aggregation before the transformation, right?
> 
> 
> no, you missed to add a label="content" to somepart or anotherpart.
> /Leo

The label is associated with all of the generators in the map:components 
section:

   

And it works if I don't use aggregation. Do you mean that I must 
manually declare the label if using map:part ?

Ugo

-- 
Ugo Cei - Consorzio di Bioingegneria e Informatica Medica
P.le Volontari del Sangue, 2 - 27100 Pavia - Italy
Phone: +39.0382.525100 - E-mail: [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: Lucene and cocoon-view

2002-06-21 Thread leo leonid


On Friday, June 21, 2002, at 04:34  Uhr, Ugo Cei wrote:

> Vadim Gritsenko wrote:
>>> From: Ugo Cei [mailto:[EMAIL PROTECTED]]
>>>
>>> Unfortunately, it looks like views are broken when using aggregations,
>>> even in 2.0.3-dev. Can anyone confirm this?
>> Huh?
>> I mean, what's broken in 2.0.3? Short test case, please.
>
>  
>   
>
>   
>  
>
>  ...
>
> 
>   
> 
> 
>   
>   
>   
> 
>
>  ...
>
> When I request "index?cocoon-view=content" I should get the result of 
> the aggregation before the transformation, right?

no, you missed to add a label="content" to somepart or anotherpart.
/Leo


> What I get instead is something that looks like a partial aggregation, 
> but transformed.
>
> This is using today's 2.0.3 CVS branch.
>
>   Ugo
>
> -- Ugo Cei - Consorzio di Bioingegneria e Informatica Medica
> P.le Volontari del Sangue, 2 - 27100 Pavia - Italy
> Phone: +39.0382.525100 - E-mail: [EMAIL PROTECTED]
>
>
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>
>


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: Lucene and cocoon-view

2002-06-21 Thread Ugo Cei

Vadim Gritsenko wrote:
>>From: Ugo Cei [mailto:[EMAIL PROTECTED]]
>>
>>Unfortunately, it looks like views are broken when using aggregations,
>>even in 2.0.3-dev. Can anyone confirm this?
> 
> 
> Huh?
> 
> I mean, what's broken in 2.0.3? Short test case, please.

  
   

   
  

  ...

 
   
 
 
   
   
   
 

  ...

When I request "index?cocoon-view=content" I should get the result of 
the aggregation before the transformation, right? What I get instead is 
something that looks like a partial aggregation, but transformed.

This is using today's 2.0.3 CVS branch.

Ugo

-- 
Ugo Cei - Consorzio di Bioingegneria e Informatica Medica
P.le Volontari del Sangue, 2 - 27100 Pavia - Italy
Phone: +39.0382.525100 - E-mail: [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: Lucene and cocoon-view

2002-06-21 Thread leo leonid


On Friday, June 21, 2002, at 03:46  Uhr, Vadim Gritsenko wrote:

>> From: Ugo Cei [mailto:[EMAIL PROTECTED]]
>>
>> Unfortunately, it looks like views are broken when using aggregations,
>> even in 2.0.3-dev. Can anyone confirm this?
>

no, works in 2.0.3. but doesn't in 2.1.
/Leo



> Huh?
>
> I mean, what's broken in 2.0.3? Short test case, please.
>
> Vadim
>
>
>>  Ugo
>>
>> --
>> Ugo Cei - Consorzio di Bioingegneria e Informatica Medica
>> P.le Volontari del Sangue, 2 - 27100 Pavia - Italy
>> Phone: +39.0382.525100 - E-mail: [EMAIL PROTECTED]
>
>
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>
>


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




RE: Lucene and cocoon-view

2002-06-21 Thread Vadim Gritsenko

> From: Ugo Cei [mailto:[EMAIL PROTECTED]]
> 
> Unfortunately, it looks like views are broken when using aggregations,
> even in 2.0.3-dev. Can anyone confirm this?

Huh?

I mean, what's broken in 2.0.3? Short test case, please.

Vadim


>   Ugo
> 
> --
> Ugo Cei - Consorzio di Bioingegneria e Informatica Medica
> P.le Volontari del Sangue, 2 - 27100 Pavia - Italy
> Phone: +39.0382.525100 - E-mail: [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: Lucene and cocoon-view

2002-06-21 Thread Ugo Cei

Unfortunately, it looks like views are broken when using aggregations, 
even in 2.0.3-dev. Can anyone confirm this?

Ugo

-- 
Ugo Cei - Consorzio di Bioingegneria e Informatica Medica
P.le Volontari del Sangue, 2 - 27100 Pavia - Italy
Phone: +39.0382.525100 - E-mail: [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




RE: Lucene and cocoon-view

2002-06-21 Thread Vadim Gritsenko

> From: Piroumian Konstantin [mailto:[EMAIL PROTECTED]]
> 
> > From: M Al-yahya [mailto:[EMAIL PROTECTED]]
> >
> > Hi Lajos,
> >
> > At Last... problem solved :)
> >
> > Well here's  what I did :
> >
> > 1. I realized that I was having the same problem as you the 
> > should be inside the  and not after it.
> 
>  should be after . Never heard of the opposite.

Here goes "me-too" :)

 
> > 2. Made sure that in the pipeline the 
> > where the view
> > label is inserted was returning a mime-type "text/xml" -as you
> > suggested-
> >  > label="content"/>
> 
> The mime-type attribute is ignored in .

And it even does not make sense to have it here.

 
Vadim


> > 3. when creating the index I inserted in the base URL :
> > http://localhost:8080/cocoon/myapps/home.section
> >and not
> > http://localhost:8080/cocoon/myapps
> > 4. The index was successfully created.
> 
> Maybe only the 3rd step was needed?
> Can abybody from developers confirm my assumtions? Otherwise the
sitemap
> schema should be corrected.
> 
> Konstantin
> 
...


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




RE: Lucene and cocoon-view

2002-06-21 Thread Piroumian Konstantin

> From: M Al-yahya [mailto:[EMAIL PROTECTED]] 
> 
> Hi Lajos,
> 
> At Last... problem solved :)
> 
> Well here's  what I did :
> 
> 1. I realized that I was having the same problem as you the 
> should be inside the  and not after it.

 should be after . Never heard of the opposite.

> 2. Made sure that in the pipeline the  
> where the view
> label is inserted was returning a mime-type "text/xml" -as you
> suggested-
>  label="content"/>

The mime-type attribute is ignored in .

> 
> 3. when creating the index I inserted in the base URL :
>   http://localhost:8080/cocoon/myapps/home.section 
>and not
>   http://localhost:8080/cocoon/myapps
> 4. The index was successfully created.

Maybe only the 3rd step was needed?
Can abybody from developers confirm my assumtions? Otherwise the sitemap
schema should be corrected.

Konstantin

> 
> Thanks for your suggestions Lajos,
> Maha
> 
> M Al-yahya wrote:
> > 
> > Hi Lajos,
> > 
> > Thanks for your reply.
> > 1. I can not find a SimpleLuceneXMLIndexerImpl in the core.log
> > 2. The view is not working. When I request
> > http://localhost:8080/cocoon/myapps?cocoon-view=content
> >I see the transformed page which I could see using :
> > http://localhost:8080/cocoon/myapps
> >and not the actual xml content.
> > 
> > I think I'm having a problem with views, I've read the 
> documentations
> > and looked at examples but could not figure out what is wrong here.
> > 
> > Cheers,
> > Maha
> > 
> > Lajos Moczar wrote:
> > >
> > > Hi Maha -
> > >
> > > Do you have a message in core.log from 
> SimpleLuceneXMLIndexerImpl saying
> > > something about "Ignoring ... "? Check that the view is working
> > > correctly: call 
> http://localhost:8080/cocoon/myapps?cocoon-view=content
> > > and make sure it is returning XML with a mime-type of 
> text/xml. If not,
> > > Lucene will ignore it. Of course, 
> http://localhost:8080/cocoon/myapps
> > > has to be a real URI.
> > >
> > > Regards,
> > >
> > > Lajos
> > > galatea.com
> > > Cocoon training, consulting & support
> > >
> > > Maha Al-Yahya wrote:
> > >
> > > > Hi Lajos,
> > > > Good for you, but unfourtunately I'm still having a 
> problem running the
> > > > search on my webapp. I use the sample search with 
> cocoon and input the
> > > > base URL as:
> > > > http://localhost:8080/cocoon/myapps
> > > > (Iwant cocoon to search all documents in myapps directory)
> > > >
> > > > in myapps sub-sitemap I put the following within components:
> > > > 
> > > >  
> > > >  
> > > > 
> > > > 
> > > >  
> > > >
> > > > and in the pipeline section of myapps sitemap like this:
> > > > 
> > > >   
> > > >   
> > > >   
> > > > 
> > > >
> > > > However when I click on create button, the created 
> false value turns to
> > > > true and when I see the statistics page everthing is 
> zero and If I search
> > > > for any word nothing appears. I checked the log files 
> but nothing helped.
> > > >
> > > > Any advice or suggestions?
> > > >
> > > > Cheers,
> > > > Maha
> > > >
> > > > On Thu, 20 Jun 2002, Lajos Moczar wrote:
> > > >
> > > >
> > > >>I found my problem; just an oopsee (yes, this is a 
> technical term ;) ),
> > > >>nothing wrong with Cocoon 2.0.2. I had defined a view 
> called "content"
> > > >>but fat-fingered the map:views section into the 
> map:components section.
> > > >>Once I fixed that, Lucene worked like a charm.
> > > >>
> > > >>Lajos
> > > >>
> > > >>
> > > >>leo leonid wrote:
> > > >>
> > > >>
> > > >>>On Thursday, June 20, 2002, at 04:12  Uhr, M Al-yahya wrote:
> > > >>>
> > > >>>
> > > Hi Leo,
> > > 
> > > I'm using Cocoon's latest release cocoon 2.0.2 and 
> Tomcat 4.0.4-b3
> > > 
> > > Cheers,
> > > Maha
> > > 
> > > 
> > > >>>hmm... I never used the 2.0.2 release, I always used 
> the CVS version,
> > > >>>and everything was fine till beginning of may
> > > >>>(long after the 2.0.2 release) (On may 8 I sent my 
> first mail about this
> > > >>>problem to this list.) Thats why I connected this 
> problem with 2.1-dev.
> > > >>>
> > > >>>Anyway, I now use the 2.0.3 branch and where view-labels within
> > > >>>aggregation and indexing the docs is possible.
> > > >>>But the problem exits (still or again) in the CVS HEAD branch.
> > > >>>/Leo
> > > >>>
> > > >>>
> > > >>>
> > > >>>
> > > >>>
> > > >>>
> > > >>>
> > > leo leonid wrote:
> > > 
> > > 
> > > >On Thursday, June 20, 2002, at 02:57  Uhr, M Al-yahya wrote:
> > > >
> > > >
> > > >>Hello,
> > > >>
> > > >>I'm experimenting with cocoon XML search using lucene.
> > > >>
> > > >
> > > >You are using the the 2.1-dev version of cocoon, right?
> > > >
> > > >
> > > >>At
> > > >>http://localhost:8080/cocoon/search/create if I 
> input the base URL
> > > >>as it
> > > >>is :
> > > >>http://localhost:8080/cocoon/documents/index.html 
> the creation goes on
> > > >>well and the search is good. However, if I input 
> the base URL:

Re: Lucene and cocoon-view

2002-06-21 Thread M Al-yahya

Hi Lajos,

At Last... problem solved :)

Well here's  what I did :

1. I realized that I was having the same problem as you the 
should be inside the  and not after it.
2. Made sure that in the pipeline the  where the view
label is inserted was returning a mime-type "text/xml" -as you
suggested-


3. when creating the index I inserted in the base URL :
http://localhost:8080/cocoon/myapps/home.section 
   and not
http://localhost:8080/cocoon/myapps
4. The index was successfully created.

Thanks for your suggestions Lajos,
Maha

M Al-yahya wrote:
> 
> Hi Lajos,
> 
> Thanks for your reply.
> 1. I can not find a SimpleLuceneXMLIndexerImpl in the core.log
> 2. The view is not working. When I request
> http://localhost:8080/cocoon/myapps?cocoon-view=content
>I see the transformed page which I could see using :
> http://localhost:8080/cocoon/myapps
>and not the actual xml content.
> 
> I think I'm having a problem with views, I've read the documentations
> and looked at examples but could not figure out what is wrong here.
> 
> Cheers,
> Maha
> 
> Lajos Moczar wrote:
> >
> > Hi Maha -
> >
> > Do you have a message in core.log from SimpleLuceneXMLIndexerImpl saying
> > something about "Ignoring ... "? Check that the view is working
> > correctly: call http://localhost:8080/cocoon/myapps?cocoon-view=content
> > and make sure it is returning XML with a mime-type of text/xml. If not,
> > Lucene will ignore it. Of course, http://localhost:8080/cocoon/myapps
> > has to be a real URI.
> >
> > Regards,
> >
> > Lajos
> > galatea.com
> > Cocoon training, consulting & support
> >
> > Maha Al-Yahya wrote:
> >
> > > Hi Lajos,
> > > Good for you, but unfourtunately I'm still having a problem running the
> > > search on my webapp. I use the sample search with cocoon and input the
> > > base URL as:
> > > http://localhost:8080/cocoon/myapps
> > > (Iwant cocoon to search all documents in myapps directory)
> > >
> > > in myapps sub-sitemap I put the following within components:
> > > 
> > >  
> > >  
> > > 
> > > 
> > >  
> > >
> > > and in the pipeline section of myapps sitemap like this:
> > > 
> > >   
> > >   
> > >   
> > > 
> > >
> > > However when I click on create button, the created false value turns to
> > > true and when I see the statistics page everthing is zero and If I search
> > > for any word nothing appears. I checked the log files but nothing helped.
> > >
> > > Any advice or suggestions?
> > >
> > > Cheers,
> > > Maha
> > >
> > > On Thu, 20 Jun 2002, Lajos Moczar wrote:
> > >
> > >
> > >>I found my problem; just an oopsee (yes, this is a technical term ;) ),
> > >>nothing wrong with Cocoon 2.0.2. I had defined a view called "content"
> > >>but fat-fingered the map:views section into the map:components section.
> > >>Once I fixed that, Lucene worked like a charm.
> > >>
> > >>Lajos
> > >>
> > >>
> > >>leo leonid wrote:
> > >>
> > >>
> > >>>On Thursday, June 20, 2002, at 04:12  Uhr, M Al-yahya wrote:
> > >>>
> > >>>
> > Hi Leo,
> > 
> > I'm using Cocoon's latest release cocoon 2.0.2 and Tomcat 4.0.4-b3
> > 
> > Cheers,
> > Maha
> > 
> > 
> > >>>hmm... I never used the 2.0.2 release, I always used the CVS version,
> > >>>and everything was fine till beginning of may
> > >>>(long after the 2.0.2 release) (On may 8 I sent my first mail about this
> > >>>problem to this list.) Thats why I connected this problem with 2.1-dev.
> > >>>
> > >>>Anyway, I now use the 2.0.3 branch and where view-labels within
> > >>>aggregation and indexing the docs is possible.
> > >>>But the problem exits (still or again) in the CVS HEAD branch.
> > >>>/Leo
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> > leo leonid wrote:
> > 
> > 
> > >On Thursday, June 20, 2002, at 02:57  Uhr, M Al-yahya wrote:
> > >
> > >
> > >>Hello,
> > >>
> > >>I'm experimenting with cocoon XML search using lucene.
> > >>
> > >
> > >You are using the the 2.1-dev version of cocoon, right?
> > >
> > >
> > >>At
> > >>http://localhost:8080/cocoon/search/create if I input the base URL
> > >>as it
> > >>is :
> > >>http://localhost:8080/cocoon/documents/index.html the creation goes on
> > >>well and the search is good. However, if I input the base URL:
> > >>http://localhost:8080/cocoon/mywebapp/index.html
> > >>the index statistics shows everything 0 and I don't see anything
> > >>helpful
> > >>in the logs. I think it has to do with the statement "The base url
> > >>should be cocoon-view aware of content-labels links, and content." I've
> > >>read the concepts/view section of the documentation but could not
> > >>figure
> > >>out what must I do to make my XML files cocoon-view aware.
> > >>
> > >>
> > >everything right, only something prevents the 2.1-dev version from
> > >interpreting labels within an aggregation
> > >
> > >
> > >>Any suggestions?
> 

Re: Lucene and cocoon-view

2002-06-21 Thread M Al-yahya

Hi Lajos,

Thanks for your reply.
1. I can not find a SimpleLuceneXMLIndexerImpl in the core.log
2. The view is not working. When I request 
http://localhost:8080/cocoon/myapps?cocoon-view=content
   I see the transformed page which I could see using :
http://localhost:8080/cocoon/myapps
   and not the actual xml content.

I think I'm having a problem with views, I've read the documentations
and looked at examples but could not figure out what is wrong here.

Cheers,
Maha

Lajos Moczar wrote:
> 
> Hi Maha -
> 
> Do you have a message in core.log from SimpleLuceneXMLIndexerImpl saying
> something about "Ignoring ... "? Check that the view is working
> correctly: call http://localhost:8080/cocoon/myapps?cocoon-view=content
> and make sure it is returning XML with a mime-type of text/xml. If not,
> Lucene will ignore it. Of course, http://localhost:8080/cocoon/myapps
> has to be a real URI.
> 
> Regards,
> 
> Lajos
> galatea.com
> Cocoon training, consulting & support
> 
> Maha Al-Yahya wrote:
> 
> > Hi Lajos,
> > Good for you, but unfourtunately I'm still having a problem running the
> > search on my webapp. I use the sample search with cocoon and input the
> > base URL as:
> > http://localhost:8080/cocoon/myapps
> > (Iwant cocoon to search all documents in myapps directory)
> >
> > in myapps sub-sitemap I put the following within components:
> > 
> >  
> >  
> > 
> > 
> >  
> >
> > and in the pipeline section of myapps sitemap like this:
> > 
> >   
> >   
> >   
> > 
> >
> > However when I click on create button, the created false value turns to
> > true and when I see the statistics page everthing is zero and If I search
> > for any word nothing appears. I checked the log files but nothing helped.
> >
> > Any advice or suggestions?
> >
> > Cheers,
> > Maha
> >
> > On Thu, 20 Jun 2002, Lajos Moczar wrote:
> >
> >
> >>I found my problem; just an oopsee (yes, this is a technical term ;) ),
> >>nothing wrong with Cocoon 2.0.2. I had defined a view called "content"
> >>but fat-fingered the map:views section into the map:components section.
> >>Once I fixed that, Lucene worked like a charm.
> >>
> >>Lajos
> >>
> >>
> >>leo leonid wrote:
> >>
> >>
> >>>On Thursday, June 20, 2002, at 04:12  Uhr, M Al-yahya wrote:
> >>>
> >>>
> Hi Leo,
> 
> I'm using Cocoon's latest release cocoon 2.0.2 and Tomcat 4.0.4-b3
> 
> Cheers,
> Maha
> 
> 
> >>>hmm... I never used the 2.0.2 release, I always used the CVS version,
> >>>and everything was fine till beginning of may
> >>>(long after the 2.0.2 release) (On may 8 I sent my first mail about this
> >>>problem to this list.) Thats why I connected this problem with 2.1-dev.
> >>>
> >>>Anyway, I now use the 2.0.3 branch and where view-labels within
> >>>aggregation and indexing the docs is possible.
> >>>But the problem exits (still or again) in the CVS HEAD branch.
> >>>/Leo
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> leo leonid wrote:
> 
> 
> >On Thursday, June 20, 2002, at 02:57  Uhr, M Al-yahya wrote:
> >
> >
> >>Hello,
> >>
> >>I'm experimenting with cocoon XML search using lucene.
> >>
> >
> >You are using the the 2.1-dev version of cocoon, right?
> >
> >
> >>At
> >>http://localhost:8080/cocoon/search/create if I input the base URL
> >>as it
> >>is :
> >>http://localhost:8080/cocoon/documents/index.html the creation goes on
> >>well and the search is good. However, if I input the base URL:
> >>http://localhost:8080/cocoon/mywebapp/index.html
> >>the index statistics shows everything 0 and I don't see anything
> >>helpful
> >>in the logs. I think it has to do with the statement "The base url
> >>should be cocoon-view aware of content-labels links, and content." I've
> >>read the concepts/view section of the documentation but could not
> >>figure
> >>out what must I do to make my XML files cocoon-view aware.
> >>
> >>
> >everything right, only something prevents the 2.1-dev version from
> >interpreting labels within an aggregation
> >
> >
> >>Any suggestions?
> >>
> >>
> >writing a patch or waiting for the bug fix or using cocoon 2.03 :-(
> >/Leo
> >
> >
> >>Cheers,
> >>Maha
> >>
> >>-
> >>Please check that your question  has not already been answered in the
> >>FAQ before posting. 
> >>
> >>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> >>For additional commands, e-mail:   <[EMAIL PROTECTED]>
> >>
> >>
> >-
> >Please check that your question  has not already been answered in the
> >FAQ before posting. 
> >
> >To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> >For addit

Re: Lucene and cocoon-view

2002-06-20 Thread Lajos Moczar

Hi Maha -

Do you have a message in core.log from SimpleLuceneXMLIndexerImpl saying 
something about "Ignoring ... "? Check that the view is working 
correctly: call http://localhost:8080/cocoon/myapps?cocoon-view=content 
and make sure it is returning XML with a mime-type of text/xml. If not, 
Lucene will ignore it. Of course, http://localhost:8080/cocoon/myapps 
has to be a real URI.

Regards,

Lajos
galatea.com
Cocoon training, consulting & support


Maha Al-Yahya wrote:

> Hi Lajos,
> Good for you, but unfourtunately I'm still having a problem running the
> search on my webapp. I use the sample search with cocoon and input the
> base URL as:
> http://localhost:8080/cocoon/myapps
> (Iwant cocoon to search all documents in myapps directory)
> 
> in myapps sub-sitemap I put the following within components:
> 
>  
>  
> 
> 
>  
> 
> and in the pipeline section of myapps sitemap like this:
> 
>   
>   
>   
> 
> 
> However when I click on create button, the created false value turns to
> true and when I see the statistics page everthing is zero and If I search
> for any word nothing appears. I checked the log files but nothing helped.
> 
> Any advice or suggestions?
> 
> Cheers,
> Maha
> 
> On Thu, 20 Jun 2002, Lajos Moczar wrote:
> 
> 
>>I found my problem; just an oopsee (yes, this is a technical term ;) ), 
>>nothing wrong with Cocoon 2.0.2. I had defined a view called "content" 
>>but fat-fingered the map:views section into the map:components section. 
>>Once I fixed that, Lucene worked like a charm.
>>
>>Lajos
>>
>>
>>leo leonid wrote:
>>
>>
>>>On Thursday, June 20, 2002, at 04:12  Uhr, M Al-yahya wrote:
>>>
>>>
Hi Leo,

I'm using Cocoon's latest release cocoon 2.0.2 and Tomcat 4.0.4-b3

Cheers,
Maha


>>>hmm... I never used the 2.0.2 release, I always used the CVS version, 
>>>and everything was fine till beginning of may
>>>(long after the 2.0.2 release) (On may 8 I sent my first mail about this 
>>>problem to this list.) Thats why I connected this problem with 2.1-dev.
>>>
>>>Anyway, I now use the 2.0.3 branch and where view-labels within 
>>>aggregation and indexing the docs is possible.
>>>But the problem exits (still or again) in the CVS HEAD branch.
>>>/Leo
>>>
>>>
>>>
>>>
>>>
>>>
>>>
leo leonid wrote:


>On Thursday, June 20, 2002, at 02:57  Uhr, M Al-yahya wrote:
>
>
>>Hello,
>>
>>I'm experimenting with cocoon XML search using lucene.
>>
>
>You are using the the 2.1-dev version of cocoon, right?
>
>
>>At
>>http://localhost:8080/cocoon/search/create if I input the base URL 
>>as it
>>is :
>>http://localhost:8080/cocoon/documents/index.html the creation goes on
>>well and the search is good. However, if I input the base URL:
>>http://localhost:8080/cocoon/mywebapp/index.html
>>the index statistics shows everything 0 and I don't see anything 
>>helpful
>>in the logs. I think it has to do with the statement "The base url
>>should be cocoon-view aware of content-labels links, and content." I've
>>read the concepts/view section of the documentation but could not 
>>figure
>>out what must I do to make my XML files cocoon-view aware.
>>
>>
>everything right, only something prevents the 2.1-dev version from
>interpreting labels within an aggregation
>
>
>>Any suggestions?
>>
>>
>writing a patch or waiting for the bug fix or using cocoon 2.03 :-(
>/Leo
>
>
>>Cheers,
>>Maha
>>
>>-
>>Please check that your question  has not already been answered in the
>>FAQ before posting. 
>>
>>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>>For additional commands, e-mail:   <[EMAIL PROTECTED]>
>>
>>
>-
>Please check that your question  has not already been answered in the
>FAQ before posting. 
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail:   <[EMAIL PROTECTED]>
>

-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>


>>>
>>>-
>>>Please check that your question  has not already been answered in the
>>>FAQ before posting. 
>>>
>>>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>>>For additional commands, e-mail:   <[EMAIL PROTECTED]>
>>>
>>>
>>
>>
>>
>>

Re: Lucene and cocoon-view

2002-06-20 Thread Maha Al-Yahya

Hi Lajos,
Good for you, but unfourtunately I'm still having a problem running the
search on my webapp. I use the sample search with cocoon and input the
base URL as:
http://localhost:8080/cocoon/myapps
(Iwant cocoon to search all documents in myapps directory)

in myapps sub-sitemap I put the following within components:

 
 


 

and in the pipeline section of myapps sitemap like this:

  
  
  


However when I click on create button, the created false value turns to
true and when I see the statistics page everthing is zero and If I search
for any word nothing appears. I checked the log files but nothing helped.

Any advice or suggestions?

Cheers,
Maha

On Thu, 20 Jun 2002, Lajos Moczar wrote:

> I found my problem; just an oopsee (yes, this is a technical term ;) ), 
> nothing wrong with Cocoon 2.0.2. I had defined a view called "content" 
> but fat-fingered the map:views section into the map:components section. 
> Once I fixed that, Lucene worked like a charm.
> 
> Lajos
> 
> 
> leo leonid wrote:
> 
> > 
> > On Thursday, June 20, 2002, at 04:12  Uhr, M Al-yahya wrote:
> > 
> >> Hi Leo,
> >>
> >> I'm using Cocoon's latest release cocoon 2.0.2 and Tomcat 4.0.4-b3
> >>
> >> Cheers,
> >> Maha
> >>
> > 
> > hmm... I never used the 2.0.2 release, I always used the CVS version, 
> > and everything was fine till beginning of may
> > (long after the 2.0.2 release) (On may 8 I sent my first mail about this 
> > problem to this list.) Thats why I connected this problem with 2.1-dev.
> > 
> > Anyway, I now use the 2.0.3 branch and where view-labels within 
> > aggregation and indexing the docs is possible.
> > But the problem exits (still or again) in the CVS HEAD branch.
> > /Leo
> > 
> > 
> > 
> > 
> > 
> > 
> >> leo leonid wrote:
> >>
> >>>
> >>> On Thursday, June 20, 2002, at 02:57  Uhr, M Al-yahya wrote:
> >>>
>  Hello,
> 
>  I'm experimenting with cocoon XML search using lucene.
> >>>
> >>>
> >>> You are using the the 2.1-dev version of cocoon, right?
> >>>
>  At
>  http://localhost:8080/cocoon/search/create if I input the base URL 
>  as it
>  is :
>  http://localhost:8080/cocoon/documents/index.html the creation goes on
>  well and the search is good. However, if I input the base URL:
>  http://localhost:8080/cocoon/mywebapp/index.html
>  the index statistics shows everything 0 and I don't see anything 
>  helpful
>  in the logs. I think it has to do with the statement "The base url
>  should be cocoon-view aware of content-labels links, and content." I've
>  read the concepts/view section of the documentation but could not 
>  figure
>  out what must I do to make my XML files cocoon-view aware.
> 
> >>>
> >>> everything right, only something prevents the 2.1-dev version from
> >>> interpreting labels within an aggregation
> >>>
>  Any suggestions?
> 
> >>> writing a patch or waiting for the bug fix or using cocoon 2.03 :-(
> >>> /Leo
> >>>
>  Cheers,
>  Maha
> 
>  -
>  Please check that your question  has not already been answered in the
>  FAQ before posting. 
> 
>  To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>  For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 
> 
> >>>
> >>> -
> >>> Please check that your question  has not already been answered in the
> >>> FAQ before posting. 
> >>>
> >>> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> >>> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> >>
> >>
> >> -
> >> Please check that your question  has not already been answered in the
> >> FAQ before posting. 
> >>
> >> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> >> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> >>
> >>
> > 
> > 
> > -
> > Please check that your question  has not already been answered in the
> > FAQ before posting. 
> > 
> > To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> > For additional commands, e-mail:   <[EMAIL PROTECTED]>
> > 
> > 
> 
> 
> 
> 
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. 
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 
> 


-
Please check that your question  has not already been answered in the
FAQ before posting.