Update on my problem.. it looks like I am having the same problem with
deleteDocuments that I am with updateDocument. Not sure why it's not
working, though. I'm using the StandardAnalyzer, as I mentioned. Are there
any other things that I might want to check that would keep this from
working?

Thanks...

--
Joe Attardi
[EMAIL PROTECTED]
http://thinksincode.blogspot.com/

On 7/3/07, Joe Attardi <[EMAIL PROTECTED]> wrote:

Hi Erick,

I'm guessing that your problem is what gets indexed. What analyzer
> are you using when indexing? One that breaks words apart on, say,
> periods?

I am using the StandardAnalyzer. When I do a test query using Luke, it
returns the object I'm looking for. The query I use is:

id:"com.mycompany.myapp.FooBar 142"

and it returns my FooBar document with id 142.


> What is your evidence that the doc still exists? Have you
> closed/reopened
> your reader before you check this? Remember that index changes aren't
> visible for an already-opened reader.

I am creating a new IndexSearcher object every time I do a search.
But also, when I run the same query again in Luke after I do the update,
after reloading the index in Luke, it returns both objects.


Reply via email to