wly added
> docs. I hope this is possible, but how ?
> Because, currently I am using SolrJ and it re-index complete data each time.
>
> -Original Message-
> From: Peter Lancaster [mailto:peter.lancas...@findmypast.com]
> Sent: 04 November 2019 21:35
> To: solr-user@luc
November 2019 21:35
To: solr-user@lucene.apache.org
Subject: RE: Delete documents from the Solr index using SolrJ
You can delete documents in SolrJ by using deleteByQuery. Using this you can
delete any number of documents from your index or all your documents depending
on the query you specify as the
gt; On Mon, Nov 4, 2019 at 9:30 AM Khare, Kushal (MIND) <
>> kushal.kh...@mind-infotech.com> wrote:
>>
>>> Could you please let me know how to achieve that ?
>>>
>>>
>>> -Original Message-
>>> From: Jörn Franke
20:04
> To: solr-user@lucene.apache.org
> Subject: Re: Delete documents from the Solr index using SolrJ
>
> when you add a new document using the same "id" value as another it just over
> writes it
>
> On Mon, Nov 4, 2019 at 9:30 AM Khare, Kushal (MIND) <
> kus
You can delete documents in SolrJ by using deleteByQuery. Using this you can
delete any number of documents from your index or all your documents depending
on the query you specify as the parameter. How you use it is down to your
application.
You haven't said if your application perfo
carry on with the solution that you proposed.
Please guide !
-Original Message-
From: David Hastings [mailto:hastings.recurs...@gmail.com]
Sent: 04 November 2019 20:10
To: solr-user@lucene.apache.org
Subject: Re: Delete documents from the Solr index using SolrJ
delete them by query would
In my case, id won't be same.
> Suppose, I have a doc with id : 20
> Now, it's newer version would be either 20.1 or 22
> What in this case?
> -Original Message-
> From: David Hastings [mailto:hastings.recurs...@gmail.com]
> Sent: 04 November 2019 20:04
> To: solr
ubject: Re: Delete documents from the Solr index using SolrJ
when you add a new document using the same "id" value as another it just over
writes it
On Mon, Nov 4, 2019 at 9:30 AM Khare, Kushal (MIND) <
kushal.kh...@mind-infotech.com> wrote:
> Could you please le
more clear now.
-Original Message-
From: Khare, Kushal (MIND) [mailto:kushal.kh...@mind-infotech.com]
Sent: 04 November 2019 20:00
To: solr-user@lucene.apache.org
Subject: RE: Delete documents from the Solr index using SolrJ
Could you please let me know how to achieve that
age-
> From: Jörn Franke [mailto:jornfra...@gmail.com]
> Sent: 04 November 2019 19:59
> To: solr-user@lucene.apache.org
> Subject: Re: Delete documents from the Solr index using SolrJ
>
> I don’t understand why it is not possible.
>
> However why don’t you simply overwrite th
Could you please let me know how to achieve that ?
-Original Message-
From: Jörn Franke [mailto:jornfra...@gmail.com]
Sent: 04 November 2019 19:59
To: solr-user@lucene.apache.org
Subject: Re: Delete documents from the Solr index using SolrJ
I don’t understand why it is not possible
I don’t understand why it is not possible.
However why don’t you simply overwrite the existing document instead of
add+delete
> Am 04.11.2019 um 15:12 schrieb Khare, Kushal (MIND)
> :
>
> Hello mates!
> I want to know how we can delete the documents from the Solr index . Suppose
> for my sys
Hello mates!
I want to know how we can delete the documents from the Solr index . Suppose
for my system, I have a document that has been indexed, now its newer version
is into use, so I want to use the latest one, for that I want the previous one
to be deleted from the index.
Kindly help me a wa
OK, let's see the code you're using, including how you open your solrClient,
how you commit, and how you show that the deleted doc is still there. This
should be translatable into a test case. Like I said, this is tested in the unit
tests, so it would be good to see the difference between the test
I just checked the shards again (with &distrib=false) and it seems that
I was mistaken, the document does *not* reside in _different_ shards -
everything good in this respect.
However, I still have the issue that deleteById those not work whereas
deleteByQuery works. Specifically, the following li
bq: I checked in the Solr Admin and noticed that the same document
resided in both shards on the same node
If this means two _different_ shards (as opposed to two replicas in
the _same_ shard) showed the
document, then that's the proverbial "smoking gun", somehow your setup
isn't what you thin
Hi,
I have the following issue:
I initially started with a Solr 5.3.1 + Zookeeper 3.4.6 cloud setup with 2 solr
nodes and with one collection consisting of 2 shards and 2 replicas.
I am accessing the cluster using the CloudSolrClient. When I tried to delete a
document, no error occurred but af
On 21/03/16 14:43, Erick Erickson wrote:
Hmmm, you say "where I have many shards and
can't have one problem causing no deletion of old data.".
You then have a shard that, when it comes back up still
has all the old data and that _is_ acceptable? Seems like
that would be jarring to the users whe
Hmmm, you say "where I have many shards and
can't have one problem causing no deletion of old data.".
You then have a shard that, when it comes back up still
has all the old data and that _is_ acceptable? Seems like
that would be jarring to the users when some portion of the
docs in their collect
Hi,
I am using Solr 4.10.2.
When one of the shards in my environment is down and fails to recover -
The process of deleting documents from other shards fails as well.
For example,
When running:
https://:8983/solr//update?stream.body=
*:*&commit=true
I get the following error message:
No regis
rote:
>> Hey,
>>
>> I understand that "DocExpirationUpdateProcessorFactory" in the config.xml
>> can be specified to delete documents based on the expiration.
>>
>> I would like to understand whether there is a chance of these deleted
>> documents getting re-indexed?
>>
>> Solr 5.2
>>
>> Thanks
seeing some symptom or are you just
curious?
Best,
Erick
On Fri, Jul 17, 2015 at 11:54 PM, naga sharathrayapati
wrote:
> Hey,
>
> I understand that "DocExpirationUpdateProcessorFactory" in the config.xml
> can be specified to delete documents based on the expiration.
>
>
Hey,
I understand that "DocExpirationUpdateProcessorFactory" in the config.xml
can be specified to delete documents based on the expiration.
I would like to understand whether there is a chance of these deleted
documents getting re-indexed?
Solr 5.2
Thanks
: Kaushik
Sent: Tuesday, April 1, 2014 12:07 AM
To: solr-user@lucene.apache.org
Subject: How to delete documents
>From a database table, we have figured out a way to do the full load and
the delta loads. However, there are scenarios where some of the DB rows get
deleted. How can we have s
>From a database table, we have figured out a way to do the full load and
the delta loads. However, there are scenarios where some of the DB rows get
deleted. How can we have such documents deleted from SOLR indices?
Thanks,
Kaushik
件人: solr-user@lucene.apache.org
主题: Delete documents in SOLR 1.4.1
Question: We have Solr 1.4.1 in Production currently. We need to delete
documents identified by ids on daily basis from solr.
--Following deletes by keys and delta data load works--
-- snippet of db-data-config.xml
Question: We have Solr 1.4.1 in Production currently. We need to delete
documents identified by ids on daily basis from solr.
--Following deletes by keys and delta data load works--
-- snippet of db-data-config.xml
-- snippet of solrconfig.xml
r/FAQ#How_can_I_delete_all_documents_from_my_index.3F
-- Jack Krupansky
-Original Message- From: Tolga
Sent: Friday, May 11, 2012 12:31 AM
To: solr-user@lucene.apache.org
Subject: Fwd: Delete documents
Anyone at all?
Original Message
Subject: Delete documents
Date: Th
ansky
-Original Message-
From: Tolga
Sent: Friday, May 11, 2012 12:31 AM
To: solr-user@lucene.apache.org
Subject: Fwd: Delete documents
Anyone at all?
Original Message
Subject: Delete documents
Date: Thu, 10 May 2012 22:59:49 +0300
From: Tolga
To: solr-user@lucene.apache.org
, May 11, 2012 12:31 AM
> Subject: Fwd: Delete documents
>
> Anyone at all?
>
> Original Message
> Subject: Delete documents
> Date: Thu, 10 May 2012 22:59:49 +0300
> From: Tolga
> To: solr-user@lucene.apache.org
>
>
>
>
Anyone at all?
Original Message
Subject:Delete documents
Date: Thu, 10 May 2012 22:59:49 +0300
From: Tolga
To: solr-user@lucene.apache.org
Hi,
I've been reading
http://lucene.apache.org/solr/api/doc-files/tutorial.html and in the
section "Del
Hi,
I've been reading
http://lucene.apache.org/solr/api/doc-files/tutorial.html and in the
section "Deleting Data", I've edited schema.xml to include a field named
id, issued the command for f in *;java -Ddata=args -Dcommit=no -jar
post.jar "$f";done, went on to the stats page
only to find no
On 15/09/2011 13:01, Ahmet Arslan wrote:
+*:* -title:[* TO *]
Worked fine.
Thanks a lot!
Massimo
> I want to delete all documents with
> empty title field.
> If i run the query -title:[* TO *] I obtain the correct
> list of documents but when I submit to solr the delete
> command:
>
> curl http://localhost:8080/solr/web/update\?commit=true -H
> 'Content-Type: text/xml' --data-binary \
> '-tit
I want to delete all documents with empty title field.
If i run the query -title:[* TO *] I obtain the correct list of
documents but when I submit to solr the delete command:
curl http://localhost:8080/solr/web/update\?commit=true -H
'Content-Type: text/xml' --data-binary \
'-title:[* TO *]'
Stephan and all,
I am evaluating this like you are. You may want to check
http://www.tomkleinpeter.com/2008/03/17/programmers-toolbox-part-3-consistent-hashing/.
I would appreciate if others can shed some light on this, too.
Bests,
James
On Fri, Sep 10, 2010 at 6:07 AM, Stephan Raemy wrote:
> Hi
Hi solr-cloud users,
I'm currently setting up a solr-cloud/zookeeper instance and so far,
everything works out fine. I downloaded the source from the cloud branch
yesterday and build it from source.
I've got 10 shards distributed across 4 servers and a zookeeper instance.
Searching documents with
Sent: Thursday, August 26, 2010 9:01 AM
To: solr-user@lucene.apache.org
Subject: Re: How to delete documents from SOLR index using DIH
Thanks Erick. Your solution do make sense. Actually i wanted to know,
how to
use delete via query or unique id through DIH?
Is there any specific query to be ment
olr/update?stream.body=
--
View this message in context:
http://lucene.472066.n3.nabble.com/How-to-delete-documents-from-SOLR-index-using-DIH-tp1323794p1346743.html
Sent from the Solr - User mailing list archive at Nabble.com.
gt; delete the old one and insert the new document.
>
> If this makes no sense, could you explain what the underlying problem
> you're
> trying to solve is?
>
> HTH
> Erick
>
> On Tue, Aug 24, 2010 at 8:56 PM, Pawan Darira >wrote:
>
> > Hi
> >
>
the underlying problem you're
trying to solve is?
HTH
Erick
On Tue, Aug 24, 2010 at 8:56 PM, Pawan Darira wrote:
> Hi
>
> I am using data import handler to build index. How can i delete documents
> from my index using DIH.
>
> --
> Thanks,
> Pawan Darira
>
Hi
I am using data import handler to build index. How can i delete documents
from my index using DIH.
--
Thanks,
Pawan Darira
> or since you specificly asked about delteing anything older
> then X days (in this example i'm assuming x=7)...
>
> createTime:[NOW-7DAYS TO *]
createTime:[* TO NOW-7DAYS]
: You could easily have a scheduled job that ran delete by query to
: remove posts older than a certain date...
or since you specificly asked about delteing anything older
then X days (in this example i'm assuming x=7)...
createTime:[NOW-7DAYS TO *]
-Hoss
You could easily have a scheduled job that ran delete by query to
remove posts older than a certain date...
On Fri, Feb 12, 2010 at 13:00, Matthieu Labour
wrote:
> HiIs there a way for solr or lucene to expire documents based on a field in a
> document. Let's say that I have a createTime field w
HiIs there a way for solr or lucene to expire documents based on a field in a
document. Let's say that I have a createTime field whose type is date, can i
set a policy in schema.xml for solr to delete the documents older than X
days?Thank you
>Hi
>
>Yes I'd like the document deleted from Solr and yes, there is a unique
>document id field in Solr.
>
I that case try the following. Create a field in the entity:-
Notes.
1) the entity is assumed to have name="jc".
2) the uniqueKey field is assumed to called "id".
Hi
Yes I'd like the document deleted from Solr and yes, there is a unique
document id field in Solr.
Regards
Andrew
Andrew
2009/5/13 Fergus McMenemie :
>>Hi
>>
>>Is it possible, through dataimport handler to remove an existing
>>document from the Solr index?
>>
>>I import/update from my databas
>Hi
>
>Is it possible, through dataimport handler to remove an existing
>document from the Solr index?
>
>I import/update from my database where the active field is true.
>However, if the client then set's active to false, the document stays
>in the Solr index and doesn't get removed.
>
>Regards
>A
Hi
Is it possible, through dataimport handler to remove an existing
document from the Solr index?
I import/update from my database where the active field is true.
However, if the client then set's active to false, the document stays
in the Solr index and doesn't get removed.
Regards
Andrew
50 matches
Mail list logo