<div dir="ltr"><div><div><div>Hi Earnie,<br></div>Thanks for reply. Users register their details in site.<br><br></div>I did not understand &quot;<b>I would add fields to the user entity</b>&quot; .<br><br></div>What is user entity ? Kindly provide more details. <br>
<div><br>Do you mean the fields like age, experience, salary etc should be added to solr index or it will be stored somewhere within Drupal tables.<br><br></div><div>Best Regards<br></div><div>kamal<br></div><div><div><br>
<br><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, May 11, 2013 at 9:24 PM, Earnie Boyd <span dir="ltr">&lt;<a href="mailto:earnie@users.sourceforge.net" target="_blank">earnie@users.sourceforge.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">If it were me I would add fields to the user entity assuming your<br>
submitters need to register.  If no registration, I would add fields<br>
to the node entity.  You can then use those fields to filter the data.<br>
 The other option is to use three taxonomy types and allow the data to<br>
be tags.<br>
<br>
Earnie<br>
<div><div class="h5"><br>
On Sat, May 11, 2013 at 2:55 AM, Kamal Palei wrote:<br>
&gt; Dear Drupal Experts<br>
&gt; Currently I use apache solr 3.6.2 for search engine in a Drupal 715<br>
&gt; environment. Apache solr, indexes the document, I search based on the<br>
&gt; keyword and gets document list. So far so good.<br>
&gt;<br>
&gt; I need to enhance it. When I add the document (actually these are resumes),<br>
&gt; I need to add certain fields like age, experience years, salary etc.<br>
&gt;<br>
&gt; So that while searching the documents, I can add the filters accordingly to<br>
&gt; get more relevant documents.<br>
&gt;<br>
&gt; Now my BIIGEST worry is how do I proceed.<br>
&gt;<br>
&gt; 1. Do I need to modify the schema file to add fields for age, experience,<br>
&gt; salary<br>
&gt;<br>
&gt; 2. Do I need to implement some  special hooks in my custom module, so that I<br>
&gt; can add the fields like age, experience (any examples if you have please<br>
&gt; share) during indexing.<br>
&gt;<br>
&gt; 3. While searching, do I need to implement any specific hook, so that I can<br>
&gt; add the filters for age, experience etc.., if so , pls share the examples if<br>
&gt; you have.<br>
&gt;<br>
&gt; Thanks<br>
&gt; Kamal<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div>&gt; --<br>
&gt; [ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Earnie<br>
-- <a href="https://sites.google.com/site/earnieboyd" target="_blank">https://sites.google.com/site/earnieboyd</a><br>
--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
</font></span></blockquote></div><br></div>