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
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
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
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
Hi there!
I have a index structure like this:
document_id
some_text
.
when searching for some set of documents, there could be a case when several
comments for the same document match the search criteria. In such case I need
to get single hit for all such cases, in other word - perform a "gr
I got the category thing to work. I'm using a string "category" that looks
like:
Cat1[980455981]{4}|SubCatA[980456122]{1}|
Then I can search by id, name and when I get a result list I can put them in
sequence (the soft bracket number)
However, my problem now is distinct... I want to put items
Hi John -
It sounds like you're thinking of your index in terms of sql constructs --
multiple rows for the same record. We do this very same thing with
categories; if you have a record that lives in multiple categories, just add
additional category field/value pairs for your original record. It's
Hello, I have done a search for this issue, but I didnt really see an
answer.
if i want to store things in a hierarchy, but i want items to be in multiple
categories at any level. i'd like to be able to search for an item and
only show it once, but maybe (not required) show what categories the