tjake / Solandra

Solandra = Solr + Cassandra
Apache License 2.0
882 stars 150 forks source link

deleteDocuments via Lucandra.IndexWriter #97

Closed mevivs closed 13 years ago

mevivs commented 13 years ago

Hi Jake, I am trying to get deleteDocuments via Term working. But somehow i can see it is not working for me. What i am trying is to insert a document and delete the same using indexName. Then retrieve the same using search via Lucandra.IndexReader. I am getting an error like {why: Unconfigured columnFamily: Authors).

Authors is my columnFamily which i created earlier.

Any idea?

tjake commented 13 years ago

What are you doing to get that error? Are you not using solr? You can't use IndexWriter directly... you must use the solr delete api

mevivs commented 13 years ago

It is working fine now. By mistake added a code snippet to delete col family.