<div dir="ltr"><div><div><div><div><div><div>Dear <span name="Earnie Boyd" class="">Earnie Boyd<br></span></div><div><span name="Earnie Boyd" class="">Thanks for response.<br><br></span></div><span name="Earnie Boyd" class="">I have gone through those few times. These are links, that says how to setup and get it to work drupal/solr stuff.<br>
</span></div><span name="Earnie Boyd" class="">However it does not give much insight how to do reset multi-value fields in index.<br><br></span></div><span name="Earnie Boyd" class="">Best Regards<br></span></div><span name="Earnie Boyd" class="">Kamal<br>
</span></div><span name="Earnie Boyd" class="">Net Cloud Systems<br></span></div><span name="Earnie Boyd" class="">Bangalore-08<br></span></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 25, 2013 at 4:45 PM, Earnie Boyd <span dir="ltr"><<a href="mailto:earnie@users.sourceforge.net" target="_blank">earnie@users.sourceforge.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Does this help? <a href="http://bit.ly/19oifGx" target="_blank">http://bit.ly/19oifGx</a><br>
<br>
I expect the silence is due to the lack of individuals with experience<br>
in the combination on this list.<br>
<br>
Earnie<br>
<div><div class="h5"><br>
On Tue, Jun 25, 2013 at 6:57 AM, Kamal Palei <<a href="mailto:palei.kamal@gmail.com">palei.kamal@gmail.com</a>> wrote:<br>
> Many times I have observed when there is a query regarding drupal and<br>
> apachesolr, the drupal mailing list is almost silent. If it is only drupal<br>
> fine, we can do R&D, lot of books, mailing list support, we can get some<br>
> insight. If it is only solr, still we can get help from books, mailing lists<br>
> etc and can proceed.<br>
><br>
> When it comes to drupal and apachesolr I do not see any good book, not much<br>
> help from mailing list.., its almost simple issues takes very long time to<br>
> resolve.<br>
><br>
> Various search options, I could not get it done through apachesolr module,<br>
> end up writing custom code to do complex searches (like get the documents<br>
> having mandatory keyword1, keyword2, keyword3 AND optional keywords<br>
> keyword4, keyword5, keyword6 and NOT HAVING keyword keyword7, keyword8 and<br>
> much more....)<br>
><br>
> Still now I was doing indexing part using apache solr, Now I have a<br>
> requirement, how do we reset the value of a multi-value field in index. I am<br>
> sure, this can be done with few lines of code, but we do not have relevant<br>
> document, or less users work on it or whatever reason it is definitely a<br>
> pain point....<br>
><br>
> I request, somebody good at apachesolr module probably write a good book and<br>
> put in packt publish or amazon.., atleast we will have some reference book<br>
> where can get sample example codes.. ,<br>
><br>
> Best Regards<br>
> Kamal<br>
> Net Cloud Systems<br>
> Bangalore<br>
><br>
><br>
><br>
> On Mon, Jun 24, 2013 at 7:18 PM, Kamal Palei <<a href="mailto:palei.kamal@gmail.com">palei.kamal@gmail.com</a>> wrote:<br>
>><br>
>> Dear All<br>
>> I have added a multi value field in schema file (say skillset). In my<br>
>> _apachesolr_index_document_build hook, I get all the values of field and<br>
>> do add to $document using addField api. With this values are indexed and I<br>
>> can search, I get the search result perfect.<br>
>><br>
>> Just for example purpose, say field name is skillset (it's a multi value<br>
>> field).<br>
>><br>
>> Say initially I added, Java, PHP, MySQL, Drupal, C++ as skill sets to<br>
>> skillset field as separate separate values.<br>
>><br>
>> If I search for PHP + MySQL + C++, I get this document. So far so good.<br>
>><br>
>> Say after 1 month, user came and removed C++ skill set. Then in index, for<br>
>> skillset field the corresponding change should happen. That is first all old<br>
>> values should be removed, next Java, PHP, MySQL, Drupal should added only.<br>
>><br>
>> Today I do not know how to remove a field's old values, Can somebody help<br>
>> me to find out how do I remove old datas for that particular field<br>
>> (skillset). Today what is happening, I go and add again. Now the resultant<br>
>> data for skillset becomes Java, PHP, MySQL, Drupal, C++, ava, PHP, MySQL,<br>
>> Drupal. Hence if I search c++, I get this document in search which is wrong.<br>
>><br>
>> Please somebody help me or give me pointer how to delete the old data for<br>
>> a field in index.<br>
>><br>
>> Please note that in case of single-value field this issue would not arsie.<br>
>><br>
>> Thanks<br>
>> kamal<br>
>> Net Cloud Systems<br>
>><br>
>><br>
>><br>
><br>
><br>
</div></div>> --<br>
> [ 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>