You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by "Weaver, Scott" <Sw...@rippe.com> on 2003/05/15 17:13:47 UTC

RE: Search Engine

Lucene is supposed to be really powerful.

http://jakarta.apache.org/lucene/docs/index.html

http://jakarta.apache.org/lucene/docs/resources.html

has some articles related to Lucene.  The Javaworld one pretty much put Lucene at the top of the Java based search engine api's.


*===================================*
* Scott T Weaver                    *
* Jakarta Jetspeed Portal Project   *
* weaver@apache.org                 *
*===================================*
  


> -----Original Message-----
> From: herbert.pfleger@bundesbank.de [mailto:herbert.pfleger@bundesbank.de]
> Sent: Thursday, May 15, 2003 12:04 PM
> To: jetspeed-user@jakarta.apache.org
> Subject: Search Engine
> 
> Hi all,
> 
> just a little question.
> is there something like a search engine/query engine in jetspeed or in
> jakarta or in another open source project?
> And has anybody experience using this engine? Is it good working, or has
> it
> some weak points and which?
> 
> Thanks for help.
> 
> Regards Herb
> 
> 
> 
> ______________________________________________________________________
> --
> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
> Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
> irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
> vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte
> Weitergabe dieser Mail oder von Teilen dieser Mail ist nicht gestattet.
> 
> Wir haben alle verkehrsüblichen Maßnahmen unternommen, um das Risiko der
> Verbreitung virenbefallener Software oder E-Mails zu minimieren, dennoch
> raten wir Ihnen, Ihre eigenen Virenkontrollen auf alle Anhänge an dieser
> Nachricht durchzuführen. Wir schließen außer für den Fall von Vorsatz oder
> grober Fahrlässigkeit die Haftung für jeglichen Verlust oder Schäden durch
> virenbefallene Software oder E-Mails aus.
> 
> Jede von der Bank versendete E-Mail ist sorgfältig erstellt worden,
> dennoch
> schließen wir die rechtliche Verbindlichkeit aus; sie kann nicht zu einer
> irgendwie gearteten Verpflichtung zu Lasten der Bank ausgelegt werden.
> ______________________________________________________________________
> 
> This e-mail may contain confidential and/or privileged information. If you
> are not the intended recipient (or have received this e-mail in error)
> please notify the sender immediately and destroy this e-mail. Any
> unauthorised copying, disclosure or distribution of  the material in this
> e-mail or of parts hereof is strictly forbidden.
> 
> We have taken precautions to minimize the risk of transmitting software
> viruses but nevertheless advise you to carry out your own virus checks on
> any attachment of this message. We accept no liability for loss or damage
> caused by software viruses except in case of gross negligence or willful
> behaviour.
> 
> Any e-mail messages from the Bank are sent in good faith, but shall not be
> binding or construed as constituting any kind of obligation on the part of
> the Bank.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org

Explicitly invalidating sessions while users login /logout to Portal

Posted by Asif Jan <as...@cern.ch>.

Hi

I want to explicitly invalidate sessions when users click "logout" on the
portal page. I am using  jetspeed action JLogoutUser to logout the users .

And have implemented my CustomAuthentication class which has login and
logout methods . Everything works fine if I dont play with sessions , but if
I try to invalidate session in CustomAuthentication.logout method I get
InvalidSessionState exception.

PLUS
I also need that session shall only be created when a user logs in , where
as jetspeed creates session when we visit the Home screen .


Thanks
Asif



>


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


AW: AW: Search Engine

Posted by Joachim Muller <jo...@wemove.com>.
Hi David.

i am working on a project where the user is very restricted 
in personalisation terms. in fact only HOME can be personalized.
mostly all other pages are based on screens, not on portlets.

my first idea was to create a spider daemon for every role, indexing
the role specific content. (the spider logs on as the roles default 
user.) this seems to be the easiest way to add full text search,
although it's a hack and not perfect (personalised pages are not
indexed correctly, actuality issues due to time lag between spider runs, 
performance). but in our case it would be sufficient.



( sorry, i'm just brainstorming now  ;-) and i am not a jetspeed 
specialist. )

adding only the content that the USER has access to would be much 
better. with a mixed screen/portlet application the only way I
can think of is to create a userbased fulltext index with a spider. 
with a lot of users this would be a lot of performance loss for
the 'real' users, due to stupid indexing.

to index on publication would be much better. (Add Portlet will only
work with static content.) but this approach can be very complex
(every portlet should register with an index manager and should be
able to report changes. the index manager should check for every 
user if the portlet is accessible, construct the appropiate URL 
and update the index. changes of the psml should trigger the 
indexer as well. user specific indexes are still required.)

maybe another way would be to show only the specific portlet as
the search result and not the psml page. but still user specific
indexes would be required.

(i really would like to know how commercial portal toolkits handle
the user specific indexing issue.)

just read scotts mail

yes that's right the solution could be a indexer interface the
portlet author can implement.

joachim






> > just a question. are you working on searching
> > lucene indexes from within the portal or do
> > you also have a concept to CREATE a lucene
> > index based on the portal content (fulltext)?
> >
> Well my first example Lucene portlet indexes the Jetspeed documentation 
> online.
> The customize view would allow the user to add a URL to the index.
> 
> Another idea we are thinking of us indexing the xreg files and adding a 
> fulltext search to the Add Portlet feature.
> Haven't tried that though.
> 
> Anyway Im open to ideas and suggestions.
> I think every site will have its own content, so the first portlet is 
> just an example of how it to do it.
> 
> > the second topic has many questions I am not
> > able to answer very well:
> >
> > - personalisable pages with different content
> > - user specific content
> > - variable meta tags (INDEX FOLLOW) in the default
> >   templates
> > - session ID's in the url
> >
> >
> > did anybody think about that or has experiences
> > with other solutions (e.g. websphere)?
> >
> >
> > joachim muller
> > joachim@wemove.com
> >
> >
> >
> >
> >
> >> -----Ursprungliche Nachricht-----
> >> Von: David Sean Taylor [mailto:david@bluesunrise.com]
> >> Gesendet: Donnerstag, 15. Mai 2003 18:10
> >> An: Jetspeed Users List
> >> Betreff: Re: Search Engine
> >>
> >>
> >>
> >> On Thursday, May 15, 2003, at 08:34  AM, Jeff Linwood wrote:
> >>
> >>> I'd second the use of Lucene. I think it's the most advanced out of
> >>> the open
> >>> source Java search engines. The OnJava.com articles are very good, or
> >>> if you
> >>> are looking for more information, there is a chapter in my book,
> >>> Professional Struts Applications, on using Lucene.  Check out the 
> >>> demo
> >>> application that comes with Lucene if you want to see how to use it.
> >>>
> >>> I'm working on a portlet for using Lucene from within Jetspeed.
> >>>
> >>
> >> We've already started on Lucene integration, see the CVS head under
> >> org.apache.jetspeed.services.lucene. .
> >> Im working on a Lucene Portlet which uses the Lucene service.
> >> It should be committed in the next day or two
> >>
> >> --
> >> David Sean Taylor
> >> Bluesunrise Software
> >> david@bluesunrise.com
> >> +01 707 773-4646
> >>
> >>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> >> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
> >>
> >>
> >>
> 
> --
> David Sean Taylor
> Bluesunrise Software
> david@bluesunrise.com
> +01 707 773-4646
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
> 
> 
> 

Re: AW: Search Engine

Posted by David Sean Taylor <da...@bluesunrise.com>.
On Friday, May 16, 2003, at 02:23  AM, Joachim Muller wrote:

>
> this is really good news! :-)
>
> just a question. are you working on searching
> lucene indexes from within the portal or do
> you also have a concept to CREATE a lucene
> index based on the portal content (fulltext)?
>
Well my first example Lucene portlet indexes the Jetspeed documentation 
online.
The customize view would allow the user to add a URL to the index.

Another idea we are thinking of us indexing the xreg files and adding a 
fulltext search to the Add Portlet feature.
Haven't tried that though.

Anyway Im open to ideas and suggestions.
I think every site will have its own content, so the first portlet is 
just an example of how it to do it.

> the second topic has many questions I am not
> able to answer very well:
>
> - personalisable pages with different content
> - user specific content
> - variable meta tags (INDEX FOLLOW) in the default
>   templates
> - session ID's in the url
>
>
> did anybody think about that or has experiences
> with other solutions (e.g. websphere)?
>
>
> joachim muller
> joachim@wemove.com
>
>
>
>
>
>> -----Ursprungliche Nachricht-----
>> Von: David Sean Taylor [mailto:david@bluesunrise.com]
>> Gesendet: Donnerstag, 15. Mai 2003 18:10
>> An: Jetspeed Users List
>> Betreff: Re: Search Engine
>>
>>
>>
>> On Thursday, May 15, 2003, at 08:34  AM, Jeff Linwood wrote:
>>
>>> I'd second the use of Lucene. I think it's the most advanced out of
>>> the open
>>> source Java search engines. The OnJava.com articles are very good, or
>>> if you
>>> are looking for more information, there is a chapter in my book,
>>> Professional Struts Applications, on using Lucene.  Check out the 
>>> demo
>>> application that comes with Lucene if you want to see how to use it.
>>>
>>> I'm working on a portlet for using Lucene from within Jetspeed.
>>>
>>
>> We've already started on Lucene integration, see the CVS head under
>> org.apache.jetspeed.services.lucene. .
>> Im working on a Lucene Portlet which uses the Lucene service.
>> It should be committed in the next day or two
>>
>> --
>> David Sean Taylor
>> Bluesunrise Software
>> david@bluesunrise.com
>> +01 707 773-4646
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>>
>>
>>

--
David Sean Taylor
Bluesunrise Software
david@bluesunrise.com
+01 707 773-4646



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


AW: Search Engine

Posted by Joachim Muller <jo...@wemove.com>.
this is really good news! :-)

just a question. are you working on searching
lucene indexes from within the portal or do
you also have a concept to CREATE a lucene  
index based on the portal content (fulltext)?

the second topic has many questions I am not 
able to answer very well:

- personalisable pages with different content
- user specific content
- variable meta tags (INDEX FOLLOW) in the default 
  templates
- session ID's in the url


did anybody think about that or has experiences
with other solutions (e.g. websphere)?


joachim muller
joachim@wemove.com





> -----Ursprungliche Nachricht-----
> Von: David Sean Taylor [mailto:david@bluesunrise.com]
> Gesendet: Donnerstag, 15. Mai 2003 18:10
> An: Jetspeed Users List
> Betreff: Re: Search Engine
> 
> 
> 
> On Thursday, May 15, 2003, at 08:34  AM, Jeff Linwood wrote:
> 
> > I'd second the use of Lucene. I think it's the most advanced out of 
> > the open
> > source Java search engines. The OnJava.com articles are very good, or 
> > if you
> > are looking for more information, there is a chapter in my book,
> > Professional Struts Applications, on using Lucene.  Check out the demo
> > application that comes with Lucene if you want to see how to use it.
> >
> > I'm working on a portlet for using Lucene from within Jetspeed.
> >
> 
> We've already started on Lucene integration, see the CVS head under 
> org.apache.jetspeed.services.lucene. .
> Im working on a Lucene Portlet which uses the Lucene service.
> It should be committed in the next day or two
> 
> --
> David Sean Taylor
> Bluesunrise Software
> david@bluesunrise.com
> +01 707 773-4646
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
> 
> 
> 

Torque DataSources and the DatabaseBrowserPortlet?

Posted by jc...@drhorton.com.
Is there any docs or site that discusses how to setup additional data sources for the DatabaseBrowserPortlet? I've setup the primary but I'm kind of unclear how to setup
additional data sources.





---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Re: Search Engine

Posted by David Sean Taylor <da...@bluesunrise.com>.
On Thursday, May 15, 2003, at 08:34  AM, Jeff Linwood wrote:

> I'd second the use of Lucene. I think it's the most advanced out of 
> the open
> source Java search engines. The OnJava.com articles are very good, or 
> if you
> are looking for more information, there is a chapter in my book,
> Professional Struts Applications, on using Lucene.  Check out the demo
> application that comes with Lucene if you want to see how to use it.
>
> I'm working on a portlet for using Lucene from within Jetspeed.
>

We've already started on Lucene integration, see the CVS head under 
org.apache.jetspeed.services.lucene. .
Im working on a Lucene Portlet which uses the Lucene service.
It should be committed in the next day or two

--
David Sean Taylor
Bluesunrise Software
david@bluesunrise.com
+01 707 773-4646




---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


RE: Search Engine

Posted by Carlos Orrego <or...@inflexa.com>.
I would be very excited to see that portlet in action.
Lucene is a great search engine

c

-----Original Message-----
From: Jeff Linwood [mailto:jeff@greenninja.com]
Sent: Thursday, May 15, 2003 11:34 AM
To: Jetspeed Users List
Subject: Re: Search Engine


I'd second the use of Lucene. I think it's the most advanced out of the open
source Java search engines. The OnJava.com articles are very good, or if you
are looking for more information, there is a chapter in my book,
Professional Struts Applications, on using Lucene.  Check out the demo
application that comes with Lucene if you want to see how to use it.

I'm working on a portlet for using Lucene from within Jetspeed.

Jeff
----- Original Message -----
From: "Weaver, Scott" <Sw...@rippe.com>
To: "'Jetspeed Users List'" <je...@jakarta.apache.org>
Sent: Thursday, May 15, 2003 10:13 AM
Subject: RE: Search Engine


Lucene is supposed to be really powerful.

http://jakarta.apache.org/lucene/docs/index.html

http://jakarta.apache.org/lucene/docs/resources.html

has some articles related to Lucene.  The Javaworld one pretty much put
Lucene at the top of the Java based search engine api's.


*===================================*
* Scott T Weaver *
* Jakarta Jetspeed Portal Project *
* weaver@apache.org *
*===================================*



> -----Original Message-----
> From: herbert.pfleger@bundesbank.de [mailto:herbert.pfleger@bundesbank.de]
> Sent: Thursday, May 15, 2003 12:04 PM
> To: jetspeed-user@jakarta.apache.org
> Subject: Search Engine
>
> Hi all,
>
> just a little question.
> is there something like a search engine/query engine in jetspeed or in
> jakarta or in another open source project?
> And has anybody experience using this engine? Is it good working, or has
> it
> some weak points and which?
>
> Thanks for help.
>
> Regards Herb
>
>
>
> ______________________________________________________________________
> --
> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
> Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
> irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
> vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte
> Weitergabe dieser Mail oder von Teilen dieser Mail ist nicht gestattet.
>
> Wir haben alle verkehrsüblichen Maßnahmen unternommen, um das Risiko der
> Verbreitung virenbefallener Software oder E-Mails zu minimieren, dennoch
> raten wir Ihnen, Ihre eigenen Virenkontrollen auf alle Anhänge an dieser
> Nachricht durchzuführen. Wir schließen außer für den Fall von Vorsatz oder
> grober Fahrlässigkeit die Haftung für jeglichen Verlust oder Schäden durch
> virenbefallene Software oder E-Mails aus.
>
> Jede von der Bank versendete E-Mail ist sorgfältig erstellt worden,
> dennoch
> schließen wir die rechtliche Verbindlichkeit aus; sie kann nicht zu einer
> irgendwie gearteten Verpflichtung zu Lasten der Bank ausgelegt werden.
> ______________________________________________________________________
>
> This e-mail may contain confidential and/or privileged information. If you
> are not the intended recipient (or have received this e-mail in error)
> please notify the sender immediately and destroy this e-mail. Any
> unauthorised copying, disclosure or distribution of  the material in this
> e-mail or of parts hereof is strictly forbidden.
>
> We have taken precautions to minimize the risk of transmitting software
> viruses but nevertheless advise you to carry out your own virus checks on
> any attachment of this message. We accept no liability for loss or damage
> caused by software viruses except in case of gross negligence or willful
> behaviour.
>
> Any e-mail messages from the Bank are sent in good faith, but shall not be
> binding or construed as constituting any kind of obligation on the part of
> the Bank.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Re: Search Engine

Posted by Jeff Linwood <je...@greenninja.com>.
I'd second the use of Lucene. I think it's the most advanced out of the open
source Java search engines. The OnJava.com articles are very good, or if you
are looking for more information, there is a chapter in my book,
Professional Struts Applications, on using Lucene.  Check out the demo
application that comes with Lucene if you want to see how to use it.

I'm working on a portlet for using Lucene from within Jetspeed.

Jeff
----- Original Message -----
From: "Weaver, Scott" <Sw...@rippe.com>
To: "'Jetspeed Users List'" <je...@jakarta.apache.org>
Sent: Thursday, May 15, 2003 10:13 AM
Subject: RE: Search Engine


Lucene is supposed to be really powerful.

http://jakarta.apache.org/lucene/docs/index.html

http://jakarta.apache.org/lucene/docs/resources.html

has some articles related to Lucene.  The Javaworld one pretty much put
Lucene at the top of the Java based search engine api's.


*===================================*
* Scott T Weaver *
* Jakarta Jetspeed Portal Project *
* weaver@apache.org *
*===================================*



> -----Original Message-----
> From: herbert.pfleger@bundesbank.de [mailto:herbert.pfleger@bundesbank.de]
> Sent: Thursday, May 15, 2003 12:04 PM
> To: jetspeed-user@jakarta.apache.org
> Subject: Search Engine
>
> Hi all,
>
> just a little question.
> is there something like a search engine/query engine in jetspeed or in
> jakarta or in another open source project?
> And has anybody experience using this engine? Is it good working, or has
> it
> some weak points and which?
>
> Thanks for help.
>
> Regards Herb
>
>
>
> ______________________________________________________________________
> --
> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
> Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
> irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
> vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte
> Weitergabe dieser Mail oder von Teilen dieser Mail ist nicht gestattet.
>
> Wir haben alle verkehrsüblichen Maßnahmen unternommen, um das Risiko der
> Verbreitung virenbefallener Software oder E-Mails zu minimieren, dennoch
> raten wir Ihnen, Ihre eigenen Virenkontrollen auf alle Anhänge an dieser
> Nachricht durchzuführen. Wir schließen außer für den Fall von Vorsatz oder
> grober Fahrlässigkeit die Haftung für jeglichen Verlust oder Schäden durch
> virenbefallene Software oder E-Mails aus.
>
> Jede von der Bank versendete E-Mail ist sorgfältig erstellt worden,
> dennoch
> schließen wir die rechtliche Verbindlichkeit aus; sie kann nicht zu einer
> irgendwie gearteten Verpflichtung zu Lasten der Bank ausgelegt werden.
> ______________________________________________________________________
>
> This e-mail may contain confidential and/or privileged information. If you
> are not the intended recipient (or have received this e-mail in error)
> please notify the sender immediately and destroy this e-mail. Any
> unauthorised copying, disclosure or distribution of  the material in this
> e-mail or of parts hereof is strictly forbidden.
>
> We have taken precautions to minimize the risk of transmitting software
> viruses but nevertheless advise you to carry out your own virus checks on
> any attachment of this message. We accept no liability for loss or damage
> caused by software viruses except in case of gross negligence or willful
> behaviour.
>
> Any e-mail messages from the Bank are sent in good faith, but shall not be
> binding or construed as constituting any kind of obligation on the part of
> the Bank.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org