External index database

9 08 2007

I begin to make an external index database to make listing and search faster. Basic is on page changing index the information to external database which is lean and mean. It only indexes information that is required in listing and searching and it will container diffierent store for different listing needs.

 

I begin with a configuration file that can show some possiblity.

 

<indexmodule>
  <pagetypes>
    <pagetype name=’BlogItem’/>
    <pagetype name=’Blog’/>
  </pagetypes>
  <store name=’Default’/>
  <!–
 Default value don’t need be defined here:
 PageName,
 PageId,
 Acl,
 ParentId,
 ChangedDate
 –>
  <properties>
    <!–
  All property will index as string
  value in ‘indexas’ field will be name in index database. otherwise use name.
  property with seperator field defined will be indexed as array.
  –>
    <property name=’PageName’ indexas=’name’/>
    <property name=’BlogContainer’ indexas=’blog’ handler=’SampleHandler.Sample,Sample’/>
    <property name=’PageCategory’ indexas=’tag’ seperator=’,’/>
  </properties>
</indexmodule>

Advertisements

Actions

Information

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




%d bloggers like this: