How do i get a document index so i can delete with lucene?
Posted
by acidzombie24
on Stack Overflow
See other posts from Stack Overflow
or by acidzombie24
Published on 2010-04-11T15:57:58Z
Indexed on
2010/04/11
16:03 UTC
Read the original article
Hit count: 205
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.
© Stack Overflow or respective owner