RE: Copyfield multi valued to single value

2010-06-15 Thread Marc Ghorayeb

Thanks for the update, i'll have to find another way then :s.
Marc

 Date: Mon, 14 Jun 2010 13:44:30 -0700
 From: hossman_luc...@fucit.org
 To: solr-user@lucene.apache.org
 Subject: Re: Copyfield multi valued to single value
 
 
 : Is there a way to copy a multivalued field to a single value by taking 
 : for example the first index of the multivalued field?
 
 Unfortunately no.  This would either need to be done with an 
 UpdateProcessor, or on the client constructing hte doc (either the remote 
 client, or in your DIH config if that's how you are using Tika)
 
 
 
 -Hoss
 
  
_
Installez gratuitement les nouvelles Emoch'ticones !
http://www.ilovemessenger.fr/emoticones/telecharger-emoticones-emochticones.aspx

Re: Copyfield multi valued to single value

2010-06-14 Thread Chris Hostetter

: Is there a way to copy a multivalued field to a single value by taking 
: for example the first index of the multivalued field?

Unfortunately no.  This would either need to be done with an 
UpdateProcessor, or on the client constructing hte doc (either the remote 
client, or in your DIH config if that's how you are using Tika)



-Hoss



Copyfield multi valued to single value

2010-06-09 Thread Marc Ghorayeb

Hello,
Is there a way to copy a multivalued field to a single value by taking for 
example the first index of the multivalued field?
I am actually trying to sort my index by Title and my index contains Tika 
extracted titles which come in as multi valued hence why my title field is 
multi valued. However when i do a sort on the title field, it crashes because 
well it cannot compare two arrays i guess which is logical. So my thought was 
to copy only one value from the array to another field.
Maybe there is another way to do that? Can anyone help me?
Thanks in advance!
Marc  
_
Vous voulez regarder la TV directement depuis votre PC ? C'est très simple avec 
Windows 7
http://clk.atdmt.com/FRM/go/229960614/direct/01/