You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Todd Thiessen <th...@nortel.com> on 2008/12/03 14:53:17 UTC

Nexus "Publish Indexes"

I asked this question on the nexus users list but didn't get a response.
Since Nexus and Maven are closely related, I hope you guys don't mind if
I ask it here.

I was going through the definitive guide and noticed that under
scheduling, there is a task called "Publish Indexes".  The description
in the guide is somewhat limited.

What does "Publish Indexes" mean?  How is this different from simply
rebuilding the index? 

---
Todd Thiessen


AW: Nexus "Publish Indexes"

Posted by "Rouvinez, Jean-Claude" <Je...@ipi.ch>.
Hi,

An issue has been opened concerning the update of the index on the fly:
https://issues.sonatype.org/browse/NEXUS-997

Best Regards
Jean-Claude 

-----Ursprüngliche Nachricht-----
Von: Brian E. Fox [mailto:brianf@reply.infinity.nu] 
Gesendet: Donnerstag, 4. Dezember 2008 16:41
An: Maven Users List
Betreff: RE: Nexus "Publish Indexes"



>BTW. Is it possible to do this without using the scheduler?  Wouldn't
it
>make sense to have a "create index" option when you right click on a
>group so the user can do it manually? 

The group index is created automatically when there's a group made and
any reindex on the group will also update it, but it will also reindex
all the repos in the group. This is why we separated the publish step
from a full reindex. Since the index is created automatically, there's
no need for a create index option.

>The other thing I would like to ask about is this comment:

>"The internal indexes are always updated in realtime..."

>Do you mean the Nexus hosted drepository indexes? If so, I have not
>observed this behaviour. For instance, if I deploy an artifact to my
>Nexus repository, it does not automatically update the index.  I have
>always had to re-index it manually.  Thats actually why I started to
>look at the scheduler to see if I could at least semi-automate it.

I mean the indexes that Nexus uses internally. If you deploy something
and then go to the Nexus UI and search for it, it should be there
immediately with no further action. If you're pulling the index into
m2e, then the publish needs to occur for the previously mentioned
reasons. If you see that it is not indexed immediately and visible from
the UI, check that the user you are logged in to the UI has permissions
to the repo where it exists (the search results are filtered based on
permissions). If you still have problems, then lets discuss more
debugging on the Nexus User list.

--Brian

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: Nexus "Publish Indexes"

Posted by "Brian E. Fox" <br...@reply.infinity.nu>.

>BTW. Is it possible to do this without using the scheduler?  Wouldn't
it
>make sense to have a "create index" option when you right click on a
>group so the user can do it manually? 

The group index is created automatically when there's a group made and
any reindex on the group will also update it, but it will also reindex
all the repos in the group. This is why we separated the publish step
from a full reindex. Since the index is created automatically, there's
no need for a create index option.

>The other thing I would like to ask about is this comment:

>"The internal indexes are always updated in realtime..."

>Do you mean the Nexus hosted drepository indexes? If so, I have not
>observed this behaviour. For instance, if I deploy an artifact to my
>Nexus repository, it does not automatically update the index.  I have
>always had to re-index it manually.  Thats actually why I started to
>look at the scheduler to see if I could at least semi-automate it.

I mean the indexes that Nexus uses internally. If you deploy something
and then go to the Nexus UI and search for it, it should be there
immediately with no further action. If you're pulling the index into
m2e, then the publish needs to occur for the previously mentioned
reasons. If you see that it is not indexed immediately and visible from
the UI, check that the user you are logged in to the UI has permissions
to the repo where it exists (the search results are filtered based on
permissions). If you still have problems, then lets discuss more
debugging on the Nexus User list.

--Brian

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: Nexus "Publish Indexes"

Posted by Todd Thiessen <th...@nortel.com>.
Thanks for the answer. I didn't recieve that response though. I just
went through my inbox. Our corporation mailer may have blocked it. Even
on the nabble site, there is a security warning on your response.

WRT your resonse though, that does answer my question, thank you. I was
always wondering how to create an index for a "group" since I didn't see
that option when I right clicked on a group. This is good to know.

BTW. Is it possible to do this without using the scheduler?  Wouldn't it
make sense to have a "create index" option when you right click on a
group so the user can do it manually? 

The other thing I would like to ask about is this comment:

"The internal indexes are always updated in realtime..."

Do you mean the Nexus hosted drepository indexes? If so, I have not
observed this behaviour. For instance, if I deploy an artifact to my
Nexus repository, it does not automatically update the index.  I have
always had to re-index it manually.  Thats actually why I started to
look at the scheduler to see if I could at least semi-automate it.

---
Todd Thiessen
 

> -----Original Message-----
> From: Brian E. Fox [mailto:brianf@reply.infinity.nu] 
> Sent: Thursday, December 04, 2008 10:17 AM
> To: Maven Users List
> Subject: RE: Nexus "Publish Indexes"
> 
> Hi Todd, I swear I answered this.... yep:
> http://www.nabble.com/Publish-Indexes---td20800360ef34838.html
> 
> --Brian
> 
> -----Original Message-----
> From: Todd Thiessen [mailto:thiessen@nortel.com]
> Sent: Wednesday, December 03, 2008 5:53 AM
> To: Maven Users List
> Subject: Nexus "Publish Indexes"
> 
> I asked this question on the nexus users list but didn't get 
> a response.
> Since Nexus and Maven are closely related, I hope you guys 
> don't mind if I ask it here.
> 
> I was going through the definitive guide and noticed that 
> under scheduling, there is a task called "Publish Indexes".  
> The description in the guide is somewhat limited.
> 
> What does "Publish Indexes" mean?  How is this different from 
> simply rebuilding the index? 
> 
> ---
> Todd Thiessen
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: Nexus "Publish Indexes"

Posted by "Brian E. Fox" <br...@reply.infinity.nu>.
Hi Todd, I swear I answered this.... yep:
http://www.nabble.com/Publish-Indexes---td20800360ef34838.html

--Brian

-----Original Message-----
From: Todd Thiessen [mailto:thiessen@nortel.com] 
Sent: Wednesday, December 03, 2008 5:53 AM
To: Maven Users List
Subject: Nexus "Publish Indexes"

I asked this question on the nexus users list but didn't get a response.
Since Nexus and Maven are closely related, I hope you guys don't mind if
I ask it here.

I was going through the definitive guide and noticed that under
scheduling, there is a task called "Publish Indexes".  The description
in the guide is somewhat limited.

What does "Publish Indexes" mean?  How is this different from simply
rebuilding the index? 

---
Todd Thiessen


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org