Re: HTMLStripCharFilterFactory, highlighting and InvalidTokenOffsetsException
On 20.04.11 18:51, Robert Muir wrote: Hi, there is a proposed patch uploaded to the issue. Maybe you can help by reviewing/testing it? if i succeed in compiling solr, i can test the patch. Is this the right starting point for such an endeavour ? http://wiki.apache.org/solr/HackingSolr -robert 2011/4/20 Robert Gründlerrob...@dubture.com: Hi all, i'm getting the following exception when using highlighting for a field containing HTMLStripCharFilterFactory: org.apache.lucene.search.highlight.InvalidTokenOffsetsException: Token ... exceeds length of provided text sized 21 It seems this is a know issue: https://issues.apache.org/jira/browse/LUCENE-2208 Does anyone know if there's a fix implemented yet in solr? thanks! -robert
Re: HTMLStripCharFilterFactory, highlighting and InvalidTokenOffsetsException
Perhaps a better place to start is here: http://wiki.apache.org/solr/HowToContribute#Contributing_Code_.28Features.2C_Big_Fixes.2C_Tests.2C_etc29 That page also has information about setting up Eclipse or IntelliJ environments. But the place to start is to get the source and get to the point where you can issue ant clean test from the command line. That should compile all the source and run the junit tests. ant example will build you a full deployment in the example directory that you can run the usual way java -jar start.jar. The IDEs also have a wizardly way to apply patches if you don't want to apply them the command-line way. Best Erick 2011/4/21 Robert Gründler rob...@dubture.com: On 20.04.11 18:51, Robert Muir wrote: Hi, there is a proposed patch uploaded to the issue. Maybe you can help by reviewing/testing it? if i succeed in compiling solr, i can test the patch. Is this the right starting point for such an endeavour ? http://wiki.apache.org/solr/HackingSolr -robert 2011/4/20 Robert Gründlerrob...@dubture.com: Hi all, i'm getting the following exception when using highlighting for a field containing HTMLStripCharFilterFactory: org.apache.lucene.search.highlight.InvalidTokenOffsetsException: Token ... exceeds length of provided text sized 21 It seems this is a know issue: https://issues.apache.org/jira/browse/LUCENE-2208 Does anyone know if there's a fix implemented yet in solr? thanks! -robert
HTMLStripCharFilterFactory, highlighting and InvalidTokenOffsetsException
Hi all, i'm getting the following exception when using highlighting for a field containing HTMLStripCharFilterFactory: org.apache.lucene.search.highlight.InvalidTokenOffsetsException: Token ... exceeds length of provided text sized 21 It seems this is a know issue: https://issues.apache.org/jira/browse/LUCENE-2208 Does anyone know if there's a fix implemented yet in solr? thanks! -robert
Re: HTMLStripCharFilterFactory, highlighting and InvalidTokenOffsetsException
Hi, there is a proposed patch uploaded to the issue. Maybe you can help by reviewing/testing it? 2011/4/20 Robert Gründler rob...@dubture.com: Hi all, i'm getting the following exception when using highlighting for a field containing HTMLStripCharFilterFactory: org.apache.lucene.search.highlight.InvalidTokenOffsetsException: Token ... exceeds length of provided text sized 21 It seems this is a know issue: https://issues.apache.org/jira/browse/LUCENE-2208 Does anyone know if there's a fix implemented yet in solr? thanks! -robert