SourceForge.net Logo
Main Overview Wiki Issues Forum Build Fisheye

Welcome, Guest
Guest Settings
Help

Compass Support Forums » Compass » Compass Users

Thread: Disabling stop words

This question is answered.


Permlink Replies: 16 - Pages: 2 [ 1 2 | Next ] - Last Post: Dec 3, 2011 4:37 AM Last Post By: longchamp
Piet Seiden

Posts: 1
Registered: 12/1/09
Disabling stop words
Posted: Dec 1, 2009 2:42 AM
 
  Click to reply to this thread Reply
We would like to index without the default stop words used by the default analyzer. We have tried to set the value of the stopWord attribute to "no" in the compass.cfg.xml, but this only seems to add "no" to the list op stop words.

<stopWords>
<stopWord value="no" />
</stopWords>

How do we disable the use of stop words?
pangea

Posts: 368
Registered: 9/25/07
Re: Disabling stop words
Posted: Dec 1, 2009 9:12 AM   in response to: Piet Seiden in response to: Piet Seiden
Correct
  Click to reply to this thread Reply
i wrote my on analyzer and configured it....below is the code and check http://forum.compass-project.org/thread.jspa?threadID=216222&tstart=0 on how to configure it

public class ICStandardAnalyzer extends StandardAnalyzer
{
	/*
		Default stop words from the StandardAnalyzer. We will only be needing a subset of the
		below
		"a", "an", "and", "are", "as", "at", "be", "but", "by",
		"for", "if", "in", "into", "is", "it",
		"no", "not", "of", "on", "or", "such",
		"that", "the", "their", "then", "there", "these",
		"they", "this", "to", "was", "will", "with"
	 */
	final static Set stopWords = new HashSet();
 
	static
	{
		ICStandardAnalyzer.stopWords.add("are");
		ICStandardAnalyzer.stopWords.add("the");
		ICStandardAnalyzer.stopWords.add("but");
		ICStandardAnalyzer.stopWords.add("for");
		ICStandardAnalyzer.stopWords.add("into");
		ICStandardAnalyzer.stopWords.add("not");
		ICStandardAnalyzer.stopWords.add("such");
		ICStandardAnalyzer.stopWords.add("that");
		ICStandardAnalyzer.stopWords.add("their");
		ICStandardAnalyzer.stopWords.add("then");
		ICStandardAnalyzer.stopWords.add("there");
		ICStandardAnalyzer.stopWords.add("these");
		ICStandardAnalyzer.stopWords.add("they");
		ICStandardAnalyzer.stopWords.add("this");
		ICStandardAnalyzer.stopWords.add("was");
		ICStandardAnalyzer.stopWords.add("will");
		ICStandardAnalyzer.stopWords.add("with");
	}
 
	public ICStandardAnalyzer()
	{
		this(ICStandardAnalyzer.stopWords);
	}
 
	public ICStandardAnalyzer(final Set stopWords)
	{
		super(stopWords);
	}
}
otnateos

Posts: 46
Registered: 6/23/08
Re: Disabling stop words
Posted: Dec 1, 2009 11:04 PM   in response to: Piet Seiden in response to: Piet Seiden
 
  Click to reply to this thread Reply
I set up the compass.engine.analyzer.default.stopwords to something else in order to define my own stopwords, you may be able to set it to empty string.
<compass:setting name="compass.engine.analyzer.default.stopwords" value="" />
louisvuittonbox

Posts: 411
Registered: 8/23/11
Re: Disabling stop words
Posted: Aug 23, 2011 9:26 PM   in response to: Piet Seiden in response to: Piet Seiden
 
  Click to reply to this thread Reply
Welcome to louis vuitton online! Here at our online shop, we enable you to select as many styles louis vuitton bags as you can at greatly discounted prices. Established in 2006, We have already landed so many returning customers from louis vuitton outlet. We have been known for the authentic quality of our items,such as louis vuitton belts and louis vuitton purses unsurpassed customer service, rapid delivery, unique prices and so on and so forth. What we did, are doing and will do is only to make our esteemed customers consume those world-renowned luxury designer merchandise with peace of mind. So we sincerely hope that you could be our next returning customer. We are confident that you will be quite satisfied with everything we offer here. Wish you a very good shopping louis vuitton store!
jenny

Posts: 271
Registered: 11/13/11
coach outlet store online
Posted: Nov 13, 2011 7:20 PM   in response to: Piet Seiden in response to: Piet Seiden
 
  Click to reply to this thread Reply
The

coach factory outlet

has been in business for many years. You can log in to find more information about its products and services.
At

louis vuitton sale

,you will find Louis Vuitton Vernis Wallet uses Vernis leather lining instead of classic Monogram canvas, meanwhile creates another classic style with fashion.
Here's your new way to look sophisticated styles. Carry the hot

coach outlet store online

of this summer and be the true trendsetter!
Several days ago, I chose one style of

hermes scarf

from the Swarovski Outlets, which has won good reputation from many customers.
It is a symbol regarding position not to mention nature, Here I would like to launch a excellent bags pertaining to business men, which may be

louis vuitton online

Cupertino M56398.
Almost everyone has identified effectively about this, below, among the best to make sure you will get much more information about

coach outlet

.
lvzeng

Posts: 268
Registered: 11/13/11
louis vuitton
Posted: Nov 13, 2011 7:56 PM   in response to: Piet Seiden in response to: Piet Seiden
 
  Click to reply to this thread Reply
Owning

louis vuitton bags

of their own has been the dreams of many fad-seeking people for a quite long time.
You need not worry about the quality of the

coach outlet store online

for sale now. The Coach brand is famous for the perfect products.
I am so confused that I don,t even know where to buy the

louis vuitton

Handbags. Because I can prefer to chose the fashionable design, favorable price, top service .

coach outlet store online

with fashion style and top quality succeed. In any occasions they are very suitable and appropriate for its precise and rich design.
They're not chosen, so one of these ideal for you.For more flexibleness a lot more like these, there are lots of discount 'shoulder' variations outlet

louis vuitton bags

.

hermes birkin

is an Austrian success story par excellence. At the end of the 19th century Daniel Swarovski founded a company with the aim to cut crystals automatically.

coach outlet store

vision system is a visual enjoy, is a visual art. The particular design has been integrated function and the element of elegancy, then show you an exquisite and excellent product.
coach8outlet

Posts: 282
Registered: 11/13/11
Re: Disabling stop words
Posted: Nov 14, 2011 1:35 AM   in response to: Piet Seiden in response to: Piet Seiden
 
  Click to reply to this thread Reply

louis vuitton handbags

enjoy high reputation all over the world. They are designed for hand, elbow and shoulder carry thanks to comfortable flat leather handles.
If you have been to the mall lately and browsed

coach outlet

you may find that a high price tag goes along with just about everything in the mall.
This client-oriented and faith-rooted store aims at providing the best LV goods and services, such as top-class

louis vuitton uk

and free shipping.
Turn your attention to such discount coach sneakers for women from Coach Outlet Store online, you will find something unique and special of such authentic coach for sale at coach factory outlet store online.

louis vuitton outlet

online just like a person who want to show himself in front of other people, because he is confident enough, he can attain the respect of other people.
Bezel-set

hermes birkin bag

are showcased in all their brilliance in the chic and timeless design of this tennis bracelet. Rhodium-plated metal bracelet with foldover clasp.
The

coach outlet store online

are utilized for formal event in company area that will display your excellent taste.Not only does a briefcase make is easier to carry things.
tonnyben

Posts: 270
Registered: 11/14/11
Re: Disabling stop words
Posted: Nov 14, 2011 2:30 AM   in response to: Piet Seiden in response to: Piet Seiden
 
  Click to reply to this thread Reply

coach factory outlet online

featured with stylish leather bags and signature materials, and carry this bag, it can designate people seem to be captivatingly feminine and good-looking. Why not to buy one when it is at an affordable price?
The products that

louis vuitton outlet

is countless, such as: purses, bags, handbags, shoes, belt. Even the same kind of product includes the products for women, the products for men, for summer-day use, for winter-day use.So, it is probably far beyond your imagination.
As a perfect combination of classic and modern fashion,

coach outlet online

can show the customers'unique personality.

hermes birkin

is your premier online shop for a wide range of quality Swarovski Crystal products such as Swarovski Crystals earring, Jewelry, Bracelet etc.
You could find them in desirable quality and price. If you don't mind high class louis vuitton replica bags, have a good time at

louis vuitton outlet online

.

coach purses

tend to be among finest style strikes associated with these days! They're the standing image that many ladies possess, or even, intend on obtaining.
liuliuxiao

Posts: 54
Registered: 11/4/11
oakley zero sunglasses
Posted: Nov 27, 2011 6:34 PM   in response to: Piet Seiden in response to: Piet Seiden
 
  Click to reply to this thread Reply
"Thanks to your post<a href=""http://www.monclerjacket-online.com/moncler-jacket-kids-black-p-624.html"">moncler jacket kids black
<a href=""http://www.monclerjacket-online.com/moncler-kids-jacket-red-p-616.html"">moncler kids jacket red
<a href=""http://www.monclerjacket-online.com/moncler-kids-jacket-gray-p-615.html"">moncler kids jacket gray
<a href=""http://www.monclerjacket-online.com/moncler-kids-jacket-brown-p-614.html"">moncler kids jacket brown
<a href=""http://www.monclerjacket-online.com/moncler-kids-jacket-black-p-613.html"">moncler kids jacket black
<a href=""http://www.monclerjacket-online.com/moncler-women-jacket-white-p-237.html"">moncler women jacket white
<a href=""http://www.monclerjacket-online.com/moncler-women-jacket-blue-p-229.html"">moncler women jacket blue
<a href=""http://www.monclerjacket-online.com/moncler-women-jacket-blue-p-165.html"">moncler women jacket blue
<a href=""http://www.monclerjacket-online.com/moncler-women-jacket-black-p-164.html"">moncler women jacket black
<a href=""http://www.monclerjacket-online.com/moncler-women-jacket-red-p-159.html"">moncler women jacket red
<a href=""http://www.monclerjacket-online.com/moncler-women-jacket-leaden-p-157.html"">moncler women jacket leaden
<a href=""http://www.monclerjacket-online.com/moncler-women-jacket-coffee-p-155.html"">moncler women jacket coffee
<a href=""http://www.monclerjacket-online.com/moncler-women-jacket-white-p-151.html"">moncler women jacket white
<a href=""http://www.monclerjacket-online.com/moncler-women-jacket-purple-p-150.html"">moncler women jacket purple
<a href=""http://www.monclerjacket-online.com/moncler-women-jacket-khaki-p-147.html"">moncler women jacket khaki
<a href=""http://www.monclerjacket-online.com/moncler-women-jacket-brown-p-136.html"">moncler women jacket brown
<a href=""http://www.monclerjacket-online.com/moncler-women-special-limited-edition-coats-in-white-p-346.html"">moncler women special limited edition coats white
<a href=""http://www.monclerjacket-online.com/moncler-women-special-long-down-coat-gray-white-p-295.html"">moncler women special long down coat white
<a href=""http://www.monclerjacket-online.com/moncler-down-coats-men-beige-p-580.html"">moncler down coats men beige
<a href=""http://www.monclerjacket-online.com/moncler-down-coats-men-black-p-581.html"">moncler down coats men black
<a href=""http://www.monclerjacket-online.com/moncler-down-coats-men-brown-p-566.html"">moncler down coats men brown
<a href=""http://www.monclerjacket-online.com/moncler-down-coats-men-coffee-p-582.html"">moncler down coats men coffee
<a href=""http://www.monclerjacket-online.com/moncler-down-coats-men-gray-p-585.html"">moncler down coats men gray
<a href=""http://www.monclerjacket-online.com/moncler-down-coats-men-olive-p-579.html"">moncler down coats men olive
<a href=""http://www.monclerjacket-online.com/moncler-down-jackets-men-black-p-545.html"">moncler down jackets men black
<a href=""http://www.monclerjacket-online.com/moncler-down-jackets-men-blue-p-428.html"">moncler down jackets men blue
<a href=""http://www.monclerjacket-online.com/moncler-down-jackets-men-brown-p-413.html"">moncler down jackets men brown
<a href=""http://www.monclerjacket-online.com/moncler-down-jackets-men-burgundy-p-466.html"">moncler down jackets men burgundy
<a href=""http://www.monclerjacket-online.com/moncler-down-jackets-men-coffee-p-517.html"">moncler down jackets men coffee
<a href=""http://www.monclerjacket-online.com/moncler-down-jackets-men-darkblack-p-429.html"">moncler down jackets men darkblackyunxiaoliu
"
clothworld

Posts: 1,130
Registered: 11/16/11
Re:Timberland Boots Sale
Posted: Nov 28, 2011 12:36 AM   in response to: Piet Seiden in response to: Piet Seiden
 
  Click to reply to this thread Reply
Thought that Timberland Boots Sale all matters need Cheap Timberland Boots by oneself primarily, ever not to Timberland UK consider others' Timberland Boots standpoint Special Timberland Boots or the sentiment, arrogant, Mens Timberland Chukka Boots are supercilious. Passes through time lothes not to be able to put on again second time, likes trading the race car frequently. Had been infatuated with the guitar, but by artistic layman's paternal grandmother was ridiculed, no longer Mens Timberland Boat Shoes moves. “later will talk incessantly paternal grandmother not in the words, the majority of properties turned over to me”, by now paternal Mens Timberland Roll-Top Boots grandmother did not know Mens Timberland Custom Boots has brought the emaciated girl from Womens Timberland 6 Inch Boots where, announced that must give the Womens Timberland Boots entire fortune he, this was also insufficient, old woman added that must cut off his all sources of income. In order to recall this absurd condition, but is working with the high graciousness astronomy, discovered All Timberland Boots that oneself likes on this enemy unexpectedly, he New Timberland Boots feels flustered to his Lovers Timberland Boots action. Unexpectedly graciousness star's side had Timberland Beach Sandals the mature perfect man handsome world, but has received Womens Timberland Roll-Top Boots US since the high school Timberland Kids Boots time's good friend to be Mens Timberland Boots also unable to own sentiment to neglect again, finally Women's Timberland Boots Snow finally with graciousness star Mens Timberland 6 Inch Boots in the same place.
clothworld

Posts: 1,130
Registered: 11/16/11
Re:Timberland Boots Sale
Posted: Nov 28, 2011 12:58 AM   in response to: Piet Seiden in response to: Piet Seiden
 
  Click to reply to this thread Reply
Thought that Timberland Boots Sale all matters need Cheap Timberland Boots by oneself primarily, ever not to Timberland UK consider others' Timberland Boots standpoint Special Timberland Boots or the sentiment, arrogant, Mens Timberland Chukka Boots are supercilious. Passes through time lothes not to be able to put on again second time, likes trading the race car frequently. Had been infatuated with the guitar, but by artistic layman's paternal grandmother was ridiculed, no longer Mens Timberland Boat Shoes moves. “later will talk incessantly paternal grandmother not in the words, the majority of properties turned over to me”, by now paternal Mens Timberland Roll-Top Boots grandmother did not know Mens Timberland Custom Boots has brought the emaciated girl from Womens Timberland 6 Inch Boots where, announced that must give the Womens Timberland Boots entire fortune he, this was also insufficient, old woman added that must cut off his all sources of income. In order to recall this absurd condition, but is working with the high graciousness astronomy, discovered All Timberland Boots that oneself likes on this enemy unexpectedly, he New Timberland Boots feels flustered to his Lovers Timberland Boots action. Unexpectedly graciousness star's side had Timberland Beach Sandals the mature perfect man handsome world, but has received Womens Timberland Roll-Top Boots US since the high school Timberland Kids Boots time's good friend to be Mens Timberland Boots also unable to own sentiment to neglect again, finally Women's Timberland Boots Snow finally with graciousness star Mens Timberland 6 Inch Boots in the same place.
clothworld

Posts: 1,130
Registered: 11/16/11
Re:Columbia Sportswear
Posted: Nov 28, 2011 2:53 AM   in response to: Piet Seiden in response to: Piet Seiden
 
  Click to reply to this thread Reply
Lu Huadong indicated that Columbia Sportswear this school bus accident previous three Columbia Jackets days, the Qingyang Bureau of Education, the Columbia Outlet Zhengning County Bureau of Education discovered Mens Columbia 3 in 1 Jackets in the inspection, this kindergarten existence school bus Lovers Columbia Trousers overload situation, once ordered the kindergarten to carry on reorganizes. The Ministry Supra Shoes of Education requests the Supra Shoes UK regional Educational department and the elementary and middle schools Supra TK Society kindergarten; first, develops immediately to the elementary and middle school students and the baby leaves Womens Supra TK Society Shoes class rides in a carriage the security situation investigation. Must chase the school by to live by the garden leaves class the riding Womens Supra Skytop Shoes situation Supra Vaider to the student on to carry on the overall check understanding, rents the vehicles to the Supra Skytop III Shoes school and the kindergarten to carry on the New Supra Skytop Shoes security check, the existence safe hidden danger must stop using the service immediately; The Supra Strapped NS discovery has the guardian to rent the society the illegal operation vehicles to give to advise Supra TK Society Shoes against.
Legend
Guru: 2001 + pts
Expert: 501 - 2000 pts
Super-star: 101 - 500 pts
Assistant: 51 - 100 pts
Participant: 0 - 50 pts
Helpful Answer (5 pts)
Correct Answer (10 pts)

Point your RSS reader here for a feed of the latest messages in all forums