Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Cleaned up repository structure.

Moved examples into separate repository (https://github.com/SpringSource/spring-data-solr-examples). Moved actual code into top level repository. Added Eclipse formatter.
  • Loading branch information...
commit 9504f239fce632e07bd427beaa846d5eb224e6c6 1 parent a9598d2
@olivergierke olivergierke authored
Showing with 298 additions and 1,285 deletions.
  1. +7 −0 .gitignore
  2. 0  {sol-dock-r → }/LICENSE
  3. +0 −10 examples/spring-solr-repository-example/.classpath
  4. +0 −23 examples/spring-solr-repository-example/.project
  5. +0 −6 examples/spring-solr-repository-example/.settings/org.eclipse.core.resources.prefs
  6. +0 −12 examples/spring-solr-repository-example/.settings/org.eclipse.jdt.core.prefs
  7. +0 −4 examples/spring-solr-repository-example/.settings/org.eclipse.m2e.core.prefs
  8. +0 −201 examples/spring-solr-repository-example/LICENSE
  9. +0 −23 examples/spring-solr-repository-example/README
  10. BIN  examples/spring-solr-repository-example/lib/sol-dock-r-0.2.0.jar
  11. +0 −223 examples/spring-solr-repository-example/pom.xml
  12. +0 −109 examples/spring-solr-repository-example/src/main/java/at/pagu/data/solr/example/model/Product.java
  13. +0 −31 examples/spring-solr-repository-example/src/main/java/at/pagu/data/solr/example/model/SearchableProduct.java
  14. +0 −30 ...spring-solr-repository-example/src/main/java/at/pagu/data/solr/example/repository/CustomSolrRepository.java
  15. +0 −48 ...ng-solr-repository-example/src/main/java/at/pagu/data/solr/example/repository/CustomSolrRepositoryImpl.java
  16. +0 −42 ...olr-repository-example/src/main/java/at/pagu/data/solr/example/repository/DerivedSolrProductRepository.java
  17. +0 −35 ...es/spring-solr-repository-example/src/main/java/at/pagu/data/solr/example/repository/ProductRepository.java
  18. +0 −58 ...pring-solr-repository-example/src/main/java/at/pagu/data/solr/example/repository/SolrProductRepository.java
  19. +0 −40 ...spring-solr-repository-example/src/main/java/at/pagu/data/solr/example/repository/SolrSearchableFields.java
  20. +0 −41 examples/spring-solr-repository-example/src/main/resources/at/pagu/data/solr/example/applicationContext.xml
  21. +0 −17 examples/spring-solr-repository-example/src/main/resources/at/pagu/data/solr/example/configuration.properties
  22. +0 −46 ...solr-repository-example/src/test/java/at/pagu/data/solr/example/repository/AbstractSolrIntegrationTest.java
  23. +0 −126 ...epository-example/src/test/java/at/pagu/data/solr/example/repository/ITestDerivedSolrProductRepository.java
  24. +0 −116 ...-solr-repository-example/src/test/java/at/pagu/data/solr/example/repository/ITestSolrProductRepository.java
  25. +291 −0 formatting.xml
  26. 0  {sol-dock-r → }/pom.xml
  27. +0 −10 sol-dock-r/.classpath
  28. +0 −23 sol-dock-r/.project
  29. +0 −7 sol-dock-r/.settings/org.eclipse.jdt.core.prefs
  30. +0 −4 sol-dock-r/.settings/org.eclipse.m2e.core.prefs
  31. 0  {sol-dock-r → }/src/main/assembly/jar-with-dependencies.descriptor.xml
  32. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/ApiUsageException.java
  33. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/QueryException.java
  34. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/SolDockRException.java
  35. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/SolrServerFactory.java
  36. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/core/EmbeddedSolrServerFactory.java
  37. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/core/HttpSolrServerFactory.java
  38. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/core/QueryParser.java
  39. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/core/ResultHelper.java
  40. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/core/SolrCallback.java
  41. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/core/SolrOperations.java
  42. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/core/SolrTemplate.java
  43. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/core/convert/DateTimeConverters.java
  44. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/core/convert/MappingSolrConverter.java
  45. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/core/convert/NumberConverters.java
  46. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/core/convert/SimpleSolrTypeMapper.java
  47. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/core/convert/SolrConverter.java
  48. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/core/convert/SolrTypeMapper.java
  49. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/core/convert/SolrjConverters.java
  50. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/core/mapping/SimpleSolrMappingContext.java
  51. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/core/mapping/SimpleSolrPersistentEntity.java
  52. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/core/mapping/SimpleSolrPersistentProperty.java
  53. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/core/mapping/SolrDocument.java
  54. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/core/mapping/SolrPersistentEntity.java
  55. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/core/mapping/SolrPersistentProperty.java
  56. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/core/query/AbstractQuery.java
  57. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/core/query/Criteria.java
  58. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/core/query/FacetOptions.java
  59. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/core/query/FacetQuery.java
  60. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/core/query/Field.java
  61. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/core/query/FilterQuery.java
  62. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/core/query/Query.java
  63. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/core/query/QueryStringHolder.java
  64. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/core/query/SimpleFacetQuery.java
  65. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/core/query/SimpleField.java
  66. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/core/query/SimpleFilterQuery.java
  67. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/core/query/SimpleQuery.java
  68. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/core/query/SimpleStringCriteria.java
  69. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/core/query/SolDockRQuery.java
  70. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/core/query/result/FacetEntry.java
  71. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/core/query/result/FacetPage.java
  72. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/core/query/result/SimpleFacetEntry.java
  73. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/repository/Query.java
  74. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/repository/SimpleSolrRepository.java
  75. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/repository/SolrCrudRepository.java
  76. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/repository/SolrRepository.java
  77. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/repository/cdi/SolrRepositoryBean.java
  78. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/repository/cdi/SolrRepositoryExtension.java
  79. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/repository/query/AbstractSolrQuery.java
  80. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/repository/query/PartTreeSolrQuery.java
  81. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/repository/query/SolrEntityInformation.java
  82. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/repository/query/SolrEntityInformationCreator.java
  83. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/repository/query/SolrParameterAccessor.java
  84. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/repository/query/SolrParametersParameterAccessor.java
  85. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/repository/query/SolrQueryCreator.java
  86. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/repository/query/SolrQueryMethod.java
  87. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/repository/query/StringBasedSolrQuery.java
  88. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/repository/support/MappingSolrEntityInformation.java
  89. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/repository/support/SolrEntityInformationCreatorImpl.java
  90. 0  {sol-dock-r → }/src/main/java/at/pagu/soldockr/repository/support/SolrRepositoryFactory.java
  91. 0  {sol-dock-r → }/src/main/resources/META-INF/services/javax.enterprise.inject.spi.Extension
  92. 0  {sol-dock-r → }/src/test/java/at/pagu/soldockr/AbstractITestWithEmbeddedSolrServer.java
  93. 0  {sol-dock-r → }/src/test/java/at/pagu/soldockr/ExampleSolrBean.java
  94. 0  {sol-dock-r → }/src/test/java/at/pagu/soldockr/core/HttpSolrServerFactoryTest.java
  95. 0  {sol-dock-r → }/src/test/java/at/pagu/soldockr/core/ITestSolrTemplate.java
  96. 0  {sol-dock-r → }/src/test/java/at/pagu/soldockr/core/QueryParserTest.java
  97. 0  {sol-dock-r → }/src/test/java/at/pagu/soldockr/core/ResultHelperTest.java
  98. 0  {sol-dock-r → }/src/test/java/at/pagu/soldockr/core/SimpleJavaObject.java
  99. 0  {sol-dock-r → }/src/test/java/at/pagu/soldockr/core/SolrTemplateTest.java
  100. 0  {sol-dock-r → }/src/test/java/at/pagu/soldockr/core/convert/DateTimeConvertersTest.java
  101. 0  {sol-dock-r → }/src/test/java/at/pagu/soldockr/core/convert/MappingSolrConverterTest.java
  102. 0  {sol-dock-r → }/src/test/java/at/pagu/soldockr/core/convert/NumberConvertersTest.java
  103. 0  {sol-dock-r → }/src/test/java/at/pagu/soldockr/core/mapping/SimpleSolrPersistentEntityTest.java
  104. 0  {sol-dock-r → }/src/test/java/at/pagu/soldockr/core/query/CriteriaTest.java
  105. 0  {sol-dock-r → }/src/test/java/at/pagu/soldockr/core/query/FacetOptionsTest.java
  106. 0  {sol-dock-r → }/src/test/java/at/pagu/soldockr/core/query/ITestCriteriaExecution.java
  107. 0  {sol-dock-r → }/src/test/java/at/pagu/soldockr/core/query/SimpleQueryTest.java
  108. 0  {sol-dock-r → }/src/test/java/at/pagu/soldockr/core/query/SimpleStringCriteriaTest.java
  109. 0  {sol-dock-r → }/src/test/java/at/pagu/soldockr/repository/ExampleSolrBeanRepository.java
  110. 0  {sol-dock-r → }/src/test/java/at/pagu/soldockr/repository/ITestSimpleSolrRepository.java
  111. 0  {sol-dock-r → }/src/test/java/at/pagu/soldockr/repository/ProductBean.java
  112. 0  {sol-dock-r → }/src/test/java/at/pagu/soldockr/repository/SimpleSolrRepositoryTest.java
  113. 0  {sol-dock-r → }/src/test/java/at/pagu/soldockr/repository/cdi/CdiProductRepository.java
  114. 0  {sol-dock-r → }/src/test/java/at/pagu/soldockr/repository/cdi/CdiRepositoryClient.java
  115. 0  {sol-dock-r → }/src/test/java/at/pagu/soldockr/repository/cdi/ITestCdiRepository.java
  116. 0  {sol-dock-r → }/src/test/java/at/pagu/soldockr/repository/cdi/SolrTemplateProducer.java
  117. 0  {sol-dock-r → }/src/test/java/at/pagu/soldockr/repository/query/SolrQueryCreatorTest.java
  118. 0  {sol-dock-r → }/src/test/java/at/pagu/soldockr/repository/query/StringBasedSolrQueryTest.java
  119. 0  {sol-dock-r → }/src/test/java/at/pagu/soldockr/repository/support/ITestSolrRepositoryFactory.java
  120. 0  {sol-dock-r → }/src/test/java/at/pagu/soldockr/repository/support/MappingSolrEntityInformationTest.java
  121. 0  {sol-dock-r → }/src/test/java/at/pagu/soldockr/repository/support/SolrRepositoryFactoryTest.java
  122. 0  {sol-dock-r → }/src/test/resources/META-INF/beans.xml
  123. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/admin-extra.html
  124. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/currency.xml
  125. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/elevate.xml
  126. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/lang/contractions_ca.txt
  127. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/lang/contractions_fr.txt
  128. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/lang/contractions_ga.txt
  129. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/lang/contractions_it.txt
  130. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/lang/hyphenations_ga.txt
  131. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/lang/stemdict_nl.txt
  132. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/lang/stoptags_ja.txt
  133. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/lang/stopwords_ar.txt
  134. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/lang/stopwords_bg.txt
  135. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/lang/stopwords_ca.txt
  136. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/lang/stopwords_cz.txt
  137. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/lang/stopwords_da.txt
  138. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/lang/stopwords_de.txt
  139. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/lang/stopwords_el.txt
  140. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/lang/stopwords_en.txt
  141. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/lang/stopwords_es.txt
  142. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/lang/stopwords_eu.txt
  143. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/lang/stopwords_fa.txt
  144. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/lang/stopwords_fi.txt
  145. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/lang/stopwords_fr.txt
  146. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/lang/stopwords_ga.txt
  147. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/lang/stopwords_gl.txt
  148. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/lang/stopwords_hi.txt
  149. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/lang/stopwords_hu.txt
  150. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/lang/stopwords_hy.txt
  151. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/lang/stopwords_id.txt
  152. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/lang/stopwords_it.txt
  153. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/lang/stopwords_ja.txt
  154. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/lang/stopwords_lv.txt
  155. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/lang/stopwords_nl.txt
  156. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/lang/stopwords_no.txt
  157. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/lang/stopwords_pt.txt
  158. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/lang/stopwords_ro.txt
  159. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/lang/stopwords_ru.txt
  160. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/lang/stopwords_sv.txt
  161. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/lang/stopwords_th.txt
  162. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/lang/stopwords_tr.txt
  163. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/lang/userdict_ja.txt
  164. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/mapping-FoldToASCII.txt
  165. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/mapping-ISOLatin1Accent.txt
  166. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/protwords.txt
  167. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/schema.xml
  168. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/scripts.conf
  169. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/solrconfig.xml
  170. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/spellings.txt
  171. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/stopwords.txt
  172. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/synonyms.txt
  173. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/velocity/VM_global_library.vm
  174. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/velocity/browse.vm
  175. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/velocity/cluster.vm
  176. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/velocity/clusterResults.vm
  177. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/velocity/doc.vm
  178. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/velocity/facet_fields.vm
  179. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/velocity/facet_queries.vm
  180. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/velocity/facet_ranges.vm
  181. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/velocity/facets.vm
  182. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/velocity/footer.vm
  183. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/velocity/head.vm
  184. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/velocity/header.vm
  185. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/velocity/hit.vm
  186. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/velocity/hitGrouped.vm
  187. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/velocity/jquery.autocomplete.css
  188. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/velocity/jquery.autocomplete.js
  189. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/velocity/layout.vm
  190. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/velocity/main.css
  191. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/velocity/query.vm
  192. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/velocity/querySpatial.vm
  193. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/velocity/suggest.vm
  194. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/velocity/tabs.vm
  195. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/xslt/example.xsl
  196. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/xslt/example_atom.xsl
  197. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/xslt/example_rss.xsl
  198. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/xslt/luke.xsl
  199. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/conf/xslt/updateXml.xsl
  200. 0  {sol-dock-r → }/src/test/resources/at/pagu/soldockr/solr.xml
View
7 .gitignore
@@ -0,0 +1,7 @@
+target/
+.settings/
+.project
+.classpath
+.springBeans
+.sonar4clipse
+*.sonar4clipseExternals
View
0  sol-dock-r/LICENSE → LICENSE
File renamed without changes
View
10 examples/spring-solr-repository-example/.classpath
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" output="target/classes" path="src/main/java"/>
- <classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/>
- <classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
- <classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
- <classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"/>
- <classpathentry kind="output" path="target/classes"/>
-</classpath>
View
23 examples/spring-solr-repository-example/.project
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>spring-solr-repository-example</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.m2e.core.maven2Builder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.m2e.core.maven2Nature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
View
6 examples/spring-solr-repository-example/.settings/org.eclipse.core.resources.prefs
@@ -1,6 +0,0 @@
-eclipse.preferences.version=1
-encoding//src/main/java=UTF-8
-encoding//src/main/resources=UTF-8
-encoding//src/test/java=UTF-8
-encoding//src/test/resources=UTF-8
-encoding/<project>=UTF-8
View
12 examples/spring-solr-repository-example/.settings/org.eclipse.jdt.core.prefs
@@ -1,12 +0,0 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.6
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
-org.eclipse.jdt.core.compiler.source=1.6
View
4 examples/spring-solr-repository-example/.settings/org.eclipse.m2e.core.prefs
@@ -1,4 +0,0 @@
-activeProfiles=
-eclipse.preferences.version=1
-resolveWorkspaceProjects=false
-version=1
View
201 examples/spring-solr-repository-example/LICENSE
@@ -1,201 +0,0 @@
-spring-solr-repository-example
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
View
23 examples/spring-solr-repository-example/README
@@ -1,23 +0,0 @@
-#################################################################################
-# #
-# In order to run this example a solr server has to be available. #
-# You may download it from the solr website http://lucene.apache.org/solr #
-# #
-#################################################################################
-
-### Installing Solr ####
-1. Get solr
- download: http://www.apache.org/dyn/closer.cgi/lucene/solr/3.6.0
-
-2. Start solr server
- extract: unarchive to destination directory
- open: <your solr installation directory>/example/
- type: java -jar start.jar
- verify: http://localhost:8983/solr/
-
-### Running the example ###
-1. With Maven
- type: mvn failsafe:integration-test
-
-2. With Eclipse
- press: Alt+Shift+X,T
View
BIN  examples/spring-solr-repository-example/lib/sol-dock-r-0.2.0.jar
Binary file not shown
View
223 examples/spring-solr-repository-example/pom.xml
@@ -1,223 +0,0 @@
-<!--
-Copyright (C) 2012 j73x73r@gmail.com.
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>at.pagu</groupId>
- <artifactId>spring-solr-repository-example</artifactId>
- <version>0.2.0</version>
- <inceptionYear>2012</inceptionYear>
- <url>http://code.google.com/p/sol-dock-r/</url>
- <name>spring-solr-repository-example</name>
-
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <junit.version>4.10</junit.version>
- <spring.version>3.1.1.RELEASE</spring.version>
- <slf4j.version>1.6.4</slf4j.version>
- <commons-lang.version>2.6</commons-lang.version>
- <solr.version>3.6.0</solr.version>
- <apache.httpcomponents.version>4.2</apache.httpcomponents.version>
- <spring.data-commons.version>1.3.2.RELEASE</spring.data-commons.version>
- <logback-classic.version>1.0.3</logback-classic.version>
- <sol-dock-r.version>0.2.0</sol-dock-r.version>
- </properties>
-
- <licenses>
- <license>
- <name>The Apache Software License, Version 2.0</name>
- <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
- <distribution>repo</distribution>
- </license>
- </licenses>
-
- <dependencies>
- <!-- SPRING -->
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-context</artifactId>
- <version>${spring.version}</version>
- <exclusions>
- <exclusion>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
-
- <!-- SPRING DATA -->
- <dependency>
- <groupId>org.springframework.data</groupId>
- <artifactId>spring-data-commons-core</artifactId>
- <version>${spring.data-commons.version}</version>
- <exclusions>
- <exclusion>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
-
- <!-- APACHE -->
- <dependency>
- <groupId>commons-lang</groupId>
- <artifactId>commons-lang</artifactId>
- <version>${commons-lang.version}</version>
- </dependency>
- <dependency>
- <groupId>commons-collections</groupId>
- <artifactId>commons-collections</artifactId>
- <version>3.2.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpclient</artifactId>
- <version>${apache.httpcomponents.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpmime</artifactId>
- <version>${apache.httpcomponents.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpclient-cache</artifactId>
- <version>${apache.httpcomponents.version}</version>
- </dependency>
- <dependency> <!-- solrj depends on this one as well (should be fixed in 4.0) -->
- <groupId>commons-httpclient</groupId>
- <artifactId>commons-httpclient</artifactId>
- <version>3.1</version>
- </dependency>
-
- <!-- JODA Time -->
- <dependency>
- <groupId>joda-time</groupId>
- <artifactId>joda-time</artifactId>
- <version>2.1</version>
- </dependency>
-
- <!-- SOLR -->
- <dependency>
- <groupId>at.pagu</groupId>
- <artifactId>sol-dock-r</artifactId>
- <version>${sol-dock-r.version}</version>
- <systemPath>${project.basedir}/lib/sol-dock-r-${sol-dock-r.version}.jar</systemPath>
- <scope>system</scope>
- </dependency>
- <dependency>
- <artifactId>solr-solrj</artifactId>
- <groupId>org.apache.solr</groupId>
- <version>${solr.version}</version>
- <exclusions>
- <exclusion>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- </exclusion>
- <exclusion>
- <artifactId>commons-logging</artifactId>
- <groupId>commons-logging</groupId>
- </exclusion>
- <exclusion>
- <artifactId>jcl-over-slf4j</artifactId>
- <groupId>org.slf4j</groupId>
- </exclusion>
- <exclusion>
- <artifactId>commons-httpclient</artifactId>
- <groupId>commons-httpclient</groupId>
- </exclusion>
- </exclusions>
- </dependency>
-
- <!-- LOGGING -->
- <dependency>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-classic</artifactId>
- <version>${logback-classic.version}</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>log4j-over-slf4j</artifactId>
- <version>${slf4j.version}</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>jul-to-slf4j</artifactId>
- <version>${slf4j.version}</version>
- </dependency>
-
-
- <!-- TEST -->
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.10</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-test</artifactId>
- <version>3.1.1.RELEASE</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.3.2</version>
- <configuration>
- <source>1.6</source>
- <target>1.6</target>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-failsafe-plugin</artifactId>
- <version>2.12</version>
- <executions>
- <execution>
- <id>integration-test</id>
- <goals>
- <goal>integration-test</goal>
- </goals>
- </execution>
- <execution>
- <id>verify</id>
- <goals>
- <goal>verify</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.12</version>
- </plugin>
- </plugins>
- </build>
-
- <developers>
- <developer>
- <id>j73x73r</id>
- <name>Christoph Strobl</name>
- <timezone>+1</timezone>
- </developer>
- </developers>
-</project>
View
109 ...spring-solr-repository-example/src/main/java/at/pagu/data/solr/example/model/Product.java
@@ -1,109 +0,0 @@
-/*
- * Copyright (C) 2012 j73x73r@gmail.com.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package at.pagu.data.solr.example.model;
-
-import java.util.List;
-
-import org.apache.solr.client.solrj.beans.Field;
-
-/**
- * @author Christoph Strobl
- */
-public class Product implements SearchableProduct {
-
- @Field(ID_FIELD)
- private String id;
-
- @Field(NAME_FIELD)
- private String name;
-
- @Field(CATEGORY_FIELD)
- private List<String> categories;
-
- @Field(WEIGHT_FIELD)
- private Float weight;
-
- @Field(PRICE_FIELD)
- private Float price;
-
- @Field(POPULARITY_FIELD)
- private Integer popularity;
-
- @Field(AVAILABLE_FIELD)
- private boolean available;
-
- public String getId() {
- return id;
- }
-
- public void setId(String id) {
- this.id = id;
- }
-
- public String getName() {
- return name;
- }
-
- public void setName(String name) {
- this.name = name;
- }
-
- public List<String> getCategories() {
- return categories;
- }
-
- public void setCategories(List<String> categories) {
- this.categories = categories;
- }
-
- public Float getWeight() {
- return weight;
- }
-
- public void setWeight(Float weight) {
- this.weight = weight;
- }
-
- public Float getPrice() {
- return price;
- }
-
- public void setPrice(Float price) {
- this.price = price;
- }
-
- public Integer getPopularity() {
- return popularity;
- }
-
- public void setPopularity(Integer popularity) {
- this.popularity = popularity;
- }
-
- public boolean isAvailable() {
- return available;
- }
-
- public void setAvailable(boolean available) {
- this.available = available;
- }
-
- @Override
- public String toString() {
- return "Product [id=" + id + ", name=" + name + ", categories=" + categories + ", weight=" + weight + ", price=" + price + ", popularity=" + popularity + ", available=" + available + "]";
- }
-
-}
View
31 ...r-repository-example/src/main/java/at/pagu/data/solr/example/model/SearchableProduct.java
@@ -1,31 +0,0 @@
-/*
- * Copyright (C) 2012 j73x73r@gmail.com.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package at.pagu.data.solr.example.model;
-
-/**
- * @author Christoph Strobl
- */
-public interface SearchableProduct {
-
- String ID_FIELD = "id";
- String NAME_FIELD = "name";
- String PRICE_FIELD = "price";
- String AVAILABLE_FIELD = "inStock";
- String CATEGORY_FIELD = "cat";
- String WEIGHT_FIELD = "weight";
- String POPULARITY_FIELD = "popularity";
-
-}
View
30 ...tory-example/src/main/java/at/pagu/data/solr/example/repository/CustomSolrRepository.java
@@ -1,30 +0,0 @@
-/*
- * Copyright (C) 2012 j73x73r@gmail.com.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package at.pagu.data.solr.example.repository;
-
-import org.springframework.data.domain.Page;
-import org.springframework.data.domain.Pageable;
-
-import at.pagu.data.solr.example.model.Product;
-
-/**
- * @author Christoph Strobl
- */
-public interface CustomSolrRepository {
-
- Page<Product> findProductsByCustomImplementation(String value, Pageable page);
-
-}
View
48 ...-example/src/main/java/at/pagu/data/solr/example/repository/CustomSolrRepositoryImpl.java
@@ -1,48 +0,0 @@
-/*
- * Copyright (C) 2012 j73x73r@gmail.com.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package at.pagu.data.solr.example.repository;
-
-import org.springframework.data.domain.Page;
-import org.springframework.data.domain.Pageable;
-
-import at.pagu.data.solr.example.model.Product;
-import at.pagu.soldockr.core.SolrOperations;
-import at.pagu.soldockr.core.query.SimpleQuery;
-import at.pagu.soldockr.core.query.SimpleStringCriteria;
-
-/**
- * @author Christoph Strobl
- */
-public class CustomSolrRepositoryImpl implements CustomSolrRepository {
-
- private SolrOperations solrTemplate;
-
- public CustomSolrRepositoryImpl() {
- super();
- }
-
- public CustomSolrRepositoryImpl(SolrOperations solrTemplate) {
- super();
- this.solrTemplate = solrTemplate;
- }
-
- @Override
- public Page<Product> findProductsByCustomImplementation(String value,
- Pageable page) {
- return solrTemplate.executeListQuery(new SimpleQuery(new SimpleStringCriteria("name:"+value)).setPageRequest(page), Product.class);
- }
-
-}
View
42 ...mple/src/main/java/at/pagu/data/solr/example/repository/DerivedSolrProductRepository.java
@@ -1,42 +0,0 @@
-/*
- * Copyright (C) 2012 j73x73r@gmail.com.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package at.pagu.data.solr.example.repository;
-
-import java.util.List;
-
-import org.springframework.data.domain.Page;
-import org.springframework.data.domain.Pageable;
-
-import at.pagu.data.solr.example.model.Product;
-import at.pagu.data.solr.example.model.SearchableProduct;
-import at.pagu.soldockr.repository.Query;
-import at.pagu.soldockr.repository.SolrCrudRepository;
-
-/**
- * @author Christoph Strobl
- */
-public interface DerivedSolrProductRepository extends CustomSolrRepository, SolrCrudRepository<Product, String> {
-
- Page<Product> findByPopularity(Integer popularity, Pageable page);
-
- List<Product> findByNameStartingWith(String name);
-
- Page<Product> findByAvailableTrue(Pageable page);
-
- @Query(SearchableProduct.AVAILABLE_FIELD+":false")
- Page<Product> findByAvailableFalseUsingAnnotatedQuery(Pageable page);
-
-}
View
35 ...ository-example/src/main/java/at/pagu/data/solr/example/repository/ProductRepository.java
@@ -1,35 +0,0 @@
-/*
- * Copyright (C) 2012 j73x73r@gmail.com.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package at.pagu.data.solr.example.repository;
-
-import org.springframework.data.domain.Page;
-import org.springframework.data.repository.CrudRepository;
-
-import at.pagu.data.solr.example.model.Product;
-import at.pagu.soldockr.core.query.result.FacetPage;
-
-/**
- * @author Christoph Strobl
- */
-public interface ProductRepository extends CrudRepository<Product, String> {
-
- Page<Product> findByPopularity(Integer popularity);
-
- FacetPage<Product> findByNameStartingWithAndFacetOnAvailable(String namePrefix);
-
- Page<Product> findByAvailableTrue();
-
-}
View
58 ...ory-example/src/main/java/at/pagu/data/solr/example/repository/SolrProductRepository.java
@@ -1,58 +0,0 @@
-/*
- * Copyright (C) 2012 j73x73r@gmail.com.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package at.pagu.data.solr.example.repository;
-
-import org.springframework.data.domain.Page;
-import org.springframework.data.repository.NoRepositoryBean;
-
-import at.pagu.data.solr.example.model.Product;
-import at.pagu.soldockr.core.query.Criteria;
-import at.pagu.soldockr.core.query.FacetOptions;
-import at.pagu.soldockr.core.query.FacetQuery;
-import at.pagu.soldockr.core.query.Query;
-import at.pagu.soldockr.core.query.SimpleFacetQuery;
-import at.pagu.soldockr.core.query.SimpleField;
-import at.pagu.soldockr.core.query.SimpleQuery;
-import at.pagu.soldockr.core.query.result.FacetPage;
-import at.pagu.soldockr.repository.SimpleSolrRepository;
-
-/**
- * @author Christoph Strobl
- */
-@NoRepositoryBean
-public class SolrProductRepository extends SimpleSolrRepository<Product> implements ProductRepository {
-
- @Override
- public Page<Product> findByPopularity(Integer popularity) {
- Query query = new SimpleQuery(new Criteria(SolrSearchableFields.POPULARITY).is(popularity));
- return getSolrOperations().executeListQuery(query, Product.class);
- }
-
- @Override
- public FacetPage<Product> findByNameStartingWithAndFacetOnAvailable(String namePrefix) {
- FacetQuery query = new SimpleFacetQuery(new Criteria(SolrSearchableFields.NAME).startsWith(namePrefix));
- query.setFacetOptions(new FacetOptions(SolrSearchableFields.AVAILABLE));
- return getSolrOperations().executeFacetQuery(query, Product.class);
- }
-
- @Override
- public Page<Product> findByAvailableTrue() {
- Query query = new SimpleQuery(new Criteria(new SimpleField(Criteria.WILDCARD)).expression(Criteria.WILDCARD));
- query.addFilterQuery(new SimpleQuery(new Criteria(SolrSearchableFields.AVAILABLE).is(true)));
-
- return getSolrOperations().executeListQuery(query, Product.class);
- }
-}
View
40 ...tory-example/src/main/java/at/pagu/data/solr/example/repository/SolrSearchableFields.java
@@ -1,40 +0,0 @@
-/*
- * Copyright (C) 2012 j73x73r@gmail.com.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package at.pagu.data.solr.example.repository;
-
-import at.pagu.data.solr.example.model.SearchableProduct;
-import at.pagu.soldockr.core.query.Field;
-
-/**
- * @author Christoph Strobl
- */
-public enum SolrSearchableFields implements Field {
-
- ID(SearchableProduct.ID_FIELD), NAME(SearchableProduct.NAME_FIELD), PRICE(SearchableProduct.PRICE_FIELD), AVAILABLE(SearchableProduct.AVAILABLE_FIELD), CATEGORY(SearchableProduct.CATEGORY_FIELD), WEIGHT(
- SearchableProduct.WEIGHT_FIELD), POPULARITY(SearchableProduct.POPULARITY_FIELD);
-
- private final String fieldName;
-
- private SolrSearchableFields(String fieldName) {
- this.fieldName = fieldName;
- }
-
- @Override
- public String getName() {
- return fieldName;
- }
-
-}
View
41 ...lr-repository-example/src/main/resources/at/pagu/data/solr/example/applicationContext.xml
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xmlns:context="http://www.springframework.org/schema/context"
- xmlns:mongo="http://www.springframework.org/schema/data/mongo" xmlns:util="http://www.springframework.org/schema/util" xmlns:cache="http://www.springframework.org/schema/cache" xmlns:security="http://www.springframework.org/schema/security"
- xsi:schemaLocation="http://www.springframework.org/schema/data/mongo http://www.springframework.org/schema/data/mongo/spring-mongo.xsd
- http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
- http://www.springframework.org/schema/cache http://www.springframework.org/schema/cache/spring-cache.xsd
- http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd
- http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd
- http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security.xsd">
-
- <!--
- #####################################
- CONTEXT SETTINGS
- #####################################
- -->
- <context:property-placeholder location="classpath:at/pagu/data/solr/example/configuration.properties" ignore-resource-not-found="true" />
- <context:component-scan base-package="at.pagu.data.solr.example" />
-
- <!--
- #####################################
- SOLR
- #####################################
- -->
- <bean id="solrServer" abstract="true">
- <constructor-arg value="${solr.host}" />
- <property name="connectionTimeout" value="100" />
- <property name="defaultMaxConnectionsPerHost" value="100" />
- <property name="maxTotalConnections" value="1000" />
- </bean>
-
- <bean id="solrTemplate" class="at.pagu.soldockr.core.SolrTemplate" scope="singleton">
- <constructor-arg>
- <bean class="org.apache.solr.client.solrj.impl.CommonsHttpSolrServer" parent="solrServer" />
- </constructor-arg>
- </bean>
-
- <bean id="searchRepository" class="at.pagu.data.solr.example.repository.SolrProductRepository">
- <property name="solrOperations" ref="solrTemplate" />
- </bean>
-
-</beans>
View
17 ...-repository-example/src/main/resources/at/pagu/data/solr/example/configuration.properties
@@ -1,17 +0,0 @@
-#
-# Copyright (C) 2012 j73x73r@gmail.com.
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-solr.host=http://localhost:8983/solr
View
46 ...ample/src/test/java/at/pagu/data/solr/example/repository/AbstractSolrIntegrationTest.java
@@ -1,46 +0,0 @@
-/*
- * Copyright (C) 2012 j73x73r@gmail.com.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package at.pagu.data.solr.example.repository;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import at.pagu.data.solr.example.model.Product;
-
-/**
- * @author Christoph Strobl
- */
-public abstract class AbstractSolrIntegrationTest {
-
- protected List<Product> createProductList(int nrProducts) {
- List<Product> products = new ArrayList<Product>(nrProducts);
- for (int i = 0; i < nrProducts; i++) {
- products.add(createProduct(i));
- }
- return products;
- }
-
- protected Product createProduct(int id) {
- Product product = new Product();
- product.setId(Integer.toString(id));
- product.setAvailable(id % 2 == 0);
- product.setName("product-" + id);
- product.setPopularity(id * 10);
- product.setPrice((float) id * 100);
- product.setWeight((float) id * 2);
- return product;
- }
-}
View
126 ...src/test/java/at/pagu/data/solr/example/repository/ITestDerivedSolrProductRepository.java
@@ -1,126 +0,0 @@
-/*
- * Copyright (C) 2012 j73x73r@gmail.com.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package at.pagu.data.solr.example.repository;
-
-import java.util.List;
-
-import junit.framework.Assert;
-
-import org.junit.After;
-import org.junit.Before;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.data.domain.Page;
-import org.springframework.data.domain.PageRequest;
-import org.springframework.test.context.ContextConfiguration;
-import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
-
-import at.pagu.data.solr.example.model.Product;
-import at.pagu.soldockr.core.SolrOperations;
-import at.pagu.soldockr.core.query.SimpleQuery;
-import at.pagu.soldockr.core.query.SimpleStringCriteria;
-import at.pagu.soldockr.repository.support.SolrRepositoryFactory;
-
-/**
- * @author Christoph Strobl
- */
-@RunWith(SpringJUnit4ClassRunner.class)
-@ContextConfiguration("classpath:at/pagu/data/solr/example/applicationContext.xml")
-public class ITestDerivedSolrProductRepository extends AbstractSolrIntegrationTest {
-
- @Autowired
- SolrOperations solrOperations;
-
- private DerivedSolrProductRepository repo;
-
- @Before
- public void setUp() {
- //Create new repository instance using Factory and inject custom implementation
- repo = new SolrRepositoryFactory(this.solrOperations).getRepository(DerivedSolrProductRepository.class, new CustomSolrRepositoryImpl(this.solrOperations));
- }
-
- @After
- public void tearDown() {
- solrOperations.executeDelete(new SimpleQuery(new SimpleStringCriteria("*:*")));
- solrOperations.executeCommit();
- }
-
- @Test
- public void testCRUD() {
- Assert.assertEquals(0, repo.count());
-
- Product initial = createProduct(1);
- repo.save(initial);
- Assert.assertEquals(1, repo.count());
-
- Product loaded = repo.findOne(initial.getId());
- Assert.assertEquals(initial.getName(), loaded.getName());
-
- loaded.setName("changed named");
- repo.save(loaded);
- Assert.assertEquals(1, repo.count());
-
- loaded = repo.findOne(initial.getId());
- Assert.assertEquals("changed named", loaded.getName());
-
- repo.delete(loaded);
- Assert.assertEquals(0, repo.count());
- }
-
- @Test
- public void testDerivedQueryFindByPopularity() {
- Assert.assertEquals(0, repo.count());
-
- List<Product> baseList = createProductList(10);
- repo.save(baseList);
-
- Assert.assertEquals(baseList.size(), repo.count());
-
- Page<Product> popularProducts = repo.findByPopularity(20, new PageRequest(0, 10));
- Assert.assertEquals(1, popularProducts.getTotalElements());
-
- Assert.assertEquals("2", popularProducts.getContent().get(0).getId());
- }
-
- @Test
- public void testAnnotatedQueryfindByAvailableFalseUsingAnnotatedQuery() {
- Assert.assertEquals(0, repo.count());
-
- List<Product> baseList = createProductList(10);
- repo.save(baseList);
-
- Assert.assertEquals(baseList.size(), repo.count());
-
- Page<Product> unavailableProducts = repo.findByAvailableFalseUsingAnnotatedQuery(new PageRequest(0, 10));
- Assert.assertEquals(5, unavailableProducts.getTotalElements());
- for(Product product : unavailableProducts) {
- Assert.assertFalse(product.isAvailable());
- }
- }
-
- @Test
- public void testCustomRepositoryImplementation() {
- Product initial = createProduct(1);
- repo.save(initial);
- Assert.assertEquals(1, repo.count());
-
- Page<Product> page = repo.findProductsByCustomImplementation(initial.getName(), new PageRequest(0, 10));
-
- Assert.assertEquals(1, page.getTotalElements());
- }
-
-}
View
116 ...xample/src/test/java/at/pagu/data/solr/example/repository/ITestSolrProductRepository.java
@@ -1,116 +0,0 @@
-/*
- * Copyright (C) 2012 j73x73r@gmail.com.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package at.pagu.data.solr.example.repository;
-
-import java.util.List;
-
-import junit.framework.Assert;
-
-import org.junit.After;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.data.domain.Page;
-import org.springframework.test.context.ContextConfiguration;
-import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
-
-import at.pagu.data.solr.example.model.Product;
-import at.pagu.soldockr.core.query.result.FacetEntry;
-import at.pagu.soldockr.core.query.result.FacetPage;
-
-/**
- * @author Christoph Strobl
- */
-@RunWith(SpringJUnit4ClassRunner.class)
-@ContextConfiguration("classpath:at/pagu/data/solr/example/applicationContext.xml")
-public class ITestSolrProductRepository extends AbstractSolrIntegrationTest {
-
- @Autowired
- SolrProductRepository repo;
-
- @After
- public void tearDown() {
- repo.deleteAll();
- }
-
- @Test
- public void testCRUD() {
- Assert.assertEquals(0, repo.count());
-
- Product initial = createProduct(1);
- repo.save(initial);
- Assert.assertEquals(1, repo.count());
-
- Product loaded = repo.findOne(initial.getId());
- Assert.assertEquals(initial.getName(), loaded.getName());
-
- loaded.setName("changed named");
- repo.save(loaded);
- Assert.assertEquals(1, repo.count());
-
- loaded = repo.findOne(initial.getId());
- Assert.assertEquals("changed named", loaded.getName());
-
- repo.delete(loaded);
- Assert.assertEquals(0, repo.count());
- }
-
- @Test
- public void testQuery() {
- Assert.assertEquals(0, repo.count());
-
- List<Product> baseList = createProductList(10);
- repo.save(baseList);
-
- Assert.assertEquals(baseList.size(), repo.count());
-
- Page<Product> popularProducts = repo.findByPopularity(20);
- Assert.assertEquals(1, popularProducts.getTotalElements());
-
- Assert.assertEquals("2", popularProducts.getContent().get(0).getId());
- }
-
- @Test
- public void testFacetQuery() {
- List<Product> baseList = createProductList(10);
- repo.save(baseList);
-
- FacetPage<Product> facetPage = repo.findByNameStartingWithAndFacetOnAvailable("pro");
- Assert.assertEquals(10, facetPage.getNumberOfElements());
-
- Page<FacetEntry> page = facetPage.getFacetResultPage(SolrSearchableFields.AVAILABLE);
- Assert.assertEquals(2, page.getNumberOfElements());
-
- for (FacetEntry entry : page) {
- Assert.assertEquals(SolrSearchableFields.AVAILABLE.getName(), entry.getField().getName());
- Assert.assertEquals(5, entry.getValueCount());
- }
-
- }
-
- @Test
- public void testFilterQuery() {
- List<Product> baseList = createProductList(10);
- repo.save(baseList);
-
- Page<Product> availableProducts = repo.findByAvailableTrue();
- Assert.assertEquals(5, availableProducts.getTotalElements());
- for (Product product : availableProducts) {
- Assert.assertTrue(product.isAvailable());
- }
- }
-
-}
View
291 formatting.xml
@@ -0,0 +1,291 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<profiles version="12">
+<profile kind="CodeFormatterProfile" name="Spring Data" version="12">
+<setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.disabling_tag" value="@formatter:off"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration" value="end_of_line"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_field" value="0"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.use_on_off_tags" value="false"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line" value="false"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_ellipsis" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_multiple_fields" value="16"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer" value="16"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_conditional_expression" value="80"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_binary_operator" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.brace_position_for_array_initializer" value="end_of_line"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.blank_lines_after_package" value="1"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.continuation_indentation" value="2"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation" value="16"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk" value="1"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_binary_operator" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_package" value="0"/>
+<setting id="org.eclipse.jdt.core.compiler.source" value="1.7"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.format_line_comments" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.join_wrapped_lines" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call" value="16"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_member_type" value="1"/>
+<setting id="org.eclipse.jdt.core.formatter.align_type_members_on_columns" value="false"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation" value="16"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_unary_operator" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.indent_parameter_description" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment" value="false"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.lineSplit" value="120"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration" value="0"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.indentation.size" value="2"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.enabling_tag" value="@formatter:on"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration" value="16"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_assignment" value="0"/>
+<setting id="org.eclipse.jdt.core.compiler.problem.assertIdentifier" value="error"/>
+<setting id="org.eclipse.jdt.core.formatter.tabulation.char" value="tab"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.indent_statements_compare_to_body" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_method" value="1"/>
+<setting id="org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line" value="false"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration" value="16"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration" value="end_of_line"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_method_declaration" value="0"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.brace_position_for_switch" value="end_of_line"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments" value="false"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.compiler.problem.enumIdentifier" value="error"/>
+<setting id="org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch" value="false"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_ellipsis" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.brace_position_for_block" value="end_of_line"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.brace_position_for_method_declaration" value="end_of_line"/>
+<setting id="org.eclipse.jdt.core.formatter.compact_else_if" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.brace_position_for_enum_constant" value="end_of_line"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.indent_root_tags" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch" value="16"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.tabulation.size" value="2"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment" value="false"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration" value="16"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.indent_empty_lines" value="false"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.brace_position_for_block_in_case" value="end_of_line"/>
+<setting id="org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve" value="1"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression" value="16"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter" value="insert"/>
+<setting id="org.eclipse.jdt.core.compiler.compliance" value="1.7"/>
+<setting id="org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer" value="2"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression" value="16"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_unary_operator" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line" value="false"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line" value="false"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration" value="16"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_binary_expression" value="16"/>
+<setting id="org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration" value="end_of_line"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode" value="enabled"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_label" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant" value="16"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.format_javadoc_comments" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.line_length" value="120"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.blank_lines_between_import_groups" value="1"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration" value="end_of_line"/>
+<setting id="org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body" value="0"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.wrap_before_binary_operator" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations" value="1"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.indent_statements_compare_to_block" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration" value="16"/>
+<setting id="org.eclipse.jdt.core.formatter.join_lines_in_comments" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_compact_if" value="16"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_imports" value="1"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.format_html" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration" value="16"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.format_source_code" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration" value="16"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer" value="insert"/>
+<setting id="org.eclipse.jdt.core.compiler.codegen.targetPlatform" value="1.7"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_resources_in_try" value="80"/>
+<setting id="org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations" value="false"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation" value="0"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.format_header" value="false"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.format_block_comments" value="false"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_enum_constants" value="0"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.brace_position_for_type_declaration" value="end_of_line"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.blank_lines_after_imports" value="1"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column" value="false"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column" value="false"/>
+<setting id="org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line" value="false"/>
+</profile>
+</profiles>
View
0  sol-dock-r/pom.xml → pom.xml
File renamed without changes
View
10 sol-dock-r/.classpath
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" output="target/classes" path="src/main/java"/>
- <classpathentry kind="src" output="target/classes" path="src/main/resources"/>
- <classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
- <classpathentry kind="src" output="target/test-classes" path="src/test/resources"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
- <classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"/>
- <classpathentry kind="output" path="target/classes"/>
-</classpath>
View
23 sol-dock-r/.project
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>sol-dock-r</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.m2e.core.maven2Builder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
- <nature>org.eclipse.m2e.core.maven2Nature</nature>
- </natures>
-</projectDescription>
View
7 sol-dock-r/.settings/org.eclipse.jdt.core.prefs
@@ -1,7 +0,0 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
-org.eclipse.jdt.core.compiler.compliance=1.6
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.6
View
4 sol-dock-r/.settings/org.eclipse.m2e.core.prefs
@@ -1,4 +0,0 @@
-activeProfiles=
-eclipse.preferences.version=1
-resolveWorkspaceProjects=true
-version=1
View
0  ...mbly/jar-with-dependencies.descriptor.xml → ...mbly/jar-with-dependencies.descriptor.xml
File renamed without changes
View
0  ...a/at/pagu/soldockr/ApiUsageException.java → ...a/at/pagu/soldockr/ApiUsageException.java
File renamed without changes
View
0  ...java/at/pagu/soldockr/QueryException.java → ...java/at/pagu/soldockr/QueryException.java
File renamed without changes
View
0  ...a/at/pagu/soldockr/SolDockRException.java → ...a/at/pagu/soldockr/SolDockRException.java
File renamed without changes
View
0  ...a/at/pagu/soldockr/SolrServerFactory.java → ...a/at/pagu/soldockr/SolrServerFactory.java
File renamed without changes
View
0  ...dockr/core/EmbeddedSolrServerFactory.java → ...dockr/core/EmbeddedSolrServerFactory.java
File renamed without changes
View
0  .../soldockr/core/HttpSolrServerFactory.java → .../soldockr/core/HttpSolrServerFactory.java
File renamed without changes
View
0  ...va/at/pagu/soldockr/core/QueryParser.java → ...va/at/pagu/soldockr/core/QueryParser.java
File renamed without changes
View
0  ...a/at/pagu/soldockr/core/ResultHelper.java → ...a/at/pagu/soldockr/core/ResultHelper.java
File renamed without changes
View
0  ...a/at/pagu/soldockr/core/SolrCallback.java → ...a/at/pagu/soldockr/core/SolrCallback.java
File renamed without changes
View
0  ...at/pagu/soldockr/core/SolrOperations.java → ...at/pagu/soldockr/core/SolrOperations.java
File renamed without changes
View
0  ...a/at/pagu/soldockr/core/SolrTemplate.java → ...a/at/pagu/soldockr/core/SolrTemplate.java
File renamed without changes
View
0  ...ockr/core/convert/DateTimeConverters.java → ...ockr/core/convert/DateTimeConverters.java
File renamed without changes
View
0  ...kr/core/convert/MappingSolrConverter.java → ...kr/core/convert/MappingSolrConverter.java
File renamed without changes
View
0  ...ldockr/core/convert/NumberConverters.java → ...ldockr/core/convert/NumberConverters.java
File renamed without changes
View
0  ...kr/core/convert/SimpleSolrTypeMapper.java → ...kr/core/convert/SimpleSolrTypeMapper.java
File renamed without changes
View
0  .../soldockr/core/convert/SolrConverter.java → .../soldockr/core/convert/SolrConverter.java
File renamed without changes
View
0  ...soldockr/core/convert/SolrTypeMapper.java → ...soldockr/core/convert/SolrTypeMapper.java
File renamed without changes
View
0  ...oldockr/core/convert/SolrjConverters.java → ...oldockr/core/convert/SolrjConverters.java
File renamed without changes
View
0  ...ore/mapping/SimpleSolrMappingContext.java → ...ore/mapping/SimpleSolrMappingContext.java
File renamed without changes
View
0  ...e/mapping/SimpleSolrPersistentEntity.java → ...e/mapping/SimpleSolrPersistentEntity.java
File renamed without changes
View
0  ...mapping/SimpleSolrPersistentProperty.java → ...mapping/SimpleSolrPersistentProperty.java
File renamed without changes
View
0  ...u/soldockr/core/mapping/SolrDocument.java → ...u/soldockr/core/mapping/SolrDocument.java
File renamed without changes
View
0  ...kr/core/mapping/SolrPersistentEntity.java → ...kr/core/mapping/SolrPersistentEntity.java
File renamed without changes
View
0  .../core/mapping/SolrPersistentProperty.java → .../core/mapping/SolrPersistentProperty.java
File renamed without changes
View
0  ...gu/soldockr/core/query/AbstractQuery.java → ...gu/soldockr/core/query/AbstractQuery.java
File renamed without changes
View
0  ...at/pagu/soldockr/core/query/Criteria.java → ...at/pagu/soldockr/core/query/Criteria.java
File renamed without changes
View
0  ...agu/soldockr/core/query/FacetOptions.java → ...agu/soldockr/core/query/FacetOptions.java
File renamed without changes
View
0  .../pagu/soldockr/core/query/FacetQuery.java → .../pagu/soldockr/core/query/FacetQuery.java
File renamed without changes
View
0  ...va/at/pagu/soldockr/core/query/Field.java → ...va/at/pagu/soldockr/core/query/Field.java
File renamed without changes
View
0  ...pagu/soldockr/core/query/FilterQuery.java → ...pagu/soldockr/core/query/FilterQuery.java
File renamed without changes
View
0  ...va/at/pagu/soldockr/core/query/Query.java → ...va/at/pagu/soldockr/core/query/Query.java
File renamed without changes
View
0  ...oldockr/core/query/QueryStringHolder.java → ...oldockr/core/query/QueryStringHolder.java
File renamed without changes
View
0  ...soldockr/core/query/SimpleFacetQuery.java → ...soldockr/core/query/SimpleFacetQuery.java
File renamed without changes
View
0  ...pagu/soldockr/core/query/SimpleField.java → ...pagu/soldockr/core/query/SimpleField.java
File renamed without changes
View
0  ...oldockr/core/query/SimpleFilterQuery.java → ...oldockr/core/query/SimpleFilterQuery.java
File renamed without changes
View
0  ...pagu/soldockr/core/query/SimpleQuery.java → ...pagu/soldockr/core/query/SimpleQuery.java
File renamed without changes
View
0  ...ockr/core/query/SimpleStringCriteria.java → ...ockr/core/query/SimpleStringCriteria.java
File renamed without changes
View
0  ...gu/soldockr/core/query/SolDockRQuery.java → ...gu/soldockr/core/query/SolDockRQuery.java
File renamed without changes
View
0  ...oldockr/core/query/result/FacetEntry.java → ...oldockr/core/query/result/FacetEntry.java
File renamed without changes
View
0  ...soldockr/core/query/result/FacetPage.java → ...soldockr/core/query/result/FacetPage.java
File renamed without changes
View
0  ...r/core/query/result/SimpleFacetEntry.java → ...r/core/query/result/SimpleFacetEntry.java
File renamed without changes
View
0  ...va/at/pagu/soldockr/repository/Query.java → ...va/at/pagu/soldockr/repository/Query.java
File renamed without changes
View
0  ...ockr/repository/SimpleSolrRepository.java → ...ockr/repository/SimpleSolrRepository.java
File renamed without changes
View
0  ...ldockr/repository/SolrCrudRepository.java → ...ldockr/repository/SolrCrudRepository.java
File renamed without changes
View
0  ...u/soldockr/repository/SolrRepository.java → ...u/soldockr/repository/SolrRepository.java
File renamed without changes
View
0  ...kr/repository/cdi/SolrRepositoryBean.java → ...kr/repository/cdi/SolrRepositoryBean.java
File renamed without changes
View
0  ...pository/cdi/SolrRepositoryExtension.java → ...pository/cdi/SolrRepositoryExtension.java
File renamed without changes
View
0  ...r/repository/query/AbstractSolrQuery.java → ...r/repository/query/AbstractSolrQuery.java
File renamed without changes
View
0  ...r/repository/query/PartTreeSolrQuery.java → ...r/repository/query/PartTreeSolrQuery.java
File renamed without changes
View
0  ...pository/query/SolrEntityInformation.java → ...pository/query/SolrEntityInformation.java
File renamed without changes
View
0  ...y/query/SolrEntityInformationCreator.java → ...y/query/SolrEntityInformationCreator.java
File renamed without changes
View
0  ...pository/query/SolrParameterAccessor.java → ...pository/query/SolrParameterAccessor.java
File renamed without changes
View
0  ...uery/SolrParametersParameterAccessor.java → ...uery/SolrParametersParameterAccessor.java
File renamed without changes
View
0  ...kr/repository/query/SolrQueryCreator.java → ...kr/repository/query/SolrQueryCreator.java
File renamed without changes
View
0  ...ckr/repository/query/SolrQueryMethod.java → ...ckr/repository/query/SolrQueryMethod.java
File renamed without changes
View
0  ...epository/query/StringBasedSolrQuery.java → ...epository/query/StringBasedSolrQuery.java
File renamed without changes
View
0  ...support/MappingSolrEntityInformation.java → ...support/MappingSolrEntityInformation.java
File renamed without changes
View
0  ...ort/SolrEntityInformationCreatorImpl.java → ...ort/SolrEntityInformationCreatorImpl.java
File renamed without changes
View
0  ...sitory/support/SolrRepositoryFactory.java → ...sitory/support/SolrRepositoryFactory.java
File renamed without changes
View
0  ...ces/javax.enterprise.inject.spi.Extension → ...ces/javax.enterprise.inject.spi.Extension
File renamed without changes
View
0  .../AbstractITestWithEmbeddedSolrServer.java → .../AbstractITestWithEmbeddedSolrServer.java
File renamed without changes
View
0  ...ava/at/pagu/soldockr/ExampleSolrBean.java → ...ava/at/pagu/soldockr/ExampleSolrBean.java
File renamed without changes
View
0  ...dockr/core/HttpSolrServerFactoryTest.java → ...dockr/core/HttpSolrServerFactoryTest.java