Re: Is this a bug of the RessourceLoader?

2010-04-05 Thread Robert Muir
On Mon, Apr 5, 2010 at 2:28 PM, Chris Hostetter wrote: > > Robert: BOMs are one of those things that strike me as being abhorent and > inheriently evil because they seem to cause nothing but problems -- > Yes. > > If text files that start with a BOM aren't properly being dealt with by > Solr ri

Re: Is this a bug of the RessourceLoader?

2010-04-05 Thread Yonik Seeley
On Mon, Apr 5, 2010 at 2:28 PM, Chris Hostetter wrote: > If text files that start with a BOM aren't properly being dealt with by > Solr right now, should we consider that a bug? It's a Java bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4508058 But we should fix if it's practical to do

Re: Is this a bug of the RessourceLoader?

2010-04-05 Thread Chris Hostetter
: Some applications (such as Windows Notepad), insert a UTF-8 Byte Order Mark : (BOM) as the first character of the file. So, perhaps the first word in your : stopwords list contains a UTF-8 BOM and thats why you are seeing this : behavior. Robert: BOMs are one of those things that strike me as b

Re: Is this a bug of the RessourceLoader?

2010-04-01 Thread MitchK
the FAQ would be a good idea, since it depends in parts on what software one used to create the file, wouldn't it? - Mitch -- View this message in context: http://n3.nabble.com/Is-this-a-bug-of-the-RessourceLoader-tp690523p690669.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Is this a bug of the RessourceLoader?

2010-04-01 Thread Robert Muir
On Thu, Apr 1, 2010 at 7:06 AM, MitchK wrote: > > It seems like that the ressource-loader has got a little bug. The first > line > of a file you want to load with the getLine()-method of RessourceLoader [1] > has to be outcommented by "#". If not, the first line seems to be ignored > or > somethi

Is this a bug of the RessourceLoader?

2010-04-01 Thread MitchK
ache/solr/common/ResourceLoader.html -- View this message in context: http://n3.nabble.com/Is-this-a-bug-of-the-RessourceLoader-tp690523p690523.html Sent from the Solr - User mailing list archive at Nabble.com.