java -Ddata=args -Dcommit=no -jar post.jar “<delete><id>SP2514N</id></delete>”
Category Archives: Apache
Add data to apache solr
You can add data using the below given command
java -jar post.jar data.xml
Make sure that you have changed the directory where post.jar and xml files are available from the shell.
Apache Thrift
Apache solr
Solr is written in Java and runs as a standalone full-text search server within a servlet container such as Apache Tomcat. Solr uses the Lucene Java search library at its core for full-text indexing and search, and has REST-like HTTP/XML and JSON APIs that make it easy to use from virtually any programming language.
Solr’s powerful external configuration allows it to be tailored to almost any type of application without Java coding, and it has an extensive plugin architecture when more advanced customization is required.
Apache Lucene and Apache Solr are both produced by the same ASF development team since the project merge in 2010. It is common to refer to the technology or products as Lucene/Solr or Solr/Lucene
Set the JAVA_HOME Variable in Windows
2) Right-click the My Computer icon on your desktop and select Properties.ThenClick the Advanced tab.
3) Click the Environment Variables button.Under System Variables, click New and Enter the variable name as JAVA_HOME.
4)Enter the variable value as the installation path for the Java Development Kit. If path name includes space it , replace it with ~
5)Click OK and Click Apply Changes.
6)Restart Windows.
what is apache ant used for ?
The most immediately noticeable difference between Ant and Make is that Ant uses XML to describe the build process and its dependencies, whereas Make uses Makefile format. By default the XML file is named build.xml.
Ant is an Apache project. It is open source software, and is released under the Apache Software License.