Trying to make the docs more clear.
Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/fe0f9a80 Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/fe0f9a80 Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/fe0f9a80 Branch: refs/heads/blur-console-v2 Commit: fe0f9a809d9b41fea73ffe812534ecd5972fd9ec Parents: 9de208f Author: Aaron McCurry <[email protected]> Authored: Thu Oct 24 15:35:37 2013 -0400 Committer: Aaron McCurry <[email protected]> Committed: Thu Oct 24 15:35:37 2013 -0400 ---------------------------------------------------------------------- docs/data-model.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/fe0f9a80/docs/data-model.html ---------------------------------------------------------------------- diff --git a/docs/data-model.html b/docs/data-model.html index dd0b99d..fb7b3f9 100644 --- a/docs/data-model.html +++ b/docs/data-model.html @@ -591,17 +591,17 @@ Below is a simple type that is basically the same as a "string" type, however it <p>You can either add your custom type to the entire cluster or per table.</p> <h4 id="custom_types_using_cluster">Cluster Wide</h4> <p>For cluster wide configuration you will need to add the new field types into the blur-site.properties file on each server. -<pre><code class="bash">blur.fieldtype.customfield1=org.apache.blur.analysis.type.ExampleType1 -blur.fieldtype.customfield2=org.apache.blur.analysis.type.ExampleType2 +<pre><code class="bash">blur.fieldtype.customtype1=org.apache.blur.analysis.type.ExampleType1 +blur.fieldtype.customtype2=org.apache.blur.analysis.type.ExampleType2 ...</code></pre> Please note that the prefix of "blur.fieldtype." is all that is used from the property name because the type gets it's name from the internal method of "getName". However the property names will need to be unique within the file. </p> <h4 id="custom_types_using_table">Single Table</h4> <p>For a single table configuration you will need to add the new field types into the tableProperties map in the TableDescriptor as you define the table. -<pre><code class="java">tableDescriptor.putToTableProperties("blur.fieldtype.customfield1", +<pre><code class="java">tableDescriptor.putToTableProperties("blur.fieldtype.customtype1", "org.apache.blur.analysis.type.ExampleType1"); -tableDescriptor.putToTableProperties("blur.fieldtype.customfield2", +tableDescriptor.putToTableProperties("blur.fieldtype.customtype2", "org.apache.blur.analysis.type.ExampleType2"); ...</code></pre>
