views:

24

answers:

0

Basically i am doing this

I think i'll set the document id as the thread id on my site (even if some types of thread wont be searched). So i can search by thread id but i am clue less of how to delete. I found pages that say use the document index and i need to optimize or close before changes take effect but i dont know how to get the document index. How do i?

Also i seen one that said to use IndexWriter to delete but i couldnt figure out how to do it with that either.