Toggle navigation
Toggle navigation
This project
Loading...
Sign in
grogv3
/
grog-cubi
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Jean-Francois Leveque
2017-02-07 11:52:25 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ea0038cc450455c0d0c239dca0dc457228b482f3
ea0038cc
1 parent
f1e215c6
Documentation.
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
src/main/java/org/legrog/configuration/SolrJConfiguration.java
src/main/java/org/legrog/configuration/SolrJConfiguration.java
View file @
ea0038c
...
...
@@ -5,9 +5,13 @@ import org.apache.solr.client.solrj.impl.HttpSolrClient;
import
javax.enterprise.inject.Produces
;
/*
Classe de configuration pour SolrJ
*/
public
class
SolrJConfiguration
{
@Produces
/* SolrClient injectable pour les classes en ayant besoin */
public
SolrClient
createSolrClient
()
{
return
new
HttpSolrClient
.
Builder
(
"http://localhost:8983/solr/publishers"
).
build
();
}
...
...
Please
register
or
login
to post a comment