Hi Rohana,
sorry for keep you waiting so long, I hope we can now solve your
question.
On Tue, 2013-10-22 at 00:54 -0700, Rohana Rajapakse wrote:
> Does anyone know if it is possible to define a Dynamic Fields when
> creatuing a Solr core in LMF?
You are referring to the "Dynamic Field" feature of Apache SOLR [1]? We
are using this for multidimensional fields (e.g. Geo-Coordinates) so
some dynamic fields are configured in the schema.xml:
> <!-- dynamic field to index the coordinates of LatLonType (location)-->
> <dynamicField name="*__coordinate" type="tdouble" indexed="true" stored="false"/>
> <!-- dynamic field to index and store coordinates of a Point (point) -->
> <dynamicField name="*__d" type="double" indexed="true" stored="true"/>
> <dynamicField name="*__i" type="int" indexed="true" stored="true"/>
> <!-- dynamic field to allow random sort order, use e.g. with ?sort=random_123 -->
> <dynamicField name="random_*" type="random" indexed="true" stored="false"/>
So by default, you can use those.
For me, the question is why do you want to use dynamic fields? In LMF,
the search core is created, managed and populated based on the ldpath
program, each field defined there is also configured in the schema.xml.
If you want, you can manually edit the schema.xml and add any config you
need/want - just be aware that updating the ldpath config from LMF will
overwrite any changes you did.
Best,
Jakob
[1] <
http://wiki.apache.org/solr/SchemaXml#Dynamic_fields>
--
DI Jakob Frank
Knowledge and Media Technologies
Salzburg Research Forschungsgesellschaft mbH
Jakob Haringer-Strasse 5/3 | 5020 Salzburg, Austria
T:
+43.662.2288-419
jakob...@salzburgresearch.at
http://www.salzburgresearch.at
http://at.linkedin.com/in/jakobfrank