Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public class DocSearchService
public DocSearchService( )
{
// Read configuration properties
_strIndex = AppPathService.getPath( PATH_INDEX );
_strIndex = AppPropertiesService.getProperty( PATH_INDEX );

if ( ( _strIndex == null ) || ( _strIndex.equals( StringUtils.EMPTY ) ) )
{
Expand All @@ -136,7 +136,7 @@ public DocSearchService( )

try
{
_analyzer = (Analyzer) Class.forName( strAnalyserClassName ).newInstance( );
_analyzer = (Analyzer) Class.forName( strAnalyserClassName ).getDeclaredConstructor( ).newInstance( );
}
catch ( Exception e )
{
Expand All @@ -156,7 +156,7 @@ public DocSearchService( )
* @deprecated Use {@code @Inject} to obtain the {@link DocSearchService}
* instance. This method will be removed in future versions.
*/
@Deprecated( since = "8.0", forRemoval = true )
@Deprecated( since = "6.0", forRemoval = true )
public static DocSearchService getInstance( )
{
return CDI.current( ).select( DocSearchService.class ).get( );
Expand Down
2 changes: 1 addition & 1 deletion webapp/WEB-INF/conf/plugins/document.properties
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ document.metadata.handler.dublincore.beanName=document.metadataDublinCore
document.metadata.handler.dublincore.description=Dublin Core

# internal document search
document.docsearch.lucene.indexPath=/plugins/document/index
document.docsearch.lucene.indexPath=java.io.tmpdir/plugins/document/index
document.docsearch.lucene.writer.mergeFactor=20
document.docsearch.lucene.writer.maxFieldLength=1000000
document.docsearch.lucene.analyser.className=fr.paris.lutece.plugins.lucene.service.analyzer.LuteceFrenchAnalyzer
Expand Down
Binary file removed webapp/plugins/document/index/_r3.cfe
Binary file not shown.
Binary file removed webapp/plugins/document/index/_r3.cfs
Binary file not shown.
Binary file removed webapp/plugins/document/index/_r3.si
Binary file not shown.
Binary file removed webapp/plugins/document/index/segments_rr
Binary file not shown.
Empty file.