IntField question

2013-04-10 Thread Wei Wang
IntField inherits from Field class a function called setByteValue(). However, if we call it, it gives an error message: java.lang.IllegalArgumentException: cannot change value type from Integer to Byte 1. If this not allowed for IntField, and there is no ByteField, how will function

Re: IntField question

2013-04-10 Thread Adrien Grand
Hi, On Wed, Apr 10, 2013 at 4:59 PM, Wei Wang welshw...@gmail.com wrote: Okay. Since there is no ByteField, setByteValue will never by used. It seems like a dead function. Right, Lucene doesn't have byte or short fields. That makes sense. If we don't need positional info (virtually all terms

Re: IntField question

2013-04-10 Thread Wei Wang
Thanks for the clarification. Very helpful. On Wed, Apr 10, 2013 at 8:19 AM, Adrien Grand jpou...@gmail.com wrote: Hi, On Wed, Apr 10, 2013 at 4:59 PM, Wei Wang welshw...@gmail.com wrote: Okay. Since there is no ByteField, setByteValue will never by used. It seems like a dead function.

How to index Sharepoint files with Lucene

2013-04-10 Thread Álvaro Vargas Quezada
Hi everyone! I'm trying to combine Lucene with Sharepoint (we use Windows and SP 2010), but I couldn't find good tutorials or proven tests cases that demostrate this integration. Do you know any tutorial or can give me some help about this? I have read all the Lucene in Action but here just talk

Re: How to index Sharepoint files with Lucene

2013-04-10 Thread Jack Krupansky
The Apache ManifoldCF connector framework has a SharePoint connector that can crawl SharePoint repositories. It has an output connector that feeds into Solr/SolrCell, but you can easily develop a connector that outputs whatever you want - like put the crawled files into a file system directory,