Hi Alex
I just saw in* types *area, long is already defined as

* <fieldType name="long" class="solr.TrieLongField" precisionStep="0"
omitNorms="true" positionIncrementGap="0"/>
*
Hence I hope, I should be able to declare a long type index in* fields *area
as shown below.

  <field name="salary"  type="long" indexed="true" stored="true" />
  <field name="experience"  type="long" indexed="true" stored="true "/>

Not sure, why it is not taking effect.

Best Regards
Kamal




On Sat, May 18, 2013 at 6:23 PM, Kamal Palei <palei.ka...@gmail.com> wrote:

> Hi Alex,
> Where I need to mention the types. Kindly tell me in detail.
>
> I use Drupal framework. It has given a schema file. In that there are
> already some long type fields, and these are actually shown by solr as part
> of index.
>
> Whatever long field I am adding it does not show part of index.
>
> Best Regards
> kamal
>
>
> On Fri, May 17, 2013 at 7:47 PM, Alexandre Rafalovitch <arafa...@gmail.com
> > wrote:
>
>> Do you have the types corresponding to those fields present?
>> Specifically, "long". You don't get any special type names out of the
>> box, they all need to be present in types area.
>>
>> Regards,
>>    Alex.
>> Personal blog: http://blog.outerthoughts.com/
>> LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch
>> - Time is the quality of nature that keeps events from happening all
>> at once. Lately, it doesn't seem to be working.  (Anonymous  - via GTD
>> book)
>>
>>
>> On Fri, May 17, 2013 at 8:49 AM, Kamal Palei <palei.ka...@gmail.com>
>> wrote:
>> > Hi All
>> > I am trying to add few fields in schema.xml file as below.
>> >
>> >    <field name="salary"  type="long" indexed="true" stored="true" />
>> >    <field name="experience"  type="long" indexed="true" stored="true "/>
>> >  *  <field name="last_updated_date"  type="tdate" indexed="true"
>> > stored="true" default="NOW" multiValued="false "/>
>> > *
>> >
>> >    <dynamicField name="rs_*"  type="long"  indexed="true"  stored="true"
>> > multiValued="false"/>
>> >    <dynamicField name="rd_*"  type="tdate"  indexed="true"
>>  stored="true"
>> > multiValued="false"/>
>> >
>> > Only the "last_updated_date"  (the one in bold letters) getting added.
>> Is
>> > there any syntax issue with other 4 entries. Kindly let me know.
>> >
>> > Thanks
>> > kamal
>>
>
>

Reply via email to