RE: copy EnumField to text field

2014-07-29 Thread Elran Dvir
lran Dvir Sent: Monday, July 28, 2014 3:49 PM To: solr-user@lucene.apache.org Subject: RE: copy EnumField to text field Do you think that I that the change I suggested In DocumentBuilder is right or should we leave it as it? The change: Instead of: // Perhaps trim the length of a copy field Object val

RE: copy EnumField to text field

2014-07-28 Thread Elran Dvir
(sfield.createField(v, 1.0f)); Thanks. -Original Message- From: Jack Krupansky [mailto:j...@basetechnology.com] Sent: Monday, July 28, 2014 3:24 PM To: solr-user@lucene.apache.org Subject: Re: copy EnumField to text field Correct - copy field copies the raw, original, source input value

Re: copy EnumField to text field

2014-07-28 Thread Jack Krupansky
PM To: solr-user@lucene.apache.org Subject: Re: copy EnumField to text field There is a distinction between the original source input value for the indexing process and what value is actually indexed. Query searching will see whatever is actually indexed, not the original source input value. An URP

RE: copy EnumField to text field

2014-07-28 Thread Elran Dvir
-user@lucene.apache.org Subject: Re: copy EnumField to text field There is a distinction between the original source input value for the indexing process and what value is actually indexed. Query searching will see whatever is actually indexed, not the original source input value. An URP could explicitl

Re: copy EnumField to text field

2014-07-28 Thread Jack Krupansky
is missing, but you would have to specify an explicit value for the URP to use. -- Jack Krupansky -Original Message- From: Elran Dvir Sent: Monday, July 28, 2014 4:12 AM To: solr-user@lucene.apache.org Subject: RE: copy EnumField to text field Are you saying that default values are

RE: copy EnumField to text field

2014-07-28 Thread Elran Dvir
Are you saying that default values are for query and not for indexing? Thanks. -Original Message- From: Alexandre Rafalovitch [mailto:arafa...@gmail.com] Sent: Monday, July 28, 2014 9:38 AM To: solr-user Subject: Re: copy EnumField to text field On Mon, Jul 28, 2014 at 1:31 PM, Elran

Re: copy EnumField to text field

2014-07-27 Thread Alexandre Rafalovitch
On Mon, Jul 28, 2014 at 1:31 PM, Elran Dvir wrote: > But when no value is sent with severity, and the default of 0 is used, the > fix doesn't seem to work. I guess the default in this case is figured out at the query time because there is no empty value as such. So that would be too late for cop