Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Renaming Indexes?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Juma  
View profile  
 More options Aug 14 2012, 8:40 pm
From: Juma <juma...@gmail.com>
Date: Tue, 14 Aug 2012 17:40:11 -0700 (PDT)
Local: Tues, Aug 14 2012 8:40 pm
Subject: Renaming Indexes?

Hi,

Is there a way to rename an index?

Here is what I am trying to do in short with a document collection of 2-3
million.

"Index1" has column1 and column2 in the map. There is a change request to
add another column to the index but if I change map, its going to rebuild
the entire index (Am I even right on this one?).

What I would like to do it create a new index "Index2" with the appropriate
columns and when its done, rename it back to "Index1"

*Why would I even want to to this?*
I don't want any existing client application to have to change their code
base to start querying on the new column.

Another possible use case is If I decide to make one of my fields Analyzed
or change an Analyzer on an field.I would still want existing clients to be
able to use the old index.

Thanks,
Juma


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Paul Hinett  
View profile  
 More options Aug 14 2012, 8:42 pm
From: Paul Hinett <p...@ukcreativedesigns.com>
Date: Wed, 15 Aug 2012 01:42:02 +0100
Local: Tues, Aug 14 2012 8:42 pm
Subject: Re: [RavenDB] Renaming Indexes?
I asked the same thing last week, Oren said it can't be done i'm afraid.

I hope it could become possible in the future though, as i have
situations like yours with a large data set too.

On 15 August 2012 01:40:11, Juma wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Juma  
View profile  
 More options Aug 14 2012, 8:47 pm
From: Juma <juma...@gmail.com>
Date: Tue, 14 Aug 2012 17:47:28 -0700 (PDT)
Local: Tues, Aug 14 2012 8:47 pm
Subject: Re: Renaming Indexes?

Just to clarify the Client is an UI application where I am exposing the
fields to query based on the metadata for the UI. Basically, I would change
my metadata to start exposing the field for search without recompiling the
code. This would work because, I am using the Advanced Lucene query to
dynamically build Lucene search/query strings.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kijana Woodard  
View profile  
 More options Aug 14 2012, 9:00 pm
From: Kijana Woodard <kijana.wood...@gmail.com>
Date: Tue, 14 Aug 2012 20:00:28 -0500
Local: Tues, Aug 14 2012 9:00 pm
Subject: Re: [RavenDB] Re: Renaming Indexes?

And users are able to add new fields which need to be indexed?
On Aug 14, 2012 7:47 PM, "Juma" <juma...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Juma  
View profile  
 More options Aug 14 2012, 9:17 pm
From: Juma <juma...@gmail.com>
Date: Tue, 14 Aug 2012 18:17:47 -0700 (PDT)
Local: Tues, Aug 14 2012 9:17 pm
Subject: Re: [RavenDB] Re: Renaming Indexes?

Nope, the users wouldn't add new fields to the index.

It would be a power user or a developer changing the index definition
directly using Raven Studio (after testing it). They would also change the
meta data definition that allows searching by the new field.

Then the next time the end user uses the Search UI, the new field will be
available for searching (fully indexed).

Thanks,
Juma


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Oren Eini (Ayende Rahien)  
View profile  
 More options Aug 15 2012, 2:59 am
From: "Oren Eini (Ayende Rahien)" <aye...@ayende.com>
Date: Wed, 15 Aug 2012 09:59:50 +0300
Local: Wed, Aug 15 2012 2:59 am
Subject: Re: [RavenDB] Renaming Indexes?

Juma,
We have no facility for renaming indexes.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Juma  
View profile  
 More options Aug 15 2012, 10:57 am
From: Juma <juma...@gmail.com>
Date: Wed, 15 Aug 2012 07:57:50 -0700 (PDT)
Local: Wed, Aug 15 2012 10:57 am
Subject: Re: [RavenDB] Renaming Indexes?

Thanks Oren.

Just a quick clarification question (probably newbie):

Since the client code has to explicitly use the index name, I would think
as long as there is no structural change in the index, this would be a
non-issue right? Is there a underlying technical challenge involved?

Thanks,
Juma


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Oren Eini (Ayende Rahien)  
View profile  
 More options Aug 15 2012, 11:46 am
From: "Oren Eini (Ayende Rahien)" <aye...@ayende.com>
Date: Wed, 15 Aug 2012 18:46:33 +0300
Local: Wed, Aug 15 2012 11:46 am
Subject: Re: [RavenDB] Renaming Indexes?

Juma,
Indexes are fairly involved internally.
Renaming them isn't as simple as just changing the name, it would means
moving directories (while indexing is still running), updating lot of
internal values, etc.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Juma  
View profile  
 More options Aug 15 2012, 12:53 pm
From: Juma <juma...@gmail.com>
Date: Wed, 15 Aug 2012 09:53:16 -0700 (PDT)
Local: Wed, Aug 15 2012 12:53 pm
Subject: Re: [RavenDB] Renaming Indexes?

I figured as much. Just wanted to hear it from the horse's mouth. :-)

Thanks,
Juma


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »