Author: suat
Date: Wed Mar 28 08:22:29 2012
New Revision: 1306210
URL: http://svn.apache.org/viewvc?rev=1306210&view=rev
Log:
STANBOL-471: Refactoring packages based on the new structure
Added:
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/exception/ContenthubException.java
- copied, changed from r1305799,
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/exception/AbstractContenthubException.java
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/ldpath/
- copied from r1305799,
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/ldpath/
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/ldpath/LDPathProgram.java
- copied, changed from r1305799,
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/ldpath/LDProgram.java
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/ldpath/LDPathProgramCollection.java
- copied, changed from r1305799,
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/ldpath/LDProgramCollection.java
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/ldpath/LDPathSemanticIndexManager.java
- copied, changed from r1305799,
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/ldpath/SemanticIndexManager.java
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/search/
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/search/SearchException.java
- copied, changed from r1305799,
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/search/SearchException.java
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/search/featured/
- copied from r1305799,
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/search/featured/
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/search/related/
- copied from r1305799,
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/search/related/
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/search/solr/
- copied from r1305799,
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/search/solr/
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/search/solr/SolrSearch.java
- copied, changed from r1306205,
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/search/solr/SolrSearch.java
Removed:
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/exception/AbstractContenthubException.java
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/ldpath/LDProgram.java
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/ldpath/LDProgramCollection.java
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/ldpath/SemanticIndexManager.java
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/search/featured/ResultantDocument.java
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/ldpath/
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/search/
Modified:
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/ldpath/LDPathException.java
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/search/featured/DocumentResult.java
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/search/featured/FacetResult.java
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/search/featured/FeaturedSearch.java
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/search/featured/SearchResult.java
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/search/related/RelatedKeyword.java
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/search/related/RelatedKeywordSearch.java
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/search/related/RelatedKeywordSearchManager.java
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/store/StoreException.java
Copied:
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/exception/ContenthubException.java
(from r1305799,
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/exception/AbstractContenthubException.java)
URL:
http://svn.apache.org/viewvc/incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/exception/ContenthubException.java?p2=incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/exception/ContenthubException.java&p1=incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/exception/AbstractContenthubException.java&r1=1305799&r2=1306210&rev=1306210&view=diff
==============================================================================
---
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/exception/AbstractContenthubException.java
(original)
+++
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/exception/ContenthubException.java
Wed Mar 28 08:22:29 2012
@@ -22,19 +22,19 @@ package org.apache.stanbol.contenthub.se
* @author anil.sinaci
*
*/
-public abstract class AbstractContenthubException extends Exception {
+public abstract class ContenthubException extends Exception {
private static final long serialVersionUID = -2303415622874917355L;
- protected AbstractContenthubException(String msg) {
+ protected ContenthubException(String msg) {
super(msg);
}
- protected AbstractContenthubException(Throwable cause) {
+ protected ContenthubException(Throwable cause) {
super(cause);
}
- protected AbstractContenthubException(String msg, Throwable cause) {
+ protected ContenthubException(String msg, Throwable cause) {
super(msg, cause);
}
Modified:
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/ldpath/LDPathException.java
URL:
http://svn.apache.org/viewvc/incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/ldpath/LDPathException.java?rev=1306210&r1=1305799&r2=1306210&view=diff
==============================================================================
---
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/ldpath/LDPathException.java
(original)
+++
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/ldpath/LDPathException.java
Wed Mar 28 08:22:29 2012
@@ -14,9 +14,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.stanbol.contenthub.servicesapi.ldpath;
+package org.apache.stanbol.contenthub.servicesapi.index.ldpath;
-import
org.apache.stanbol.contenthub.servicesapi.exception.AbstractContenthubException;
+import org.apache.stanbol.contenthub.servicesapi.exception.ContenthubException;
/**
* Exception to be thrown in LDPath related operations of Contenthub.
@@ -24,7 +24,7 @@ import org.apache.stanbol.contenthub.ser
* @author anil.sinaci
*
*/
-public class LDPathException extends AbstractContenthubException {
+public class LDPathException extends ContenthubException {
private static final long serialVersionUID = 4755524861924506181L;
Copied:
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/ldpath/LDPathProgram.java
(from r1305799,
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/ldpath/LDProgram.java)
URL:
http://svn.apache.org/viewvc/incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/ldpath/LDPathProgram.java?p2=incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/ldpath/LDPathProgram.java&p1=incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/ldpath/LDProgram.java&r1=1305799&r2=1306210&rev=1306210&view=diff
==============================================================================
---
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/ldpath/LDProgram.java
(original)
+++
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/ldpath/LDPathProgram.java
Wed Mar 28 08:22:29 2012
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.stanbol.contenthub.servicesapi.ldpath;
+package org.apache.stanbol.contenthub.servicesapi.index.ldpath;
/**
* Simple bean class representing the LDPath programs. Contains the program
itself together with its name.
@@ -22,12 +22,12 @@ package org.apache.stanbol.contenthub.se
* @author anil.sinaci
*
*/
-public class LDProgram {
+public class LDPathProgram {
private String name;
private String ldPathProgram;
- public LDProgram(String name, String ldPathProgram) {
+ public LDPathProgram(String name, String ldPathProgram) {
this.name = name;
this.ldPathProgram = ldPathProgram;
}
Copied:
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/ldpath/LDPathProgramCollection.java
(from r1305799,
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/ldpath/LDProgramCollection.java)
URL:
http://svn.apache.org/viewvc/incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/ldpath/LDPathProgramCollection.java?p2=incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/ldpath/LDPathProgramCollection.java&p1=incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/ldpath/LDProgramCollection.java&r1=1305799&r2=1306210&rev=1306210&view=diff
==============================================================================
---
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/ldpath/LDProgramCollection.java
(original)
+++
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/ldpath/LDPathProgramCollection.java
Wed Mar 28 08:22:29 2012
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.stanbol.contenthub.servicesapi.ldpath;
+package org.apache.stanbol.contenthub.servicesapi.index.ldpath;
import java.util.ArrayList;
import java.util.List;
@@ -27,29 +27,29 @@ import java.util.Map;
* @author anil.sinaci
*
*/
-public class LDProgramCollection {
+public class LDPathProgramCollection {
private Map<String,String> nameProgramMap;
/**
- * Creates an {@link LDProgramCollection} based on a provide {@link Map}
keeping <name,program> pairs.
+ * Creates an {@link LDPathProgramCollection} based on a provide {@link
Map} keeping <name,program> pairs.
*
* @param nameProgramMap
- * On which the {@link LDProgramCollection} will be initialized.
+ * On which the {@link LDPathProgramCollection} will be
initialized.
*/
- public LDProgramCollection(Map<String,String> nameProgramMap) {
+ public LDPathProgramCollection(Map<String,String> nameProgramMap) {
this.nameProgramMap = nameProgramMap;
}
/**
* This method returns the list of LDPath programs stored in the scope of
Contenthub.
*
- * @return {@link List} of {@link LDProgram}s.
+ * @return {@link List} of {@link LDPathProgram}s.
*/
- public List<LDProgram> asList() {
- List<LDProgram> list = new ArrayList<LDProgram>();
+ public List<LDPathProgram> asList() {
+ List<LDPathProgram> list = new ArrayList<LDPathProgram>();
for (Map.Entry<String,String> entry : nameProgramMap.entrySet()) {
- list.add(new LDProgram(entry.getKey(), entry.getValue()));
+ list.add(new LDPathProgram(entry.getKey(), entry.getValue()));
}
return list;
}
Copied:
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/ldpath/LDPathSemanticIndexManager.java
(from r1305799,
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/ldpath/SemanticIndexManager.java)
URL:
http://svn.apache.org/viewvc/incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/ldpath/LDPathSemanticIndexManager.java?p2=incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/ldpath/LDPathSemanticIndexManager.java&p1=incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/ldpath/SemanticIndexManager.java&r1=1305799&r2=1306210&rev=1306210&view=diff
==============================================================================
---
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/ldpath/SemanticIndexManager.java
(original)
+++
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/ldpath/LDPathSemanticIndexManager.java
Wed Mar 28 08:22:29 2012
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.stanbol.contenthub.servicesapi.ldpath;
+package org.apache.stanbol.contenthub.servicesapi.index.ldpath;
import java.io.Reader;
import java.util.Collection;
@@ -30,7 +30,7 @@ import at.newmedialab.ldpath.model.progr
* @author anil.sinaci
*
*/
-public interface SemanticIndexManager {
+public interface LDPathSemanticIndexManager {
/**
* Saves LDPath program to persistent storage with given name and
@@ -105,9 +105,9 @@ public interface SemanticIndexManager {
* Used to retrieve names and programs of all currently managed
program-core
* pairs
*
- * @return All managed programs as {@link LDProgramCollection}
+ * @return All managed programs as {@link LDPathProgramCollection}
*/
- public LDProgramCollection retrieveAllPrograms();
+ public LDPathProgramCollection retrieveAllPrograms();
/**
* This method first tries to obtain the program itself through the
given
Copied:
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/search/SearchException.java
(from r1305799,
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/search/SearchException.java)
URL:
http://svn.apache.org/viewvc/incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/search/SearchException.java?p2=incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/search/SearchException.java&p1=incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/search/SearchException.java&r1=1305799&r2=1306210&rev=1306210&view=diff
==============================================================================
---
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/search/SearchException.java
(original)
+++
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/search/SearchException.java
Wed Mar 28 08:22:29 2012
@@ -14,9 +14,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.stanbol.contenthub.servicesapi.search;
+package org.apache.stanbol.contenthub.servicesapi.index.search;
-import
org.apache.stanbol.contenthub.servicesapi.exception.AbstractContenthubException;
+import org.apache.stanbol.contenthub.servicesapi.exception.ContenthubException;
/**
* Exception to be thrown in search related operations of Contenthub.
@@ -24,7 +24,7 @@ import org.apache.stanbol.contenthub.ser
* @author anil.sinaci
*
*/
-public class SearchException extends AbstractContenthubException {
+public class SearchException extends ContenthubException {
private static final long serialVersionUID = -8961306574004699946L;
Modified:
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/search/featured/DocumentResult.java
URL:
http://svn.apache.org/viewvc/incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/search/featured/DocumentResult.java?rev=1306210&r1=1305799&r2=1306210&view=diff
==============================================================================
---
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/search/featured/DocumentResult.java
(original)
+++
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/search/featured/DocumentResult.java
Wed Mar 28 08:22:29 2012
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.stanbol.contenthub.servicesapi.search.featured;
+package org.apache.stanbol.contenthub.servicesapi.index.search.featured;
/**
* This interface contains "getter" methods for a search result that can be
passed in a {@link SearchResult}
Modified:
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/search/featured/FacetResult.java
URL:
http://svn.apache.org/viewvc/incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/search/featured/FacetResult.java?rev=1306210&r1=1305799&r2=1306210&view=diff
==============================================================================
---
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/search/featured/FacetResult.java
(original)
+++
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/search/featured/FacetResult.java
Wed Mar 28 08:22:29 2012
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.stanbol.contenthub.servicesapi.search.featured;
+package org.apache.stanbol.contenthub.servicesapi.index.search.featured;
import org.apache.solr.client.solrj.response.FacetField;
Modified:
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/search/featured/FeaturedSearch.java
URL:
http://svn.apache.org/viewvc/incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/search/featured/FeaturedSearch.java?rev=1306210&r1=1305799&r2=1306210&view=diff
==============================================================================
---
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/search/featured/FeaturedSearch.java
(original)
+++
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/search/featured/FeaturedSearch.java
Wed Mar 28 08:22:29 2012
@@ -14,14 +14,14 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.stanbol.contenthub.servicesapi.search.featured;
+package org.apache.stanbol.contenthub.servicesapi.index.search.featured;
import java.util.List;
import org.apache.solr.common.params.SolrParams;
-import org.apache.stanbol.contenthub.servicesapi.search.SearchException;
-import
org.apache.stanbol.contenthub.servicesapi.search.related.RelatedKeywordSearch;
-import org.apache.stanbol.contenthub.servicesapi.search.solr.SolrSearch;
+import org.apache.stanbol.contenthub.servicesapi.index.search.SearchException;
+import
org.apache.stanbol.contenthub.servicesapi.index.search.related.RelatedKeywordSearch;
+import org.apache.stanbol.contenthub.servicesapi.index.search.solr.SolrSearch;
/**
* This interface provides search functionalities over the submitted content
items to the Contenthub. It
Modified:
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/search/featured/SearchResult.java
URL:
http://svn.apache.org/viewvc/incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/search/featured/SearchResult.java?rev=1306210&r1=1305799&r2=1306210&view=diff
==============================================================================
---
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/search/featured/SearchResult.java
(original)
+++
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/search/featured/SearchResult.java
Wed Mar 28 08:22:29 2012
@@ -14,14 +14,14 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.stanbol.contenthub.servicesapi.search.featured;
+package org.apache.stanbol.contenthub.servicesapi.index.search.featured;
import java.util.List;
import java.util.Map;
import org.apache.solr.client.solrj.response.FacetField;
-import org.apache.stanbol.contenthub.servicesapi.search.related.RelatedKeyword;
-import
org.apache.stanbol.contenthub.servicesapi.search.related.RelatedKeywordSearchManager;
+import
org.apache.stanbol.contenthub.servicesapi.index.search.related.RelatedKeyword;
+import
org.apache.stanbol.contenthub.servicesapi.index.search.related.RelatedKeywordSearchManager;
/**
* This interface defines the structure of a unified search result returned by
{@link FeaturedSearch} and
Modified:
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/search/related/RelatedKeyword.java
URL:
http://svn.apache.org/viewvc/incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/search/related/RelatedKeyword.java?rev=1306210&r1=1305799&r2=1306210&view=diff
==============================================================================
---
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/search/related/RelatedKeyword.java
(original)
+++
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/search/related/RelatedKeyword.java
Wed Mar 28 08:22:29 2012
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.stanbol.contenthub.servicesapi.search.related;
+package org.apache.stanbol.contenthub.servicesapi.index.search.related;
/**
* This interface defines the structure of a keyword which is related to the
query term of a search operation.
Modified:
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/search/related/RelatedKeywordSearch.java
URL:
http://svn.apache.org/viewvc/incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/search/related/RelatedKeywordSearch.java?rev=1306210&r1=1305799&r2=1306210&view=diff
==============================================================================
---
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/search/related/RelatedKeywordSearch.java
(original)
+++
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/search/related/RelatedKeywordSearch.java
Wed Mar 28 08:22:29 2012
@@ -14,12 +14,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.stanbol.contenthub.servicesapi.search.related;
+package org.apache.stanbol.contenthub.servicesapi.index.search.related;
import java.util.List;
import java.util.Map;
-import org.apache.stanbol.contenthub.servicesapi.search.SearchException;
+import org.apache.stanbol.contenthub.servicesapi.index.search.SearchException;
/**
* Related keyword searcher for a given query keyword.
Modified:
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/search/related/RelatedKeywordSearchManager.java
URL:
http://svn.apache.org/viewvc/incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/search/related/RelatedKeywordSearchManager.java?rev=1306210&r1=1305799&r2=1306210&view=diff
==============================================================================
---
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/search/related/RelatedKeywordSearchManager.java
(original)
+++
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/search/related/RelatedKeywordSearchManager.java
Wed Mar 28 08:22:29 2012
@@ -14,13 +14,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.stanbol.contenthub.servicesapi.search.related;
+package org.apache.stanbol.contenthub.servicesapi.index.search.related;
import java.util.List;
import java.util.Map;
-import org.apache.stanbol.contenthub.servicesapi.search.SearchException;
-import org.apache.stanbol.contenthub.servicesapi.search.featured.SearchResult;
+import org.apache.stanbol.contenthub.servicesapi.index.search.SearchException;
+import
org.apache.stanbol.contenthub.servicesapi.index.search.featured.SearchResult;
/**
* This manager interface provides methods for searching related keywords for
a query term. These methods
Copied:
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/search/solr/SolrSearch.java
(from r1306205,
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/search/solr/SolrSearch.java)
URL:
http://svn.apache.org/viewvc/incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/search/solr/SolrSearch.java?p2=incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/search/solr/SolrSearch.java&p1=incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/search/solr/SolrSearch.java&r1=1306205&r2=1306210&rev=1306210&view=diff
==============================================================================
---
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/search/solr/SolrSearch.java
(original)
+++
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/index/search/solr/SolrSearch.java
Wed Mar 28 08:22:29 2012
@@ -14,12 +14,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.stanbol.contenthub.servicesapi.search.solr;
+package org.apache.stanbol.contenthub.servicesapi.index.search.solr;
import org.apache.solr.client.solrj.response.QueryResponse;
import org.apache.solr.common.params.SolrParams;
import org.apache.stanbol.contenthub.servicesapi.index.SemanticIndexManager;
-import org.apache.stanbol.contenthub.servicesapi.search.SearchException;
+import org.apache.stanbol.contenthub.servicesapi.index.search.SearchException;
/**
* Apache Solr based search interface of Stanbol Contenthub. It makes use of
SolrJ API in the provided
Modified:
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/store/StoreException.java
URL:
http://svn.apache.org/viewvc/incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/store/StoreException.java?rev=1306210&r1=1306209&r2=1306210&view=diff
==============================================================================
---
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/store/StoreException.java
(original)
+++
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/store/StoreException.java
Wed Mar 28 08:22:29 2012
@@ -16,13 +16,13 @@
*/
package org.apache.stanbol.contenthub.servicesapi.store;
-import
org.apache.stanbol.contenthub.servicesapi.exception.AbstractContenthubException;
+import org.apache.stanbol.contenthub.servicesapi.exception.ContenthubException;
/**
* @author anil.sinaci
*
*/
-public class StoreException extends AbstractContenthubException {
+public class StoreException extends ContenthubException {
private static final long serialVersionUID = 5670121947624979014L;