#342 - Expanded copyright headers to 2018.
Removed trailing whitespace in touched files.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2014-2017 the original author or authors.
|
||||
* Copyright 2014-2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -29,7 +29,7 @@ import org.springframework.data.solr.repository.Score;
|
||||
/**
|
||||
* Document representing a {@link Product} and its attributes matching the fields defined in the <a
|
||||
* href="http://localhost:8983/solr/techproducts/schema">example solr schema</a>.
|
||||
*
|
||||
*
|
||||
* @author Christoph Strobl
|
||||
* @author Oliver Gierke
|
||||
*/
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2014-2017 the original author or authors.
|
||||
* Copyright 2014-2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -26,14 +26,14 @@ import org.springframework.data.solr.repository.Query;
|
||||
|
||||
/**
|
||||
* Repository definition for {@link Product}.
|
||||
*
|
||||
*
|
||||
* @author Christoph Strobl
|
||||
*/
|
||||
public interface ProductRepository extends ProductRepositoryCustom, CrudRepository<Product, String> {
|
||||
|
||||
/**
|
||||
* Find documents with matching description, highlighting context within a 20 char range around the hit.
|
||||
*
|
||||
*
|
||||
* @param description
|
||||
* @param page
|
||||
* @return
|
||||
@@ -44,7 +44,7 @@ public interface ProductRepository extends ProductRepositoryCustom, CrudReposito
|
||||
/**
|
||||
* Find the first 10 documents with a match in name or description. Boosting score for search hits in name by 2 sorts
|
||||
* documents by relevance.
|
||||
*
|
||||
*
|
||||
* @param name
|
||||
* @param description
|
||||
* @return
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2014-2017 the original author or authors.
|
||||
* Copyright 2014-2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -20,7 +20,7 @@ import org.springframework.data.solr.core.query.result.Cursor;
|
||||
|
||||
/**
|
||||
* Custom repository implementation to show special solr functions without {@link Repository} abstraction.
|
||||
*
|
||||
*
|
||||
* @author Christoph Strobl
|
||||
*/
|
||||
interface ProductRepositoryCustom {
|
||||
@@ -28,7 +28,7 @@ interface ProductRepositoryCustom {
|
||||
/**
|
||||
* Use a {@link Cursor} to scroll through documents in index. <br />
|
||||
* <strong>NOTE:</strong> Requires at least Solr 4.7.
|
||||
*
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
Cursor<Product> findAllUsingCursor();
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2014-2017 the original author or authors.
|
||||
* Copyright 2014-2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -23,7 +23,7 @@ import org.springframework.data.solr.core.query.result.Cursor;
|
||||
|
||||
/**
|
||||
* Implementation of {@link ProductRepositoryCustom}.
|
||||
*
|
||||
*
|
||||
* @author Christoph Strobl
|
||||
* @author Oliver Gierke
|
||||
*/
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2014-2017 the original author or authors.
|
||||
* Copyright 2014-2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2014-2016 the original author or authors.
|
||||
* Copyright 2014-2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2014-2017 the original author or authors.
|
||||
* Copyright 2014-2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
||||
Reference in New Issue
Block a user