Re: Distinct search

2006-10-11 Thread Eugeny N Dzhurinsky
On Wed, Oct 11, 2006 at 12:09:40PM -0400, Erick Erickson wrote: > No problem. Partly, it's helping me clarify my current problem > > Yes, you must delete and re-add a document to change it. You might want to > look at the IndexModifier class. Be aware of some things: > 1> Lucene doc IDs may c

Re: Distinct search

2006-10-11 Thread Erick Erickson
No problem. Partly, it's helping me clarify my current problem Yes, you must delete and re-add a document to change it. You might want to look at the IndexModifier class. Be aware of some things: 1> Lucene doc IDs may change when the index is changed, I think after optimization. So, in order

Re: Distinct search

2006-10-11 Thread Eugeny N Dzhurinsky
On Wed, Oct 11, 2006 at 11:30:03AM -0400, Erick Erickson wrote: > There's no real group_by functionality in Lucene. I'd have to ask, though, > "why organize your index this way"? I'm guessing that you're approaching > this from a database perspective, and if that's so, you may want to re-think > so

Re: Distinct search

2006-10-11 Thread Erick Erickson
There's no real group_by functionality in Lucene. I'd have to ask, though, "why organize your index this way"? I'm guessing that you're approaching this from a database perspective, and if that's so, you may want to re-think some things. Although see below for my contradicting myself. Lucene