Re: Adding filed in Schema.xml

2013-05-20 Thread Raymond Wiker
On May 20, 2013, at 05:05 , Kamal Palei wrote: > I have put the code to add these fields in document object and index it. > I have not deleted whole indexed data and reindex it. But I expect whatever > new documents are added, for those documents these two fields salary and > experience should be

Re: Adding filed in Schema.xml

2013-05-19 Thread Gora Mohanty
On 20 May 2013 08:35, Kamal Palei wrote: > Hi Gora > Thanks for your response. > > > *>>What do you mean by "not taking effect"? You do not seem to have >>>made this clear anywhere in the thread. > * > Basically I user SOLR in drupal environment. In drupal, in configuration > page, there is a link

Re: Adding filed in Schema.xml

2013-05-19 Thread Kamal Palei
Hi Gora Thanks for your response. *>>What do you mean by "not taking effect"? You do not seem to have >>made this clear anywhere in the thread. * Basically I user SOLR in drupal environment. In drupal, in configuration page, there is a link that shows all available index fields. I had added two

Re: Adding filed in Schema.xml

2013-05-18 Thread Gora Mohanty
On 19 May 2013 08:36, Kamal Palei wrote: > Hi Alex > I just saw in* types *area, long is already defined as > > * omitNorms="true" positionIncrementGap="0"/> > * > Hence I hope, I should be able to declare a long type index in* fields *area > as shown below. > > > Yes, this should be fine.

Re: Adding filed in Schema.xml

2013-05-18 Thread Kamal Palei
Hi Alex I just saw in* types *area, long is already defined as * * Hence I hope, I should be able to declare a long type index in* fields *area as shown below. Not sure, why it is not taking effect. Best Regards Kamal On Sat, May 18, 2013 at 6:23 PM, Kamal Palei wrote: > Hi Alex, >

Re: Adding filed in Schema.xml

2013-05-18 Thread Kamal Palei
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 R

Re: Adding filed in Schema.xml

2013-05-17 Thread Alexandre Rafalovitch
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/alexandrerafalovit

Adding filed in Schema.xml

2013-05-17 Thread Kamal Palei
Hi All I am trying to add few fields in schema.xml file as below. * * 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