Hi Paresh,
Due to deleteDocByQuery impact on commits and searcher reopen, if a lot of
deletions are done it is preferable when possible to use deletebyid .
Regards
Dominique
Le mar. 12 nov. 2019 à 07:03, Paresh a écrit :
> Hi Erik,
>
> I am also looking for some example of deleteDocByQuery. H
Hi,
I am able to get it done using following way -
Thanks,
Paresh
--
Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html
Hi,
I am able to get it done using following way -
Thanks,
Paresh
--
Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html
Hi Erik,
I am also looking for some example of deleteDocByQuery. Here is my
requirement -
I want to do the database query and get the list of values of which matching
documents should be deleted from Solr.
I want to delete the docs which matches following query
SolrColumnName:
This will c
estion?
>>
>> On Tue, Sep 17, 2013 at 12:17 AM, andreas owen wrote:
>>> i am using dih and want to delete indexed documents by xml-file with ids. i
>>> have seen $deleteDocById used in
>>>
>>> data-config.xml:
>>> >> url="file:
y xml-file with ids. i
>> have seen $deleteDocById used in
>>
>> data-config.xml:
>> > url="file:///C:\ColdFusion10\cfusion\solr\solr\tkbintranet\docImportDelete.xml"
>> forEach="/docs/doc" dataSource="main
What is your question?
On Tue, Sep 17, 2013 at 12:17 AM, andreas owen wrote:
> i am using dih and want to delete indexed documents by xml-file with ids. i
> have seen $deleteDocById used in
>
> data-config.xml:
> url="file:///C:\ColdFusion10\cfusion\solr\solr\tkbintranet
i am using dih and want to delete indexed documents by xml-file with ids. i
have seen $deleteDocById used in
data-config.xml:
xml-file:
2345
ed me to a solution:
DIH - deleting documents, high performance (delta) imports, and passing
parameters
http://lucene.472066.n3.nabble.com/DIH-deleting-documents-high-performance-delta-imports-and-passing-parameters-td1388349.html
The point of confusion for me was that I was assuming $deleteDo
ncremented
either.
Perhaps this is a related bug that only happens when the deletes are added via
a transformer? Try a query like this without a transformer:
select uniqueID as '$deleteDocById' from table where uniqueID = '1-devpeter-1';
Does this work? If so, you've pro
Thanks Alan, going to try this as well. Thanks for taking the time to
answer.
Erik
--
View this message in context:
http://lucene.472066.n3.nabble.com/deleteDocByQuery-and-deleteDocByID-tp3707070p3707266.html
Sent from the Solr - User mailing list archive at Nabble.com.
Thanks James, I appreciate you taking the time to answer my question. I'll
give this a shot.
Erik
--
View this message in context:
http://lucene.472066.n3.nabble.com/deleteDocByQuery-and-deleteDocByID-tp3707070p3707263.html
Sent from the Solr - User mailing list archive at Nabble.com.
; java -Ddata=args -jar post.jar "name:DDR"
>
>
> In case you are using Solrj client or similar there are direct functions
> available to modify the index (add/update/delete).
>
> Hope it helps!
>
> -param
>
> On 2/1/12 11:14 AM, "ejcirel"
66.n3.nabble.com/deleteDocByQuery-and-deleteDocByID-tp3707070p3707226.html
Sent from the Solr - User mailing list archive at Nabble.com.
/SOLR-2492 .
James Dyer
E-Commerce Systems
Ingram Content Group
(615) 213-4311
-Original Message-
From: ejcirel [mailto:ejci...@yahoo.com]
Sent: Wednesday, February 01, 2012 10:15 AM
To: solr-user@lucene.apache.org
Subject: $deleteDocByQuery and $deleteDocByID
Does anyone have an exam
4 AM, "ejcirel" wrote:
>Does anyone have an example of how to use the $deleteDocByQuery and
>$deleteDocByID special commands. I am not finding much online. Any help
>would be greatly appreciated. Thank you.
>
>Erik
>
>--
>View this message in context:
>ht
Does anyone have an example of how to use the $deleteDocByQuery and
$deleteDocByID special commands. I am not finding much online. Any help
would be greatly appreciated. Thank you.
Erik
--
View this message in context:
http://lucene.472066.n3.nabble.com/deleteDocByQuery-and-deleteDocByID
Hi all.
I'm trying to get $deleteDocById working, but any document is being deleted
from my index.
I'm using Full-Import (withOUT cleaning) and a script with:
row.put('$deleteDocById', row.get('codAnuncio'));
The script is passing in this line for every docu
I seem to have a hard time to get $deleteDocById to work with the
XPathEntityProcessor. Anyone tested it and got it to work?
Here's a snippet of the code:
--
..
..
..
Whenever I try to run a delta-import with a document that should
delete from the index it only updates the document i
oh sry, i solve it with this entity:
;) thx nabble
--
View this message in context:
http://lucene.472066.n3.nabble.com/deleteDocByID-tp858903p858951.html
Sent from the Solr - User mailing list archive at Nabble.com.
deleted i save this in my delta-table with a flag
"is_deleted"
how can i add the row $deleteDocByID" ? i use an script for docBoosting and
i thought to solve this problem on the same way. but it dont wont to work =(
this is my script:
function DeleteDoc(row){
var is_de
On 17.03.2010, at 11:36, Lukas Kahwe Smith wrote:
>
> On 16.03.2010, at 15:42, Lukas Kahwe Smith wrote:
>
>> Hi,
>>
>> I am trying to use $deleteDocById to delete rows based on an SQL query in my
>> db-data-config.xml. The following tag is a top level tag i
On 16.03.2010, at 15:42, Lukas Kahwe Smith wrote:
> Hi,
>
> I am trying to use $deleteDocById to delete rows based on an SQL query in my
> db-data-config.xml. The following tag is a top level tag in the
> tag.
>
>
thats obviously a typo from trying to simplify
Hi,
I am trying to use $deleteDocById to delete rows based on an SQL query in my
db-data-config.xml. The following tag is a top level tag in the tag.
However it seems like its only fetching the rows, its not actually issuing any
index deletes.
regards,
Lukas Kahwe Smith
m
24 matches
Mail list logo