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

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 tal

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 wrote: > Hi, > > On Wed, Apr 10, 2013 at 4:59 PM, Wei Wang wrote: > > Okay. Since there is no ByteField, setByteValue will never by used. It > > seems like a dead function. > > Right, Lucene doesn't have b

Re: IntField question

2013-04-10 Thread Adrien Grand
Hi, On Wed, Apr 10, 2013 at 4:59 PM, Wei Wang 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 are > at the sam

Re: IntField question

2013-04-10 Thread Wei Wang
Hi, On Wed, Apr 10, 2013 at 2:45 AM, Adrien Grand wrote: > Hi, > > On Wed, Apr 10, 2013 at 9:34 AM, Wei Wang wrote: > > IntField inherits from Field class a function called setByteValue(). > > However, if we call it, it gives an error message: > > > > java.lang.IllegalArgumentException: cannot

Re: how to consider special character like + ! @ # in Lucene search

2013-04-10 Thread Jack Krupansky
You'll have to switch from using the standard analyzer/tokenizer to using the whitespace analyzer/tokenizer, and make sure not to use any additional token filters that might eliminate some or all special characters (or provide character maps for the ones that do accept character maps.) You will

Re: IntField question

2013-04-10 Thread Adrien Grand
Hi, On Wed, Apr 10, 2013 at 9:34 AM, Wei Wang wrote: > 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 I

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 setByteValue(

Re: Cannot instantiate SPI class: org.apache.lucene.codecs.lucene42.Lucene42Codec

2013-04-10 Thread Manivannan Selvadurai
you are exactly correct...we found this out and removed the facets, codecs jar and fixed the issue for now.We will explore the maven option. Thanks again for the reply On Wed, Apr 10, 2013 at 12:09 PM, Uwe Schindler wrote: > Hi Manivannan, > > thanks for the reply. > > Im not using any custom