Monthly Archives: August 2011
Command to start tomcat – Linux ubuntu
sudo /etc/init.d/tomcat5.5 start
Command to install tomcat – linux ubuntu
sudo apt-get install tomcat5.5-admin
sudo apt-get install tomcat5.5
How to find a correct tomcat package to install – Linux
sudo apt-cache search tomcat
How to check whether java is installed or not in linux
Just run “java -version”. if JAVA is installed in your system , it will display the version
Requirements for running a Solr server
It requires Java 1.5 and an Application server (Tomcat) that supports the Servlet 2.4 standard.
Some data doesn’t show up after posting – apache solr
Data that have been added to the index don’t show up in search results until a commit is done.
You can post a <commit/> message to the XML update handler.
How to delete complete data in apache solr
Use the “match all docs” query in a delete by query command: <delete><query>*:*</query></delete>
What is .vm file?
VM file is a Velocity Macro File. Apache Velocity is a Java-based template engine that provides a simple yet powerful template language to reference objects defined in Java code.
Velocity macro files (VM) are Velocity`s templates, they are html files with variables that are substituted by Velocity.
Features Apache Lucene
Ranked Searching
Flexible Queries
Field-specific Queries
Sorting