Hi, Carl.<br><br>Some info about it could be found in HowTo <a href="http://ferret.davebalmain.com/trac/wiki/HowTos">http://ferret.davebalmain.com/trac/wiki/HowTos</a> see &quot;How to use keys for document&quot;. Feel free to add or fix any tips'n'tricks about Ferret to wiki.
<br><br><div><span class="gmail_quote">On 12/3/05, <b class="gmail_sendername">Carl Youngblood</b> &lt;<a href="mailto:carl@youngbloods.org">carl@youngbloods.org</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thanks Dave.&nbsp;&nbsp;I'll add the :key =&gt; :id.<br><br>On 12/2/05, David Balmain &lt;<a href="mailto:dbalmain.ml@gmail.com">dbalmain.ml@gmail.com</a>&gt; wrote:<br>&gt; This means the document has been placed in the index more than once.
<br>&gt; Sounds to me like you are adding the an object to the index every time<br>&gt; it is updated. You could try setting :key to :id. This will make sure<br>&gt; that :id is unique in the index. That is, every time you add an
<br>&gt; existing document, the document is replaced<br><br>_______________________________________________<br>Ferret-talk mailing list<br><a href="mailto:Ferret-talk@rubyforge.org">Ferret-talk@rubyforge.org</a><br><a href="http://rubyforge.org/mailman/listinfo/ferret-talk">
http://rubyforge.org/mailman/listinfo/ferret-talk</a><br></blockquote></div><br><br clear="all"><br>-- <br>anatol (<a href="http://pomozov.info">http://pomozov.info</a>)