On 20 May 2013 08:35, Kamal Palei <palei.ka...@gmail.com> 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 that shows all available index fields.

You would probably be better off asking on the Drupal forums,
or on some issue tracker specific to the Drupal/Solr integration
that you are using.

> I had added two long types and one date type.
>
> The date type index field I can see. However I am not able to see two long
> fields salary and experience.

Please be clearer in your statements: What does "The date type index field
I can see" mean? See where?

> *
>>>Besides adding the fields to Solr's schema.xml, you have to make
>>>sure that field values are picked up, and indexed properly into Solr.
>>>How are you indexing? Have you reindexed after adding the fields?
>>>Are you getting any errors in the logs after the indexing.
> *
> 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 reindexed. Eventually I have to delete the index and
> re-index it, but will do after  all these things work.
[...]

Yes, that is correct: New documents should have values for the new
fields. Did you restart Solr after changing the schema? Are there any
errors in the Solr logs?

Regards,
Gora

Reply via email to