Hello,
The solr update's csv has a "literal.field_name" function.
Does json have a similar function?
No function found.
Thank you.
On 6/27/2018 10:00 AM, Goston IV, Stanley W wrote:
> I was wondering if it is possible to do a solr update by doing something like
> the following:
>
> JSON:
>
> {
> "add":{
> "doc":{
> "id_txt":"_query_:{q=titl
All,
I was wondering if it is possible to do a solr update by doing something like
the following:
JSON:
{
"add":{
"doc":{
"id_txt":"_query_:{q=title_txt:test.jpg fl=id_txt}",
"title_txt": {"set":"Maybe
C for field". Beats me
what it expects for values in document.addField(...), but changing the field
type from Long to Int fixed it.
-Original Message-
From: Phil Scadden [mailto:p.scad...@gns.cri.nz]
Sent: Sunday, 24 September 2017 4:35 p.m.
To: solr-user@lucene.apache.org
Subject: S
I am attempted to redo an index job. The delete query worked fine but on
reindex, I get this:
09:42:51,061 ERROR ConcurrentUpdateSolrClient:463 - error
org.apache.solr.common.SolrException: Bad Request
request: http://online-uat:8983/solr/prindex/update?wt=javabin&version=2
at
Duh! Thanks for that.
-Original Message-
From: tflo...@apple.com [mailto:tflo...@apple.com]
Sent: Tuesday, 6 June 2017 4:25 p.m.
To: solr-user@lucene.apache.org
Subject: Re: Got a 404 trying to update a solr. 6.5.1 server. /solr/update not
found.
I think you are missing the collection
G wire:72 - << "[\n]"
> 15:53:36,695 DEBUG wire:72 - << "HTTP ERROR 404[\n]"
> 15:53:36,696 DEBUG wire:72 - << "Problem accessing /solr/update.
> Reason:[\n]"
> 15:53:36,696 DEBUG wire:72 - << "Not Found[\n]"
> 15:5
uot;
15:53:36,695 DEBUG wire:72 - << "[\n]"
15:53:36,695 DEBUG wire:72 - << "HTTP ERROR 404[\n]"
15:53:36,696 DEBUG wire:72 - << "Problem accessing /solr/update.
Reason:[\n]"
15:53:36,696 DEBUG wire:72 - << "Not Found[\n]"
15
way, would be better to use a different field
for your own logic.
Cheers
-
---
Alessandro Benedetti
Search Consultant, R&D Software Engineer, Director
Sease Ltd. - www.sease.io
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-Update-If-Record-Exists-
0
>
> So can i use it ?
>
>
>
>
> --
> View this message in context: http://lucene.472066.n3.
> nabble.com/Solr-Update-If-Record-Exists-tp4323767p4324152.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
My version is timestamp.
1561379927065886720
So can i use it ?
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-Update-If-Record-Exists-tp4323767p4324152.html
Sent from the Solr - User mailing list archive at Nabble.com.
slightly more complicated as there
will be rejections/exceptions generated. Perhaps, it can be combined
with TollerantUpdate URP:
http://www.solr-start.com/javadoc/solr-lucene/org/apache/solr/update/processor/TolerantUpdateProcessorFactory.html
Regards,
Alex.
P.s. SOLR-9530 may also be interesting
=1 and online=1 which is not desired.
So question is, is it possible that so updates the value only if the record
is present in the solr.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-Update-If-Record-Exists-tp4323767.html
Sent from the Solr - User mailing list archive at Nabble.com.
ntent, then the best way is probably an
> UpdateRequestProcessor chain that allows to provide a default value:
> http://www.solr-start.com/javadoc/solr-lucene/org/apache/solr/update/processor/DefaultValueUpdateProcessorFactory.html
> . (usually combined with
> http://www.solr-start.com/j
ted in CSV.
If you are talking about default values which may or may not overriden
by CSV content, then the best way is probably an
UpdateRequestProcessor chain that allows to provide a default value:
http://www.solr-start.com/javadoc/solr-lucene/org/apache/solr/update
can add some default value for each row?
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-update-csv-tp4283168.html
Sent from the Solr - User mailing list archive at Nabble.com.
o
>indicate definitively that you are using a spinning disk (or not) but let
>it pick the appropriate default values for the merge count &
>threads accordingly ...
>
>
> true
>
>
>
>
>: Date: Thu, 7 Apr 2016 22:56:54 +
>: From: Dav
lues for the merge count &
threads accordingly ...
true
: Date: Thu, 7 Apr 2016 22:56:54 +
: From: David Moles
: Reply-To: solr-user@lucene.apache.org
: To: "solr-user@lucene.apache.org"
: Subject: Solr update fails with “Could not initialize class
:
Hi folks,
New Solr user here, attempting to apply the following Solr update command via
curl
curl 'my-solr-server:8983/solr/my-core/update?commit=true' \
-H 'Content-type:application/json' -d \
'[{"my_id_field":"some-id-value","my_other_f
>> > > > EN7800GTX/2DHTV/256M
> > > > >> > > >
> > > > >> > > > eoe changed this
> > > > >> puppy
> > > > >> > > >
> > > > >> > > >
> > > > >
t; >
> > > >> > > >
> > > >> > > > I'm not getting any multiple values in the _coordinate fields.
> > > >> However, I
> > > >> > > > _do_ get the error if my dynamic *_coordinate field is set to
> &
> > >
> > >> > > > I'm not getting any multiple values in the _coordinate fields.
> > >> However, I
> > >> > > > _do_ get the error if my dynamic *_coordinate field is set to
> > >> > > > stored="true".
> > >> > > >
7;rm -rf solr/collection/data' just to be sure I've purged all
> >> > > traces
> >> > > > of the former schema definition.
> >> > > >
> >> > > > Best,
> >> > > > Erick
> >> > > >
>
t; >
>> > > > Best,
>> > > > Erick
>> > > >
>> > > >
>> > > > On Mon, Aug 4, 2014 at 7:04 PM, Franco Giacosa
>> > > wrote:
>> > > >
>> > > > > No, they are not declarad explicitly
t; > > > stored="true"/>
> > > > >
> > > > > > > > > stored="false"/>
> > > > >
> > > > > > > > > subFieldSuffix="_coordinate"/>
> > > > >
> > >
gt; > > >
> > > > > > > stored="false"/>
> > > >
> > > > > > > subFieldSuffix="_coordinate"/>
> > > >
> > > >
> > > >
> > > >
> > > > 2014-08-04 22:28 GMT-0
; > >
> > >
> > >
> > >
> > > 2014-08-04 22:28 GMT-03:00 Michael Ryan :
> > >
> > > > Are the latLong_0_coordinate and latLong_1_coordinate fields
> populated
> > > > using copyField? If so, this sounds like it could be
&g
? If so, this sounds like it could be
> > > https://issues.apache.org/jira/browse/SOLR-3502.
> > >
> > > -Michael
> > >
> > > -Original Message-
> > > From: Franco Giacosa [mailto:fgiac...@gmail.com]
> > > Sent: Monday, August 04
l
> >
> > -Original Message-
> > From: Franco Giacosa [mailto:fgiac...@gmail.com]
> > Sent: Monday, August 04, 2014 9:05 PM
> > To: solr-user@lucene.apache.org
> > Subject: solr update dynamic field generates multiValued error
> >
> > Hello every
owse/SOLR-3502.
>
> -Michael
>
> -Original Message-
> From: Franco Giacosa [mailto:fgiac...@gmail.com]
> Sent: Monday, August 04, 2014 9:05 PM
> To: solr-user@lucene.apache.org
> Subject: solr update dynamic field generates multiValued error
>
> Hello everyone, t
PM
To: solr-user@lucene.apache.org
Subject: solr update dynamic field generates multiValued error
Hello everyone, this is my first time posting a question, so forgive me if i'm
missing something.
This is my problem:
I have a schema.xml that has the following latLong information
The dynamic
Hello everyone, this is my first time posting a question, so forgive me if
i'm missing something.
This is my problem:
I have a schema.xml that has the following latLong information
The dynamicField generates 2 dynamic fields that have the lat and the long
(latLong_0_coordinate and latLong_1_coor
t; Sent: Friday, March 28, 2014 3:14 PM
> To: solr-user@lucene.apache.org
> Subject: Re: commit=false in Solr update URL
>
> On 3/28/2014 1:02 PM, Joshi, Shital wrote:
>> You mean default for openSearcher is false right? So unless I specify
>> commit=false&openSear
Thank you!
-Original Message-
From: Shawn Heisey [mailto:s...@elyograg.org]
Sent: Friday, March 28, 2014 3:14 PM
To: solr-user@lucene.apache.org
Subject: Re: commit=false in Solr update URL
On 3/28/2014 1:02 PM, Joshi, Shital wrote:
> You mean default for openSearcher is false right?
On 3/28/2014 1:02 PM, Joshi, Shital wrote:
You mean default for openSearcher is false right? So unless I specify
commit=false&openSearcher=true in my Solr Update URL the current searcher and
caches will not get invalidated.
If commit=false, openSearcher does not matter -- it's
Thanks.
You mean default for openSearcher is false right? So unless I specify
commit=false&openSearcher=true in my Solr Update URL the current searcher and
caches will not get invalidated.
-Original Message-
From: Shawn Heisey [mailto:s...@elyograg.org]
Sent: Friday, March 28,
On 3/28/2014 10:22 AM, Joshi, Shital wrote:
What happens when we use commit=false in Solr update URL?
http://$solr_url/solr/$solr_core/update/csv?commit=false&separator=|&trim=true&skipLines=2&_shard_=$shardid
1. Does it invalidate all caches? We really need to know this.
Hi,
What happens when we use commit=false in Solr update URL?
http://$solr_url/solr/$solr_core/update/csv?commit=false&separator=|&trim=true&skipLines=2&_shard_=$shardid
1. Does it invalidate all caches? We really need to know this.
2. Nothing happens to existing s
.4.0.
my schema document :
my java code to test this senario is as follow:
//TestingSolrUpdateDoc.java
//SolrConnection .java
Best Thanks,
Mohammad yaseen
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-update-document-issue-tp4108214p4108215.html
Sent from the Solr -
ws
SolrServerException,IOException {
solrServer.add(doc);
solrServer.commit();} public void updateDocument(SolrInputDocument
doc)
throws SolrServerException, IOException { solrServer.add(doc);
solrServer.commit();}}Best Thanks,Mohammad yaseen
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-update-document-issue-tp4108214.html
Sent from the Solr - User mailing list archive at Nabble.com.
Oct 28, 2013 at 2:37 AM, Bayu Widyasanyata
> wrote:
>
> > On Mon, Oct 28, 2013 at 1:26 PM, Raymond Wiker wrote:
> >
> > > > request: http://localhost:8080/solr/update?wt=javabin&version=2
> > >
> > > I think this url is incorrect: there should b
d the URL that you
successfully queried Solr with... What is the /2 on the end for?
Do you use that when you query?
Best,
Erick
On Mon, Oct 28, 2013 at 2:37 AM, Bayu Widyasanyata
wrote:
> On Mon, Oct 28, 2013 at 1:26 PM, Raymond Wiker wrote:
>
> > > request: http://localhost
On Mon, Oct 28, 2013 at 1:26 PM, Raymond Wiker wrote:
> > request: http://localhost:8080/solr/update?wt=javabin&version=2
>
> I think this url is incorrect: there should be a core name between "solr"
> and "update".
>
I changed th SolrURL on crawl scri
On 28 Oct 2013, at 01:19 , Bayu Widyasanyata wrote:
> request: http://localhost:8080/solr/update?wt=javabin&version=2
I think this url is incorrect: there should be a core name between "solr" and
"update".
xandrerafalovitch
> - Time is the quality of nature that keeps events from happening all at
> once. Lately, it doesn't seem to be working. (Anonymous - via GTD book)
>
>
> On Mon, Oct 28, 2013 at 8:54 AM, Bayu Widyasanyata
> wrote:
>
> > Additional info:
> >
Tomcat/catalina's log when nutch failed on Solr index
> process. It replies "404 error":
>
> 10.1.160.40 - - [28/Oct/2013:08:50:02 +0700] "POST
> /solr/update?wt=javabin&version=2 HTTP/1.1" 404 973
> 10.1.160.40 - - [28/Oct/2013:08:50:02 +0700] "POS
Additional info:
- I use Tomcat 7.0.42
- Following are Tomcat/catalina's log when nutch failed on Solr index
process. It replies "404 error":
10.1.160.40 - - [28/Oct/2013:08:50:02 +0700] "POST
/solr/update?wt=javabin&version=2 HTTP/1.1" 404 973
10.1.160.40 - - [28/O
mapred.LocalJobRunner -
job_local1930559258_0001
org.apache.solr.common.SolrException: Not Found
Not Found
request: http://localhost:8080/solr/update?wt=javabin&version=2
at
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:430)
gs one-by-one...
> >>
> >> Best,
> >> Erick
> >>
> >> On Sat, Sep 21, 2013 at 7:34 AM, Nutan <[hidden email]<
> http://user/SendEmail.jtp?type=node&node=4091391&i=0>>
> >> wrote:
> >>
> >> > Yes I do g
et the solr admin page.And im not using the example config
>> file,I
>> > have create mine own for my project as required.I have also defined
>> > update/extract in solrconfig.xml.
>> >
>> >
>> > On Tue, Sep 17, 2013 at 4:45 AM, Chris Hostetter
> wrote:
>
> > Yes I do get the solr admin page.And im not using the example config
> file,I
> > have create mine own for my project as required.I have also defined
> > update/extract in solrconfig.xml.
> >
> >
> > On Tue, Sep 17, 2013 at 4:45 AM, Chris Host
gt;
> On Tue, Sep 17, 2013 at 4:45 AM, Chris Hostetter-3 [via Lucene] <
> ml-node+s472066n409045...@n3.nabble.com> wrote:
>
>>
>> : Is /solr/update working?
>>
>> more importantly: does "/solr/" work in your browser and return anything
>> useful?
wrote:
>
> : Is /solr/update working?
>
> more importantly: does "/solr/" work in your browser and return anything
> useful? (nothing you've told us yet gives us anyway of knowning if
> solr is even up and running)
>
> if 'http://localhost:8080/solr/
: Is /solr/update working?
more importantly: does "/solr/" work in your browser and return anything
useful? (nothing you've told us yet gives us anyway of knowning if
solr is even up and running)
if 'http://localhost:8080/solr/' shows you the solr admin UI, and you
Is /solr/update working?
Check solrconfig to see that /update/extract is configured as in the
standard Solr example.
Does /solr/update/extract work for you using the standard Solr example?
-- Jack Krupansky
-Original Message-
From: Nutan
Sent: Sunday, September 15, 2013 2:37 AM
To
I am working on Solr 4.2 on Windows 7. I am trying to index pdf files.I
referred Solr Cookbook 4. Tomcat is using 8080 port number. I get this
error:requested url solr/update/extract not available on this server
When my curl is :
curl "http://localhost:8080/solr/update/extract?literal.id=1&a
Of course, as soon as I post this, I discover this:
https://issues.apache.org/jira/browse/SOLR-4134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13537900#comment-13538174
i'll give this patch a spin in the morning.
(this is not an example of how to use a
Thanks. I built a plugin to resolve the overwrite dupes issue.
On Thu, Jun 21, 2012 at 5:58 PM, Erick Erickson wrote:
> H. I think you would have a _far_ easier time of this just getting
> all the source code, modifying the relevant source, and then just
> issuing an "ant dist" (or "ant exam
H. I think you would have a _far_ easier time of this just getting
all the source code, modifying the relevant source, and then just
issuing an "ant dist" (or "ant example" if you wanted to try it). There are
other targets that will package up the whole thing just like you would get
it from the
Hi,
Jar file are located in dist folder . check ur dist folder or you can
check your solrconfig.xml file where you will get jar location path.
On Thu, Jun 21, 2012 at 9:47 AM, Shameema Umer wrote:
> Can anybody tell me where are the lucene jar files
> org.apache.lucene.index and org.apache.
Can anybody tell me where are the lucene jar files
org.apache.lucene.index and org.apache.lucene.search located?
Thanks
Shameema
On Wed, Jun 20, 2012 at 4:44 PM, Shameema Umer wrote:
> Hi,
>
> I decompiled DirectUpdateHandler2.class to .java file and edited it to
> suit my requirement to stop ov
My solr index is updated simultaneously by multiple clients via REST. I use
"commitWithing" attribute in the command to direct auto commits.
I start getting this error after a couple of days of usage. How do i fix
this ? Please find the error log below. Using solr 3.1 with tomcat Thanks
2009/6/9 Vincent Pérès :
> We are indexing approximately 500 documents per day. My benchmark says an
> update is done in 0.7 sec just after Solr has been started. But it quickly
> decrease to 2.2 secs per update !
Per document added, or for the whole update + commit?
> I have just been focused on
Thank for your answer, I will have a look and try to find a solution.
Cheers
--
View this message in context:
http://www.nabble.com/Solr-update-performance-decrease-after-a-while-tp23945947p23980681.html
Sent from the Solr - User mailing list archive at Nabble.com.
Nutch
- Original Message
> From: Vincent Pérès
> To: solr-user@lucene.apache.org
> Sent: Tuesday, June 9, 2009 12:00:32 PM
> Subject: Solr update performance decrease after a while
>
>
> Hello,
>
> We are indexing approximately 500 documents per day. My benchmark
file. Maybe you have some tips which could help me
to be more linear ?
Thanks a lot
Vincent
--
View this message in context:
http://www.nabble.com/Solr-update-performance-decrease-after-a-while-tp23945947p23945947.html
Sent from the Solr - User mailing list archive at Nabble.com.
I even tried the solr client (which communicates binarily) and a
reader is converted... with toString!
Yes, something of the sort you describe below is what I'm looking for.
I think a URL would be a safe bet for many applications.
paul
Le 25-janv.-09 à 14:39, Yonik Seeley a écrit :
I have
On Sat, Jan 24, 2009 at 6:30 PM, Paul Libbrecht wrote:
> is good practice to post large solr update documents?
> (e.g. 100kb-2mb).
> Will solr do the necessary tricks to make the field use a reader instead of
> strings?
Solr will stream a *document* at a time from the input stream
Hello Solr experts,
is good practice to post large solr update documents?
(e.g. 100kb-2mb).
Will solr do the necessary tricks to make the field use a reader
instead of strings?
thanks in advance
paul
smime.p7s
Description: S/MIME cryptographic signature
k K. Dhir wrote:
you need to add the core to your call -- post to
http://localhost:8983/solr/coreX/update
On Aug 13, 2008, at 1:58 PM, Doug Steigerwald wrote:
I've got two cores (core{0|1}) both using the provided example
schema (example/solr/conf/schema.xml).
Posting to http://localh
) both using the provided example
schema (example/solr/conf/schema.xml).
Posting to http://localhost:8983/solr/update added the example
docs to the last core loaded (core1). Shouldn't this give you a
400?
Doug
---
Alok K. Dhir
Symplicity Corporation
www.symplicity.com
(703) 351-0200 x 8080
[EMAIL PROTECTED]
lr/coreX/update
On Aug 13, 2008, at 1:58 PM, Doug Steigerwald wrote:
I've got two cores (core{0|1}) both using the provided example
schema (example/solr/conf/schema.xml).
Posting to http://localhost:8983/solr/update added the example
docs to the last core loaded (core1). Shouldn
solr/conf/schema.xml).
Posting to http://localhost:8983/solr/update added the example
docs to the last core loaded (core1). Shouldn't this give you a
400?
Doug
---
Alok K. Dhir
Symplicity Corporation
www.symplicity.com
(703) 351-0200 x 8080
[EMAIL PROTECTED]
008, at 1:58 PM, Doug Steigerwald wrote:
I've got two cores (core{0|1}) both using the provided example
schema (example/solr/conf/schema.xml).
Posting to http://localhost:8983/solr/update added the example docs
to the last core loaded (core1). Shouldn't this give you a 400?
you need to add the core to your call -- post to
http://localhost:8983/solr/coreX/update
On Aug 13, 2008, at 1:58 PM, Doug Steigerwald wrote:
I've got two cores (core{0|1}) both using the provided example
schema (example/solr/conf/schema.xml).
Posting to http://localhost:8983/solr/u
I've got two cores (core{0|1}) both using the provided example schema
(example/solr/conf/schema.xml).
Posting to http://localhost:8983/solr/update added the example docs to
the last core loaded (core1). Shouldn't this give you a 400?
Doug
;m running the post.sh file like:
post.sh ../xml/*.xml
Which sends all of the files in xml to the post.sh script.
Most of the POSTs work fine, but every once in a while I'll get:
"The requested resource (/solr/update) is not available."
So my questions is this, is there a problem
On 5/9/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
1000194
http://www(r)barharborinn(r)com
Bar Harbor Hotels and Bar Harbor Inn near Acadia in Bar Harbor
ME
Bar Harbor Inn- premier oceanfront hotel in Bar
Harbor ME(r) Rated Superior First Class by OHG, Best in-town location(r)Spe
schema).
I just ran a test by adding (R) symbolt into the XML to get the exact error
message. See below.
Thanks,
Av
*** SUBMITTED REQUEST *** (as captured by HTTP proxy)
POST /solr/update HTTP/1.1
Content-Type: text/xml; charset=utf-8
Host: ws2006b:8983
Content-Length: 695
Expect: 100-continue
HTTP proxy)
POST /solr/update HTTP/1.1
Content-Type: text/xml; charset=utf-8
Host: ws2006b:8983
Content-Length: 695
Expect: 100-continue
Proxy-Connection: Close
1000194
http://www®barharborinn®com
Bar Harbor Hotels and Bar Harbor Inn near Acadia in Bar
Harbor ME
Bar Harbor Inn- premier
When I submit some
> documents containing upper ASCII characters, Solr update handler fails with
> an XML parsing error saying that it encountered an EOF before the closing
> tags.
>
> The XML is perfectly correct and is using utf-8 encoding. It is generated
> using XmlWriter fr
I see that the update handler fails even if the character is NOT
right next to XML closing tag. If the character is anywhere in any
of the XML tags, the update handler fails to parse the XML.
Does posting the utf8-example in the exampledocs directory work?
update handler fails to parse the XML.
Thanks,
Av
- Original Message
From: Yonik Seeley <[EMAIL PROTECTED]>
To: solr-user@lucene.apache.org
Sent: Wednesday, May 9, 2007 10:45:43 AM
Subject: Re: Solr Update Handler Failes with Some Doc Characters
On 5/9/07, [EMAIL PROTECTED] &
On 5/9/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
I run the example using Jetty on Windows 2003 machine. When I submit some
documents containing upper ASCII characters, Solr update handler fails with an
XML parsing error saying that it encountered an EOF before the closin
Hi,
I run the example using Jetty on Windows 2003 machine. When I submit some
documents containing upper ASCII characters, Solr update handler fails with an
XML parsing error saying that it encountered an EOF before the closing tags.
The XML is perfectly correct and is using utf-8 encoding. It
85 matches
Mail list logo