Index: src/test/org/apache/lucene/search/function/FunctionTestSetup.java =================================================================== --- src/test/org/apache/lucene/search/function/FunctionTestSetup.java (revision 551794) +++ src/test/org/apache/lucene/search/function/FunctionTestSetup.java (working copy) @@ -49,17 +49,20 @@ protected static final String FLOAT_FIELD = "fff"; private static final String DOC_TEXT_LINES[] = { - // from a public first aid info at http://firstaid.ie.eu.org - "Well it may be a little dramatic but sometimes it true. ", - "If you call the emergency medical services to an incident, ", - "your actions have started the chain of survival. ", - "You have acted to help someone you may not even know. ", - "First aid is helping, first aid is making that call, ", - "putting a Band-Aid on a small wound, controlling bleeding in large ", - "wounds or providing CPR for a collapsed person whose not breathing ", - "and heart has stopped beating. You can help yourself, your loved ", - "ones and the stranger whose life may depend on you being in the ", - "right place at the right time with the right knowledge.", + "Well, this is just some plain text we use for creating the ", + "test documents. It used to be a text from an online collection ", + "devoted to first aid, but if there was there an (online) lawyers ", + "first aid collection with legal advices, \"it\" might have quite ", + "probably advised one not to include \"it\"'s text or the text of ", + "any other online collection in one's code, unless one has money ", + "that one don't need and one is happy to donate for lawyers ", + "charity. Anyhow at some point, rechecking the usage of this text, ", + "it became uncertain that this text is free to use, because ", + "the web site in the disclaimer of he eBook containing that text ", + "was not responding anymore, and at the same time, in projGut, ", + "searching for first aid no longer found that eBook as well. ", + "So here we are, with a perhaps much less interesting ", + "text for the test, but oh much much safer. ", }; protected Directory dir; Index: contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/feeds/SimpleDocMaker.java =================================================================== --- contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/feeds/SimpleDocMaker.java (revision 551794) +++ contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/feeds/SimpleDocMaker.java (working copy) @@ -24,17 +24,21 @@ private int docID = 0; - static final String DOC_TEXT = // from a public first aid info at http://firstaid.ie.eu.org - "Well it may be a little dramatic but sometimes it true. " + - "If you call the emergency medical services to an incident, " + - "your actions have started the chain of survival. " + - "You have acted to help someone you may not even know. " + - "First aid is helping, first aid is making that call, " + - "putting a Band-Aid on a small wound, controlling bleeding in large " + - "wounds or providing CPR for a collapsed person whose not breathing " + - "and heart has stopped beating. You can help yourself, your loved " + - "ones and the stranger whose life may depend on you being in the " + - "right place at the right time with the right knowledge."; + static final String DOC_TEXT = + "Well, this is just some plain text we use for creating the " + + "test documents. It used to be a text from an online collection " + + "devoted to first aid, but if there was there an (online) lawyers " + + "first aid collection with legal advices, \"it\" might have quite " + + "probably advised one not to include \"it\"'s text or the text of " + + "any other online collection in one's code, unless one has money " + + "that one don't need and one is happy to donate for lawyers " + + "charity. Anyhow at some point, rechecking the usage of this text, " + + "it became uncertain that this text is free to use, because " + + "the web site in the disclaimer of he eBook containing that text " + + "was not responding anymore, and at the same time, in projGut, " + + "searching for first aid no longer found that eBook as well. " + + "So here we are, with a perhaps much less interesting " + + "text for the test, but oh much much safer. "; // return a new docid private synchronized int newdocid() throws NoMoreDataException {