Re: start + end for TermDocs.read()

2007-06-12 Thread Chris Hostetter
: and grab all the ids via TermDocs.read(). But because there is no : offset, MultiTermDocs returns a list from each sub-segment, forcing me : to copy each partial int[] filled into my full int[]. it seems like at the very least, MultiTermDocs.read(int[],int[]) could allocate new arrays to pass t

start + end for TermDocs.read()

2007-06-12 Thread Yonik Seeley
If I know the docfreq of a term is 1000, I'd like to be able to allocate an int[1000] and grab all the ids via TermDocs.read(). But because there is no offset, MultiTermDocs returns a list from each sub-segment, forcing me to copy each partial int[] filled into my full int[]. If one could specif

[jira] Updated: (LUCENE-925) Analysis Package Level Javadocs

2007-06-12 Thread Grant Ingersoll (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Grant Ingersoll updated LUCENE-925: --- Attachment: LUCENE-925.patch First crack at some Analysis level javadocs. All comments welco

[jira] Closed: (LUCENE-918) Interface TermFreqVector has incomplete Javadocs

2007-06-12 Thread Grant Ingersoll (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Grant Ingersoll closed LUCENE-918. -- Resolution: Fixed Lucene Fields: (was: [New]) Committed revision 546696 and Committed

[jira] Assigned: (LUCENE-926) Document Package level javadocs need improving

2007-06-12 Thread Grant Ingersoll (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-926?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Grant Ingersoll reassigned LUCENE-926: -- Assignee: Grant Ingersoll > Document Package level javadocs need improving > --

[jira] Assigned: (LUCENE-925) Analysis Package Level Javadocs

2007-06-12 Thread Grant Ingersoll (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Grant Ingersoll reassigned LUCENE-925: -- Assignee: Grant Ingersoll > Analysis Package Level Javadocs > -

Re: How to handle servlet-api.jar in build?

2007-06-12 Thread Paul Smith
On 12/06/2007, at 7:07 PM, mark harwood wrote: Thanks for the pointers Paul. I just don't think you can 'package' up a distribution that includes these jars in your distribution. Clearly the binary distribution need not bundle servlet-api.jar - a demo.war file is all that is needed. Howe

Re: How to handle servlet-api.jar in build?

2007-06-12 Thread Chris Hostetter
: From what I can tell, Tomcat bundles this, as does Solr, as do other Solr bundles the one from Tomcat... >From it's manifest file... Name: javax/servlet/ Specification-Title: Java API for Servlets Specification-Version: 2.4 Specification-Vendor: Sun Microsystems, Inc. Implementation-Title: ja

Re: How to handle servlet-api.jar in build?

2007-06-12 Thread Grant Ingersoll
From what I can tell, Tomcat bundles this, as does Solr, as do other products like Jetty. FWIW, it might be worthwhile to have the demo package Jetty like Solr does so that we can run it right out of the box. Also, see https://issues.apache.org/jira/browse/LUCENE-805 Thanks for helping out!

Re: How to handle servlet-api.jar in build?

2007-06-12 Thread mark harwood
Thanks for the pointers Paul. >>I just don't think you can 'package' up a distribution that includes these >>jars in your distribution. Clearly the binary distribution need not bundle servlet-api.jar - a demo.war file is all that is needed. However, is the source distribution exempt from this r

[jira] Commented: (LUCENE-530) Extend NumberTools to support int/long/float/double to string

2007-06-12 Thread mohammad norouzi (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12503769 ] mohammad norouzi commented on LUCENE-530: - I just want to know if this works fine why they don't add it to th

Re: How to handle servlet-api.jar in build?

2007-06-12 Thread Paul Smith
On 12/06/2007, at 5:09 PM, markharw00d wrote: As part of the documentation push I was considering putting together an updated demo web app which showed a number of things (indexing, search, highlighting, XML Query templates etc) and was wondering what that might mean to the build system if

How to handle servlet-api.jar in build?

2007-06-12 Thread markharw00d
As part of the documentation push I was considering putting together an updated demo web app which showed a number of things (indexing, search, highlighting, XML Query templates etc) and was wondering what that might mean to the build system if I was dependent on the servlet API. Are there any