-
Book Overview & Buying
-
Table Of Contents
Apache Solr Search Patterns
By :
Let us see how we can implement the Solr text tagger. Let us get the latest code for the Solr text tagger from the GitHub repository by cloning the Git repository with the following command:
git clone https://github.com/OpenSextant/SolrTextTagger.git
This will get the code inside a folder called SolrTextTagger.
Now inside the SolrTextTagger library, run the following command to create the JAR file:
mvn package
The mvn command is available in the Maven repository. This repository can be installed using the following command on Ubuntu machines:
sudo apt-get install maven2
We can also install and use the latest release of maven – maven3.
The mvn command fetches the dependencies required for compiling and creating the JAR file. If any dependencies are not satisfied or remain unavailable, you will need to debug the pom.xml file inside the SolrTextTagger folder and re-run the command.
Alternatively, you can use the solr-text-tagger.jar file available...
Change the font size
Change margin width
Change background colour