When should I commit IndexWriter and TaxonomyWriter if I use NRT readers?

2013-04-02 Thread crocket
Since I use NRT readers for Index and TaxonomyIndex, I don't have to commit to see the changes. Now, I don't know if indexes are ever committed. If they don't commit automatically, I'd have to do it on a regular basis. What should I do about committing?

Re: How do I retrieve a list of child categories for a category?

2013-04-01 Thread crocket
>Maybe we could add some simple sugar APIs? >Eg something like Collection getChildren(int parentOrd)? > (Or maybe it returns Iterator?) >Mike McCandless I think we should talk about this in apache jira. I created an issue at https://issues.apache.org/jira/browse/LUCENE-4897

Re: How do I retrieve a list of child categories for a category?

2013-03-31 Thread crocket
s[] lets you traverse the children > of a category > while (sibling != TaxonomyReader.INVALID_ORDINAL) { > System.out.println(taxoReader.getPath(sibling)); > sibling = siblings[sibling]; // get next sibling > } > > Shai > > > On Sun, Mar 31, 2013 at 12:24 AM, crocket

How do I retrieve a list of child categories for a category?

2013-03-30 Thread crocket
I could use CountFacetRequest, but I don't need counting. I just want to get the list of child categories. How can I do it?

FacetsAccumulator.java:185 throws NullPointerException if it's given an empty CategoryPath.

2013-03-25 Thread crocket
The issue is reported at https://issues.apache.org/jira/browse/LUCENE-4882 I submit the message to the list to make people see the issue.

Re: How do I best store my IRC log data in lucene indexes?

2013-01-25 Thread crocket
there's good reason not to (massive size? different systems? > conflicting update schedules?) I'd store everything in the one index. > > Consider a cached filter for fast restriction of searches to > particular message types. > > > -- > Ian. > > > On

Re: How do I best store my IRC log data in lucene indexes?

2013-01-25 Thread crocket
e? different systems? > conflicting update schedules?) I'd store everything in the one index. > > Consider a cached filter for fast restriction of searches to > particular message types. > > > -- > Ian. > > > On Thu, Jan 24, 2013 at 1:06 PM, crocket wrote: