Re: Highlighting with a default copy field with EdgeNGramFilterFactory

2011-11-17 Thread João Nelas
I found out the solution! I needed to also add an EdgeNGramFilterFactory to the fields that are the source of the copyField. That got the highlighting working again. -- View this message in context: http://lucene.472066.n3.nabble.com/Highlighting-with-a-default-copy-field-with

Highlighting with a default copy field with EdgeNGramFilterFactory

2011-11-15 Thread João Nelas
get highlighting? -- View this message in context: http://lucene.472066.n3.nabble.com/Highlighting-with-a-default-copy-field-with-EdgeNGramFilterFactory-tp3510374p3510374.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Field type change / copy field

2011-09-03 Thread Jan Høydahl
Hi, Is this simply for returning a date string, or do you really need a full-blown Date object for your years? I'd probably go with a "tint" field for the faceting on year, if year is the lowest date resolution you need. If you need to convert 2008 to 2008-01-01T00:00:00Z to put into a real "dat

Re: Field type change / copy field

2011-08-25 Thread Erick Erickson
What version of Solr are you using? Because 3.2 (and I believe 3.1) and later have faceting and range on numeric values, so there would be no need to use two fields. And you could then avoid the format thing entirely. Best Erick On Wed, Aug 24, 2011 at 5:53 AM, Oliver Schihin wrote: > Hello lis

Re: Field type change / copy field

2011-08-24 Thread Alexei Martchenko
have u tried in your facet_year index analyzer something like this? this can theoretically do the trick 2011/8/24 Oliver Schihin > Hello list > > My documents come with a field holding a date, always a year: > 2008 > In the schema, this content is taken for a field as an integer, and > it

Field type change / copy field

2011-08-24 Thread Oliver Schihin
Hello list My documents come with a field holding a date, always a year: 2008In the schema, this content is taken for a field as an integer, and it will be searchable. Through a copyfield-instruction I move the to a -field, you guess, to use it for faceting and make range queries possible.

Re: Any Copy Field Caveats?

2010-11-11 Thread Tod
I've noticed that using camelCase in field names causes problems. On 11/5/2010 11:02 AM, Will Milspec wrote: Hi all, we're moving from an old lucene version to solr and plan to use the "Copy Field" functionality. Previously we had "rolled our own" implementatio

Re: Any Copy Field Caveats?

2010-11-05 Thread Erick Erickson
list from time to time). Best Erick On Fri, Nov 5, 2010 at 11:02 AM, Will Milspec wrote: > Hi all, > > we're moving from an old lucene version to solr and plan to use the "Copy > Field" functionality. Previously we had "rolled our own" implementation, &

Any Copy Field Caveats?

2010-11-05 Thread Will Milspec
Hi all, we're moving from an old lucene version to solr and plan to use the "Copy Field" functionality. Previously we had "rolled our own" implementation, sticking title, description, etc. in a field called 'content'. We lose some flexibility (i.e. java layer

ERROR: multiple values encountered for non multiValued copy field

2009-11-05 Thread Christian López Espínola
r non multiValued copy field all: at org.apache.solr.client.solrj.embedded.EmbeddedSolrServer.request(EmbeddedSolrServer.java:161) at org.apache.solr.client.solrj.request.UpdateRequest.process(UpdateRequest.java:217) at org.apache.solr.client.solrj.SolrServe

Re: Concatenate in Copy Field

2009-09-11 Thread Shalin Shekhar Mangar
On Sat, Sep 12, 2009 at 3:25 AM, Mohamed Parvez wrote: > Is its possible to concatenate two fields and copy it to a new field, in > the > schema.xml file > > I am importing from two tables and both have numeric value as primary key. > > If i copy just the primary key, which is a number, from both

Concatenate in Copy Field

2009-09-11 Thread Mohamed Parvez
Is its possible to concatenate two fields and copy it to a new field, in the schema.xml file I am importing from two tables and both have numeric value as primary key. If i copy just the primary key, which is a number, from both the tables, to one field and make it primary key, records may get ov

Re: Copy Field Question

2009-08-03 Thread Chantal Ackermann
ma.xml: Used for those fields: Which are used to populate this field using the copy field directive: like that (that is what I do, now, at least): I am copying fields with different types to all_text_de, e.g. title is differen

Re: Copy Field Question

2009-08-03 Thread Mark Miller
/> > > > > > words="stopwords_de.txt" /> > generateWordParts="1" generateNumberParts="1" catenateWords="0" > catenateNumbers="0" catenateAll="0" splitOnCaseChan

Copy Field Question

2009-08-03 Thread Chantal Ackermann
;1" /> Used for those fields: required="true" /> required="false" /> required="false" /> required="false" /> Which are used to populate this field using the copy field directive: like that (that is what

Re: Copy field : String Vs Text

2009-04-24 Thread Senthil Kumar
our "name" field and faceting on the "actor" field. > > -Original Message- > From: Senthil Kumar [mailto:mesent...@gmail.com] > Sent: Friday, April 24, 2009 11:42 AM > To: solr-user@lucene.apache.org > Subject: Copy field : String Vs Text > > Hi

RE: Copy field : String Vs Text

2009-04-24 Thread Harsch, Timothy J. (ARC-SC)[PEROT SYSTEMS]
or" field. -Original Message- From: Senthil Kumar [mailto:mesent...@gmail.com] Sent: Friday, April 24, 2009 11:42 AM To: solr-user@lucene.apache.org Subject: Copy field : String Vs Text Hi, I have a requirement as below. The field needs to be available for facet. The value will not

Copy field : String Vs Text

2009-04-24 Thread Senthil Kumar
Hi, I have a requirement as below. The field needs to be available for facet. The value will not be a single letter word. But I should be able to search like a text fields. Silver stolen Schema.xml I should be able to search for the word "silver" on actor field and should get the

RE: multiple values encountered for non multiValued copy field

2009-03-23 Thread Radha C.
That works thanks! _ From: Shalin Shekhar Mangar [mailto:shalinman...@gmail.com] Sent: Monday, March 23, 2009 2:11 PM To: solr-user@lucene.apache.org; cra...@ceiindia.com Subject: Re: multiple values encountered for non multiValued copy field multiValued should be camel cased but in

Re: multiple values encountered for non multiValued copy field

2009-03-23 Thread Shalin Shekhar Mangar
ued="true"/> > > person_id > all > > > > > > INFO: Time taken for getConnection(): 360 > Mar 23, 2009 1:51:25 PM org.apache.solr.handler.dataimport.SolrWriter > upload > WARNING: Error creating document : > SolrInputDocument[{fname=fnam

multiple values encountered for non multiValued copy field

2009-03-23 Thread Radha C.
1:51:25 PM org.apache.solr.handler.dataimport.SolrWriter upload WARNING: Error creating document : SolrInputDocument[{fname=fname(1.0)={Peter}, person_id=person_id(1.0)={1}}] org.apache.solr.common.SolrException: ERROR: multiple values encountered for non multiValued copy field all: 1

Re: Copy Field and Dynamic Fields

2006-03-05 Thread Yonik Seeley
On 3/5/06, Grant Ingersoll <[EMAIL PROTECTED]> wrote: > Can the copy field functionality be applied to dynamic fields? You're finding the weak points fast, Grant :-) copyField doesn't work with dynamic fields yet, but it seems like a good think to enable. copyField from a

Copy Field and Dynamic Fields

2006-03-05 Thread Grant Ingersoll
Can the copy field functionality be applied to dynamic fields? -Grant -- Grant Ingersoll http://www.grantingersoll.com - Brings words and photos together (easily) with PhotoMail - it's free and

<    1   2