message in context:
http://lucene.472066.n3.nabble.com/CopyField-into-another-CopyField-tp3122408p3122408.html
Sent from the Solr - User mailing list archive at Nabble.com.
: In solr, is it possible to 'chain' copyfields so that you can copy the value
: of one into another?
...
:
:
:
: Point being, every time I add a new field to the autocomplete, I want it to
: automatically also be added to ac_spellcheck without having to do it twice.
Sorry no, the Inde
another question
if i define different fields with different boosts and then copy them into
another field and make a search by using this universal field, the boosting
will be done?
--
View this message in context:
http://lucene.472066.n3.nabble.com/copyField-tp2902242p2902242.html
Sent from
e.com/CopyField-tp722785p722785.html
Sent from the Solr - User mailing list archive at Nabble.com.
Hi Everyone,
Sorry if the subject was too vague. What i am trying to do is this:
So basically i am trying to copy one of the destination fields of a copy
field to another field. The question i have is whether the field E will get
populated properly ie., by the time E is getting constr
This won't work, according to http://wiki.apache.org/solr/SchemaXml#Copy_Fields
"This is provided as a convenient way to ensure that data is put into
several fields, without needing to include the data in the update
command multiple times. The copy is done at the stream source level
and no copy fe
Thanks Jamie. Missed to notice that one from the wiki.
Thanks,
Karthik
On Thu, Sep 1, 2011 at 3:38 PM, Jamie Johnson wrote:
> This won't work, according to
> http://wiki.apache.org/solr/SchemaXml#Copy_Fields
>
> "This is provided as a convenient way to ensure that data is put into
> several fie
> if i define different fields with different boosts and then
> copy them into
> another field and make a search by using this universal
> field, the boosting
> will be done?
No. copyField just copies raw content.
Hi,
I am pushing data to solr from two different sources nutch and a cms.
I have a data clash in that in nutch a copyField is required to push
the url field to the id field as it is used as the primary lookup in
the nutch solr intergration update. The other cms also uses the url
field
All,
Can one use the copyField option and copy a TextField field into a
longField field? I have some data that i want to extract (filter) out all
but the long and/or integer values.
Example data:xxx yyy aaa 504 yyy 444234 eee hh
I have the copyField in place and the destination
From: Blargy [via Lucene]
[mailto:ml-node+722785-1511121936-124...@n3.nabble.com]
Sent: Thursday, April 15, 2010 5:54 PM
To: caman
Subject: CopyField
Is there anyway to instruct copy field overwrite an existing field, or only
accept the first one?
Basically I'm want to copy so
Blargy wrote:
Is there anyway to instruct copy field overwrite an existing field, or only
accept the first one?
Basically I'm want to copy source1 to dest (if it exists). If source1 doesnt
exist then copy source2 into dest.
Is this possible?
You cannot do it out-of-the-box. But you c
Thanks for the suggestion but I think I explained it wrong.
I have 3 values
valueA
valueB
valueC
I would like to only add the last one if possible. IE if i have values A,B,C
then add valueC. If I have A,B, then B...
--
View this message in context:
http://n3.nabble.com/CopyField
Thanks Koji... this is more of what I wanted.
Is there any class or processor like this for the DataImportHanlder that can
accomplish this?
Thanks alot!
--
View this message in context:
http://n3.nabble.com/CopyField-tp722785p723060.html
Sent from the Solr - User mailing list archive at
:
http://n3.nabble.com/CopyField-tp722785p723145.html
Sent from the Solr - User mailing list archive at Nabble.com.
e a custom UpdateProcessor, or a
custom DIH Transformer...
http://wiki.apache.org/solr/SolrPlugins#How_to_Load_Plugins
http://wiki.apache.org/solr/UpdateRequestProcessor
http://wiki.apache.org/solr/DIHCustomTransformer
There is no type of plugin to modify copyField directly...
:
-Hoss
Hi-
Because sort works much faster on type 'integer', but range queries do not
work on type 'integer', I want to do this:
>
...
So, a_number_sort always contains the same data as a_number, and now we can
do a fast sort on 'a_number_sort' AND do a range query o
Hello list,
if I have a field title which copied to text and a field text that is copied to
text.stemmed.
Am I going to get the copy from the field title to the field text.stemmed or
should I include it?
thanks in advance
paul
Can fields created by copyField instructions be processed by
UpdateProcessors?
Or only raw input fields can?
So far my experiment is suggesting the latter.
T. "Kuro" Kurosaka
I want to implement type ahead styling feature for description field.For that I
defined ngtext fieldtype.I indexed
description as text and then using copyfield indexed into ngtext field.But I
found out that it is not working.
If I put ngtext directly as a field type value without using
Hello,
I have a few questions regarding the copyField directive in schema.xml
1. Does the destination field store a reference or the actual data ?
If I have soemthing like this
then will the values in the 'name' field get copied into the 'text' field or
will the '
> Hi,
> I am pushing data to solr from two different sources nutch
> and a cms. I have a data clash in that in nutch a copyField
> is required to push the url field to the id field as it is
> used as the primary lookup in the nutch solr
> intergration update. The other cms also
nt sources nutch
and a cms. I have a data clash in that in nutch a copyField
is required to push the url field to the id field as it is
used as the primary lookup in the nutch solr
intergration update. The other cms also uses the url field
but also populates the id field with a different value. N
On Wed, Dec 9, 2009 at 11:43 PM, P Franks wrote:
> All,
>
> Can one use the copyField option and copy a TextField field into a
> longField field? I have some data that i want to extract (filter) out all
> but the long and/or integer values.
>
>
No, that won't w
Thanks. I will take a look at the TokenFilter.
On Wed, Dec 9, 2009 at 11:44 PM, Shalin Shekhar Mangar <
shalinman...@gmail.com> wrote:
> On Wed, Dec 9, 2009 at 11:43 PM, P Franks wrote:
>
> > All,
> >
> > Can one use the copyField option and copy a TextField fi
Hi all,
I tried creating a case-insensitive string using the values provided to a
string, via CopyField. This didn't work, since copyField does it's job before
the analyzer on the case-insensitive string field is invoked.
Is there another way I might accomplish this field replicat
Hello,
Is it a problem if I use *copyField* for some fields and not for others. In my
query, I have both fields, the ones mentioned in copyField and ones that are
not copied to a common destination. Will this cause an anomaly in my search
results. I am seeing some weird behavior.
Thanks
Hi,
i have the following configured in my schema.xml:
What I can't quite figure out, is when exactly the data from the _i fields gets
copied to the _i_f fields. Does it get processed first (Tokenizer, Filters,
etc.) or copied first?
I would appreciate any insight. Thanks in advance!
Best,
But, the directive in the schema has a limitation. It will only
copy data between fields with the same type. If the two fields are a
different type, the copy is ignored. This example would require
to translate 'sint' to 'integer'.
really? what version are you running? what error do you ge
On Jan 17, 2008 4:53 PM, Lance Norskog <[EMAIL PROTECTED]> wrote:
> Because sort works much faster on type 'integer', but range queries do not
> work on type 'integer',
Really? The sort speed should be identical.
-Yonik
, or converting the date to an int)
In my opinion, this class of situations isn't a limitation of copyField as
much as it is a silly restriction in the way FieldTypes are handled by
IndexSchema ... currently "TextField" is a special case because it's hte
only FieldType that
://issues.apache.org/jira/browse/SOLR-464
Thanks for your time,
Lance Norskog
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yonik Seeley
Sent: Thursday, January 17, 2008 2:53 PM
To: solr-user@lucene.apache.org
Subject: Re: copyField limitation
On Jan 17, 2008 4:53 PM
: Thursday, January 17, 2008 6:11 PM
To: solr-user@lucene.apache.org
Subject: Re: copyField limitation
: But, the directive in the schema has a limitation. It will
only
: copy data between fields with the same type. If the two fields are a
: different type, the copy is ignored. This example would req
Solr does not now do this. I don't know if the Solr processing stack has
this flexibility, or if it is worth adding it.
I understand every example you have suggested -- i just don't get how it
isn't possible. Can you post an exampe of the schema+commands that give
you an error?
If your go
EMAIL PROTECTED]
Sent: Thursday, January 17, 2008 6:11 PM
To: solr-user@lucene.apache.org
Subject: Re: copyField limitation
: But, the directive in the schema has a limitation. It
will
only
: copy data between fields with the same type. If the two fields are a
: different type, the copy is ignore
Hello.
I have field "description" in my schema. And I want make a filed
"suggestion" with the same content. So I added following line to my
schema.xml:
But I also want to modify "description" string before copying it to
"suggestion" field. I want to remove all comas, dots and slashes. Here
Field values are copied before being analyzed. There is no cascading of
analyzers.
> Hello list,
>
> if I have a field title which copied to text and a field text that is
> copied to text.stemmed. Am I going to get the copy from the field title to
> the field text.stemmed or should I include it?
And no cascading of copying (as I experimented).
I just enriched the wiki's
http://wiki.apache.org/solr/SchemaXml#Copy_Fields
thanks to proof.
paul
Le 8 févr. 2011 à 11:16, Markus Jelsma a écrit :
> Field values are copied before being analyzed. There is no cascading of
> analyzers.
>
Yes. But did you actually search the mailing list or Solr's wiki? I guess not.
Here it is:
http://wiki.apache.org/solr/UpdateRequestProcessor
> Can fields created by copyField instructions be processed by
> UpdateProcessors?
> Or only raw input fields can?
>
> So far my expe
Markus,
I searched but I couldn't find a definite answer, so I posted this
question.
The article you quoted talks about implementing a copyField-like operation
using UpdateProcessor. It doesn't talk about relationship between
the copyField operation proper and UpdateProcessors.
Kuro
u quoted talks about implementing a copyField-like operation
> using UpdateProcessor. It doesn't talk about relationship between
> the copyField operation proper and UpdateProcessors.
>
> Kuro
>
> On 2/22/11 3:00 PM, "Markus Jelsma" wrote:
> >Yes. But did you actu
Markus,
>>
>> I searched but I couldn't find a definite answer, so I posted this
>> question.
>> The article you quoted talks about implementing a copyField-like operation
>> using UpdateProcessor. It doesn't talk about relationship between
>> the copyF
like other fields and pass the same way through the update processor.
>>
>> Cheers,
>>
>>> Markus,
>>>
>>> I searched but I couldn't find a definite answer, so I posted this
>>> question.
>>> The article you quoted talks about implementing
Jan,
So you are implying that the fields made by copyField are not processed by
UpdateProcessors, right?
Erik,
Logically this makes sense but then copyField operations must move to
solrconfig.xml?
Editing solrconfig.xml is more challenging than schema.xml, I feel.
Kuro
On 2/23/11 2:09 AM
gt; incoming documents.
Seems reasonable.
By default, the copyFields could be read from the schema for back
compat (and the fact that copyField does feel more natural in the
schema)
-Yonik
http://lucidimagination.com
the copyFields could be read from the schema for back
: compat (and the fact that copyField does feel more natural in the
: schema)
As someone who has written special case UpdateProcessors that clone field
values, I agree that it would be handy to have a new generic
"CopyFieldUpdateProcessor&
Hi,
I'd also like a more powerful/generic CopyField.
Today always copies after UpdateChain and before analysis.
Refactoring it as an UP (using SOLR-2370 to include it as part of default
chain) would let us specify before UpdateChain in addition. But how could we
get it to copy after ana
Which field you are copping "id" to "ng_text"
or "description" to "ng_text"
-
Thanx:
Grijesh
http://lucidimagination.com
--
View this message in context:
http://lucene.472066.n3.nabble.com/Problem-with-copyfield-tp2663873p2663998.html
Sent from
indexed
>
> description as text and then using copyfield indexed into ngtext field.But I
> found out that it is not working.
> If I put ngtext directly as a field type value without using copyfield it is
> working fine.
> I am not able to understand the reason behind i
Are there some sort of rules about what sort of fields can be copyFielded into
other fields?
My schema has (among other things):
> required="true" />
> required="true" />
> required="false"
> multiValued="true" />
> ...
>
>
>
The "user" field gets copied into "text" j
Would appreciate any help on this. Thanks
Rahul
On Mon, Sep 14, 2009 at 5:12 PM, Rahul R wrote:
> Hello,
> I have a few questions regarding the copyField directive in schema.xml
>
> 1. Does the destination field store a reference or the actual data ?
> If I have soemthing like
On Mon, Sep 14, 2009 at 5:12 PM, Rahul R wrote:
> Hello,
> I have a few questions regarding the copyField directive in schema.xml
>
> 1. Does the destination field store a reference or the actual data ?
>
It makes a copy. Storing or indexing of the field depends on the fiel
On Wed, Sep 16, 2009 at 1:56 PM, Shalin Shekhar Mangar <
shalinman...@gmail.com> wrote:
> On Mon, Sep 14, 2009 at 5:12 PM, Rahul R wrote:
>
> > Hello,
> > I have a few questions regarding the copyField directive in schema.xml
> >
> > 1. Does the destination field store
On Thu, Sep 17, 2009 at 11:19 AM, Rahul R wrote:
> Shalin,
> Can you please elaborate a little more on the third response
> *You can send the location's value directly as the value of the text
> field.*
> I dont follow. I am adding 'name' and 'age' to the 'text' field through the
> schema. If I a
Thank you Shalin.
Regards
Rahul
On Thu, Sep 17, 2009 at 11:49 AM, Shalin Shekhar Mangar <
shalinman...@gmail.com> wrote:
> On Thu, Sep 17, 2009 at 11:19 AM, Rahul R wrote:
>
> > Shalin,
> > Can you please elaborate a little more on the third response
> > *You can send the location's value direc
is it possible to do somehting like this:
Now im wondering how to do something like this:
if so, i dont seem to be making progress
thanks
--
View this message in context:
http://www.nabble.com/copyfield-at-search-time--tp25491979p25491979.html
Sent from the Solr - User mailing
Hello,
I am using copyField to send the raw name of an entity into different
fields for indexing:
# schema.xml snippet
I set the indexed fields to be stored so that I could see what exactly
my custom types' filters produce. In the Analyzer utility in the Admin
w
uot;false" multiValued="true"/>
multiValued="true"/>
and a copyField line
The idea is to allow searching for authors so a search for
"author:(Hobbs A.U.)" will match the au field value "Hobbs A. U."
(notice the space).
However the query &qu
Hi everyone,
i was wondering if the following was possible somehow:
As in: using copyField to copy a multiValued field into another multiValued
field.
Cheers,
Jan
sitive string using the values provided to a
> string, via CopyField. This didn't work, since copyField does it's job
> before the analyzer on the case-insensitive string field is invoked.
>
> Is there another way I might accomplish this field replication on the server?
>
Hello Sandhya,
please, show us your schema.xml, so that we can have a look whether
something might be wrong there.
However, if the source of a copyField is "description" and the destination
is "description_stemmed", you can query both: description and
description_stemmed. Th
Hi,
I think copyField copies the un-processed content (that will be processed by
source field) onto the target field and processes it based on target field's
type. It is *copied first*.
regards,
Naga
-Original Message-
From: Jan Simon Winkelmann [mailto:winkelm...@newsfacto
n: solr-user@lucene.apache.org
> Betreff: RE: copyField for dynamicFields
>
> Hi,
>
> I think copyField copies the un-processed content (that will be
> processed by source field) onto the target field and processes it based
> on target field's type. It is *copied first*.
&
suggestion would get a new type.
-Todd Feak
-Original Message-
From: Aleksey Gogolev [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 22, 2008 8:28 AM
To: solr-user@lucene.apache.org
Subject: Question about copyField
Hello.
I have field "description" in my schema. And
When doing a copyField into a text field that is supposed to be stemmed I'm not
seeing the stemming occur.
These are the relevant lines of XML from the schema.xml:
Faceting is much happier if you use a single valued field, but my apps
all require multivalued fields:
aaa
bbb
ccc
I'd like to use copyField to accumulate the multivalued fields into a
single field that can be efficiently faceted. (As written, it adds a
new field for each one and t
Hi all,
When creating a combo field for searching, is there any
straight-forward way to boost the contribution of one of the fields
being used to create the combined field?
I'd read the past threads about this, and there didn't seem to be
anything built in to Solr.
A simple hack I did was
Is my thinking correct?
I have a field 'F1' of type 'T1' whose index time analysis employs the
StopFilterFactory.
I also have a field 'F2' of type 'T2' whose index time analysis does NOT employ
the StopFilterFactory.
There is a copyField directive so
Is it a good rule of thumb, that when dealing with large indexes copyField
should not be used. It seems to duplicate the indexing of data.
You don't need copyField to be able to search on multiple fields. Example,
if I have two fields: title and post and I want to search on both, I could
I have a field named test_txt which I am populating in some cases, and
not in others. I also have a copy field directive to copy data from
_txt to text_txt. Thigns seem to work except I believe the field is
also copying to itself. Is there anyway to avoid this behavior?
Hi there,
I am trying to get solr indexing mysql tables. Seems like I have
misconfigured schema.xml:
HTTP ERROR: 500
Severe errors in solr configuration.
-
org.apache.solr.common.SolrException: copyField destination :'text'
it seems like reserved key words can't be used as field names did you try
to changes your date field name?
On Thu, May 26, 2011 at 9:54 PM, Jack Repenning wrote:
> Are there some sort of rules about what sort of fields can be copyFielded
> into other fields?
>
> My schema has (among other things
eventDate" field (so as not
to invalidate my current data), and changed the copyField statement to
from="eventDate". Then I added an eventData field to the test document
mentioned earlier, with a one-second difference so I could be sure which was
which. I added that doc, but the te
> >
The letter f should be capital. copyfield =>copyField
On May 27, 2011, at 1:04 AM, Ahmet Arslan wrote:
> The letter f should be capital
Hah! Well-spotted! Thanks.
-==-
Jack Repenning
Technologist
Codesion Business Unit
CollabNet, Inc.
8000 Marina Boulevard, Suite 600
Brisbane, California 94005
office: +1 650.228.2562
twitter: http://twitter.com/jr
u're running an earlier version of Solr, maybe something like
this is necessary. (If multi-valued faceting is possible at all in
earlier versions.)
In any case, I'm not sure why the title of your message is "copyfield
at search time". Copyfield stuff happens at indexing time, not
On Tue, Nov 25, 2008 at 9:24 PM, Michael Henson
<[EMAIL PROTECTED]> wrote:
> I set the indexed fields to be stored so that I could see what exactly
> my custom types' filters produce. In the Analyzer utility in the Admin
> webapp seems to apply the filters properly. However, query results
> against
: Wednesday, June 3, 2009 8:09:10 AM
> Subject: Strange behaviour with copyField
>
> I've been hitting my head against a wall all morning trying to figure this
> out
> and haven't managed to get anywhere and wondered if anybody here can help.
>
> I have defined a fie
I have two fields
required="false" multiValued="true"/>
multiValued="true"/>
I don't see the difference, as they are the same FieldType for each
field, text_au. Is this a typo or am I missing something?
and a copyField line
Th
copyField
On Jun 3, 2009, at 5:09 AM, James Grant wrote:
> I've been hitting my head against a wall all morning trying to
> figure this out and haven't managed to get anywhere and wondered if
> anybody here can help.
>
> I have defined a field type
>
&g
field1' is never returned in the response. Thanks. - ashok
--
View this message in context:
http://www.nabble.com/copyfield-and-%27store%27-and-highlighting-tp23967232p23967232.html
Sent from the Solr - User mailing list archive at Nabble.com.
Yep, my schema does this all day long.
--
View this message in context:
http://lucene.472066.n3.nabble.com/MultiValue-dynamicField-and-copyField-tp965941p966536.html
Sent from the Solr - User mailing list archive at Nabble.com.
14. Juli 2010 15:56
> An: solr-user@lucene.apache.org
> Betreff: Re: MultiValue dynamicField and copyField
>
>
> Yep, my schema does this all day long.
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/MultiValue-dynamicField-and-
> copyField-
Hi,
I have my config something like "clubbed_text" of type "text" and
"clubbed_string" of type "string". :
BLOCK-1...
BLOCK-2...
BLOCK-3...
BLOCK-4...
Is the copyField valid specified in BLOCK-4? It seems it is not
I have indexed person names in solr using synonym expansion and am getting a
match when I explicitly use that field in my query (name:query). However,
when I copy that field into another field using copyfield and search on that
field, I don't get a match. Below are excerpts from schema.txt.
Hi all,
I would like to propose a new property on copy fields that limit the number
of characters that are copied.
The use case is the following: Among other documents, we index very big
documents (several Mo of text) and want to be able to use highlighting.
However, as soon as one or more
Hello,
I was wondering if there was an added advantage in using
to copy a string field to a text field?
If the field is copied to a text field then why not just make the
field a text field and eliminate copying its data?
If you are going to use full text searching on that field which you
cant d
ype.
FT> -Todd Feak
FT> -Original Message-
FT> From: Aleksey Gogolev [mailto:[EMAIL PROTECTED]
FT> Sent: Wednesday, October 22, 2008 8:28 AM
FT> To: solr-user@lucene.apache.org
FT> Subject: Question about copyField
FT> Hello.
FT> I have field "description"
cal.
The result of filter chain wasn't actually stored in the "ex" filed :(
Anyway, thank you :)
FT> -Todd
FT> -Original Message-
FT> From: Aleksey Gogolev [mailto:[EMAIL PROTECTED]
FT> Sent: Wednesday, October 22, 2008 9:24 AM
FT> To: Feak, Todd
FT> Sub
or
not.
JN> -Original Message-
JN> From: Feak, Todd [mailto:[EMAIL PROTECTED]
JN> Sent: Wednesday, October 22, 2008 11:25 Joe
JN> To: solr-user@lucene.apache.org
JN> Subject: RE: Re[4]: Question about copyField
JN> My bad. I misunderstood what you wanted.
JN> The examp
; To: Joe Nguyen
JN> Subject: Re[6]: Question about copyField
JN>> It doesn't need to be a copy field, right? Could you create a new
JN> field
JN>> "ex", extract value from description, delete digits, and set to "ex"
JN>> field before add/index
On 8/25/06, jason rutherglen <[EMAIL PROTECTED]> wrote:
When doing a copyField into a text field that is supposed to be stemmed I'm not
seeing the stemming occur.
How did you determine that stemming didn't occur?
-Yonik
By looking at what is stored. Has this worked for others?
- Original Message
From: Yonik Seeley <[EMAIL PROTECTED]>
To: solr-user@lucene.apache.org; jason rutherglen <[EMAIL PROTECTED]>
Sent: Friday, August 25, 2006 6:35:43 PM
Subject: Re: Possible bug in copyField
On 8/
: By looking at what is stored. Has this worked for others?
the "stored" value of a field is allways going to be the pre-analyzed text
-- that's why the stored values in your "text" fields still have upper
case characters and stop words.
what matters is whether or not the "indexed" terms of you
case characters and stop words.
And since the stored values will always be the same, it normally
doesn't make sense to store the targets of copyField if the sources
are also stored.
Youy can test if stemming was done by searching for a different tense
of a word in the field.
-Yonik
Subject: Re: Possible bug in copyField
On 8/28/06, Chris Hostetter <[EMAIL PROTECTED]> wrote:
>
> : By looking at what is stored. Has this worked for others?
>
> the "stored" value of a field is allways going to be the pre-analyzed text
> -- that's why the stored valu
play with searching with or without stemming on the query side.
Erik
- Original Message
From: Yonik Seeley <[EMAIL PROTECTED]>
To: solr-user@lucene.apache.org
Cc: jason rutherglen <[EMAIL PROTECTED]>
Sent: Monday, August 28, 2006 7:33:48 AM
Subject: Re: Possi
Could someone point me to where in the Solr code the Analyzer is applied to a
query parser field?
- Original Message
From: Erik Hatcher <[EMAIL PROTECTED]>
To: solr-user@lucene.apache.org
Sent: Monday, August 28, 2006 11:13:25 AM
Subject: Re: Possible bug in copyField
On
On 8/28/06, jason rutherglen <[EMAIL PROTECTED]> wrote:
Could someone point me to where in the Solr code the Analyzer is applied to a
query parser field?
The lucene query parser normally does analysis. It also does things
like making phrase queries from field that return multiple tokens.
-Yo
Hi,
I know this is a complex one, but it help me to be able to make a dynamic
copy field, like:
The goal is to have for each string index a tokenized one.
It does not seem possible at the moment, but will it be in the foreseeable
future?
Thanks anyway !
>
Paul Terray
1 - 100 of 222 matches
Mail list logo