You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Vj Ali <va...@gmail.com> on 2008/08/11 15:48:05 UTC
Can't Delete Record
Hi:
I am tying to delete the index by both <delete><id> and by using query. But
when i searched the record again it again shows me the XML of the deleted
record. i also sends <coomit> tag as well. Why record is not deleting???
please help me urgent.
Regards,
Ali Vajahat
Lahore Pakistan
--
View this message in context: http://www.nabble.com/Can%27t-Delete-Record-tp18926195p18926195.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Can't Delete Record
Posted by Vj Ali <va...@gmail.com>.
Hello Shalin!
1.The type of the id is string
i-e
<field name="url" type="string" indexed="true" stored="true"/>
<uniqueKey>url</uniqueKey>
2. I used the query <delete><id>www.google.com</id></delete>
3.No there is no exception in Log
Regards,
Ali
Shalin Shekhar Mangar wrote:
>
> Hi Ali,
>
> We can help you more if you can give us the following details.
>
> What is the type of the id as defined in schema.xml?
> What is the query you are using to delete? Does that same query show
> results
> if you search through the admin?
> Are there any exceptions in the logs?
>
> On Mon, Aug 11, 2008 at 7:18 PM, Vj Ali <va...@gmail.com> wrote:
>
>>
>> Hi:
>> I am tying to delete the index by both <delete><id> and by using query.
>> But
>> when i searched the record again it again shows me the XML of the deleted
>> record. i also sends <coomit> tag as well. Why record is not deleting???
>> please help me urgent.
>>
>> Regards,
>> Ali Vajahat
>> Lahore Pakistan
>> --
>> View this message in context:
>> http://www.nabble.com/Can%27t-Delete-Record-tp18926195p18926195.html
>> Sent from the Solr - User mailing list archive at Nabble.com.
>>
>>
>
>
> --
> Regards,
> Shalin Shekhar Mangar.
>
>
--
View this message in context: http://www.nabble.com/Can%27t-Delete-Record-tp18926195p18939008.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Can't Delete Record
Posted by Shalin Shekhar Mangar <sh...@gmail.com>.
Hi Ali,
We can help you more if you can give us the following details.
What is the type of the id as defined in schema.xml?
What is the query you are using to delete? Does that same query show results
if you search through the admin?
Are there any exceptions in the logs?
On Mon, Aug 11, 2008 at 7:18 PM, Vj Ali <va...@gmail.com> wrote:
>
> Hi:
> I am tying to delete the index by both <delete><id> and by using query.
> But
> when i searched the record again it again shows me the XML of the deleted
> record. i also sends <coomit> tag as well. Why record is not deleting???
> please help me urgent.
>
> Regards,
> Ali Vajahat
> Lahore Pakistan
> --
> View this message in context:
> http://www.nabble.com/Can%27t-Delete-Record-tp18926195p18926195.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>
--
Regards,
Shalin Shekhar Mangar.
Re: Can't Delete Record
Posted by Norberto Meijome <fr...@meijome.net>.
On Mon, 11 Aug 2008 06:48:05 -0700 (PDT)
Vj Ali <va...@gmail.com> wrote:
> i also sends <coomit> tag as well.
maybe you need
<commit/>
instead of <coomit>
?
_________________________
{Beto|Norberto|Numard} Meijome
"With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea. It is hard to be sure where they are going to land, and it could be dangerous sitting under them as they fly overhead."
[RFC1925 - section 2, subsection 3]
I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.