﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>Ayende Rahien commented on RavenDB – Defining indexes</title><description>Miguel,
  
Yes, it is available in 4.0 only (relies on the MEF stuff)
</description><link>http://ayende.com/4668/ravendb-defining-indexes#comment20</link><guid>http://ayende.com/4668/ravendb-defining-indexes#comment20</guid><pubDate>Wed, 27 Oct 2010 18:40:38 GMT</pubDate></item><item><title>I've been looking for this... commented on RavenDB – Defining indexes</title><description>Thanks for doing this,  I've been rolling my own index creator.   I can't seem to find it in the assembly though.  I'm using Raven.Client-3.5.  Is this only available on the lightweight assembly?
</description><link>http://ayende.com/4668/ravendb-defining-indexes#comment19</link><guid>http://ayende.com/4668/ravendb-defining-indexes#comment19</guid><pubDate>Wed, 27 Oct 2010 17:45:48 GMT</pubDate></item><item><title>wouzer commented on RavenDB – Defining indexes</title><description>cool, you found why it didnt compile.
  
  
btw. love your work on these projects man.
</description><link>http://ayende.com/4668/ravendb-defining-indexes#comment18</link><guid>http://ayende.com/4668/ravendb-defining-indexes#comment18</guid><pubDate>Fri, 22 Oct 2010 15:15:34 GMT</pubDate></item><item><title>Ayende Rahien commented on RavenDB – Defining indexes</title><description>JimY,
  
Yes &amp; Yes
</description><link>http://ayende.com/4668/ravendb-defining-indexes#comment17</link><guid>http://ayende.com/4668/ravendb-defining-indexes#comment17</guid><pubDate>Fri, 22 Oct 2010 01:27:15 GMT</pubDate></item><item><title>JimY commented on RavenDB – Defining indexes</title><description>Ayende i m confident  u have the ressources to bring  this from an experiment to a major product.
  
  
Any chance RavenDB will get more coverage and grow as first class storage ?
</description><link>http://ayende.com/4668/ravendb-defining-indexes#comment16</link><guid>http://ayende.com/4668/ravendb-defining-indexes#comment16</guid><pubDate>Thu, 21 Oct 2010 21:58:44 GMT</pubDate></item><item><title>configurator commented on RavenDB – Defining indexes</title><description>I missed the .Assembly there! I thought it was just for that specific type...
</description><link>http://ayende.com/4668/ravendb-defining-indexes#comment15</link><guid>http://ayende.com/4668/ravendb-defining-indexes#comment15</guid><pubDate>Thu, 21 Oct 2010 15:50:38 GMT</pubDate></item><item><title>Ayende Rahien commented on RavenDB – Defining indexes</title><description>Configurator,
  
That is what this _does_, doesn't it?
  
IndexCreation.CreateIndexes(typeof(Movies_ByActor).Assembly, store);
  
</description><link>http://ayende.com/4668/ravendb-defining-indexes#comment14</link><guid>http://ayende.com/4668/ravendb-defining-indexes#comment14</guid><pubDate>Thu, 21 Oct 2010 15:47:26 GMT</pubDate></item><item><title>configurator commented on RavenDB – Defining indexes</title><description>How about IndexCreation.AutomaticDiscovery(Assembly ass); ?
</description><link>http://ayende.com/4668/ravendb-defining-indexes#comment13</link><guid>http://ayende.com/4668/ravendb-defining-indexes#comment13</guid><pubDate>Thu, 21 Oct 2010 14:36:22 GMT</pubDate></item><item><title>Erik commented on RavenDB – Defining indexes</title><description>Okay, cool, thanks - I'm not going insane. =)
</description><link>http://ayende.com/4668/ravendb-defining-indexes#comment12</link><guid>http://ayende.com/4668/ravendb-defining-indexes#comment12</guid><pubDate>Thu, 21 Oct 2010 14:14:09 GMT</pubDate></item><item><title>Ayende Rahien commented on RavenDB – Defining indexes</title><description>Erik,
  
Yes, the second one was a typo, fixed
</description><link>http://ayende.com/4668/ravendb-defining-indexes#comment11</link><guid>http://ayende.com/4668/ravendb-defining-indexes#comment11</guid><pubDate>Thu, 21 Oct 2010 14:11:09 GMT</pubDate></item><item><title>Erik commented on RavenDB – Defining indexes</title><description>Okay - I'm a little less confused now - I forgot about constructor syntax. Lol
  
  
But the second example - 'public Users()' - that still stands; was that a typo, and should have been 'public Users_CountByCountry' ?
</description><link>http://ayende.com/4668/ravendb-defining-indexes#comment10</link><guid>http://ayende.com/4668/ravendb-defining-indexes#comment10</guid><pubDate>Thu, 21 Oct 2010 13:49:29 GMT</pubDate></item><item><title>Erik commented on RavenDB – Defining indexes</title><description>I'm referring to this:
  
  
public Movies_ByActor()
  
{
  
    ....
  
}
  
  
-- What is that construct? It doesn't seem to be valid C# code. What is the type of 'Movies_ByActor'? It can't be a method because there's no return type; it can't be an anonymous object because it's not local to any methods; it can't be a property because it doesn't have getters or setters; it can't be a class or struct itself because... well, there's no class or struct keywords.
  
  
Basically the syntax is confusing me - it's also confusing Visual Studio. Perhaps I'm showing my ignorance. =P
</description><link>http://ayende.com/4668/ravendb-defining-indexes#comment9</link><guid>http://ayende.com/4668/ravendb-defining-indexes#comment9</guid><pubDate>Thu, 21 Oct 2010 13:47:47 GMT</pubDate></item><item><title>Ayende Rahien commented on RavenDB – Defining indexes</title><description>Erik, 
  
You need to explain a bit more on that
</description><link>http://ayende.com/4668/ravendb-defining-indexes#comment8</link><guid>http://ayende.com/4668/ravendb-defining-indexes#comment8</guid><pubDate>Thu, 21 Oct 2010 13:37:34 GMT</pubDate></item><item><title>Erik commented on RavenDB – Defining indexes</title><description>What sort of syntax is this?
</description><link>http://ayende.com/4668/ravendb-defining-indexes#comment7</link><guid>http://ayende.com/4668/ravendb-defining-indexes#comment7</guid><pubDate>Thu, 21 Oct 2010 13:33:23 GMT</pubDate></item><item><title>Ayende Rahien commented on RavenDB – Defining indexes</title><description>Wouzer,
  
This is happening on the unstable fork.
</description><link>http://ayende.com/4668/ravendb-defining-indexes#comment6</link><guid>http://ayende.com/4668/ravendb-defining-indexes#comment6</guid><pubDate>Thu, 21 Oct 2010 10:34:23 GMT</pubDate></item><item><title>wouzer commented on RavenDB – Defining indexes</title><description>This code doesnt compile. ;-)
  
</description><link>http://ayende.com/4668/ravendb-defining-indexes#comment5</link><guid>http://ayende.com/4668/ravendb-defining-indexes#comment5</guid><pubDate>Thu, 21 Oct 2010 09:36:57 GMT</pubDate></item><item><title>Ayende Rahien commented on RavenDB – Defining indexes</title><description>Dennis,
  
If you remove an index, you need to explicitly remove it.
  
If you alter it, it will update
</description><link>http://ayende.com/4668/ravendb-defining-indexes#comment4</link><guid>http://ayende.com/4668/ravendb-defining-indexes#comment4</guid><pubDate>Thu, 21 Oct 2010 08:55:22 GMT</pubDate></item><item><title>Dennis commented on RavenDB – Defining indexes</title><description>What about upgrade scenarios for this? If i alter an index or remove one?
</description><link>http://ayende.com/4668/ravendb-defining-indexes#comment3</link><guid>http://ayende.com/4668/ravendb-defining-indexes#comment3</guid><pubDate>Thu, 21 Oct 2010 08:52:31 GMT</pubDate></item><item><title>Ayende Rahien commented on RavenDB – Defining indexes</title><description>GeeBee.
  
Which assemblies should it scan?
</description><link>http://ayende.com/4668/ravendb-defining-indexes#comment2</link><guid>http://ayende.com/4668/ravendb-defining-indexes#comment2</guid><pubDate>Thu, 21 Oct 2010 08:35:08 GMT</pubDate></item><item><title>GeeBee commented on RavenDB – Defining indexes</title><description>[disclaimer]I've not looked at ravendb so maybe this is already available or not a good idea.[/disclaimer]
  
Something that springs to mind reading this is that as index definitions implement AbstractIndexCreationTask
&lt;t maybe there could be a method IndexCreation.AutomaticDiscovery()?  This could then scan your assembly for any types implementing AbstractIndexCreationTask and include them?
  
&gt;</description><link>http://ayende.com/4668/ravendb-defining-indexes#comment1</link><guid>http://ayende.com/4668/ravendb-defining-indexes#comment1</guid><pubDate>Thu, 21 Oct 2010 08:31:45 GMT</pubDate></item></channel></rss>