home | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Lucene example source code file (LikeThisQuery.xml)

This example Lucene source code file (LikeThisQuery.xml) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Lucene tags/keywords

basra, iran's, iranian, iranian, iranians, iranians, iraq, iraq, iraqi, iraqi, likethisquery, reuter, the, utf-8

The Lucene LikeThisQuery.xml source code

<?xml version="1.0" encoding="UTF-8"?>
<LikeThisQuery percentTermsToMatch="5" stopWords="Reuter" minDocFreq="2">
IRAQI TROOPS REPORTED PUSHING BACK IRANIANS Iraq said today its troops were pushing Iranian forces out of 
	positions they had initially occupied when they launched a new offensive near the southern port of 
	Basra early yesterday.     A High Command communique said Iraqi troops had won a significant victory 
	and were continuing to advance.     Iraq said it had foiled a three-pronged thrust some 10 km 
	(six miles) from Basra, but admitted the Iranians had occupied ground held by the Mohammed al-Qassem 
	unit, one of three divisions attacked.     The communique said Iranian Revolutionary Guards were under 
	assault from warplanes, helicopter gunships, heavy artillery and tanks.     "Our forces are continuing 
	their advance until they purge the last foothold" occupied by the Iranians, it said.     
	(Iran said its troops had killed or wounded more than 4,000 Iraqis and were stabilising their new positions.)     
	The Baghdad communique said Iraqi planes also destroyed oil installations at Iran's southwestern Ahvaz field 
	during a raid today. It denied an Iranian report that an Iraqi jet was shot down.     
	Iraq also reported a naval battle at the northern tip of the Gulf. Iraqi naval units and forces defending an 
	offshore terminal sank six Iranian out of 28 Iranian boats attempting to attack an offshore terminal, 
	the communique said.      Reuter 3;
</LikeThisQuery>

Other Lucene examples (source code examples)

Here is a short list of links related to this Lucene LikeThisQuery.xml source code file:



my book on functional programming

 

new blog posts

 

Copyright 1998-2019 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.