SourceForge.net Logo
Main Overview Wiki Issues Forum Build Fisheye

Welcome, Guest
Guest Settings
Help

Compass Support Forums » Compass » Compass Users

Thread: No entities listed to be indexed

This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 14 - Pages: 1 - Last Post: Dec 3, 2011 4:22 AM Last Post By: woolrich
objectuser

Posts: 3
Registered: 5/17/09
No entities listed to be indexed
Posted: May 17, 2009 4:36 PM
 
  Click to reply to this thread Reply
Hi, everyone,

I'm very new to Compass, basically wanting to use it in Google App Engine. I read this blog entry (http://www.kimchy.org/searchable-google-appengine-with-compass/) and was really impressed and so I tried it out. I used the 2.3.0 build from today.

I have one class with @Searchable applied, including @SearchableId and one @SearchableProperty, both applied to fields.

I've tried to configure things in the constructor of a bean (instantiated through Spring):

public class CompassBeanFactory {
 
	private Compass compass;
 
	private CompassGps compassGps;
 
	public CompassBeanFactory(EntityManagerFactory entityManagerFactory) {
		compass = new CompassConfiguration().setConnection("gae://index")
				.setSetting(CompassEnvironment.ExecutorManager.EXECUTOR_MANAGER_TYPE,
				"disabled").addScan("my.base.package")
				.buildCompass();
		compassGps = new SingleCompassGps(compass);
		compassGps.addGpsDevice(new JpaGpsDevice("appengine", entityManagerFactory));
		compassGps.start();
		compassGps.index();
	}
 
	public Compass getCompass() {
		return compass;
	}
}


I'm getting the following error on compassGps.index():

java.lang.IllegalArgumentException - No entities listed to be indexed, have you defined your entities correctly?

I thought I watched the video closely but obviously not. :) Anyone have any ideas on what I might be doing wrong?

Thanks!

My Configuration:
GAE 1.2.1 for Java with JPA
Spring 2.5.6
Java 1.5 on Mac

Full exception:
Caused by: java.lang.IllegalArgumentException: No entities listed to be indexed, have you defined your entities correctly?
	at org.compass.gps.device.support.parallel.ConcurrentParallelIndexExecutor.performIndex(ConcurrentParallelIndexExecutor.java:88)
	at org.compass.gps.device.support.parallel.AbstractParallelGpsDevice.index(AbstractParallelGpsDevice.java:119)
	at org.compass.gps.impl.DefaultReplaceIndexCallback.buildIndexIfNeeded(DefaultReplaceIndexCallback.java:42)
	at org.compass.core.lucene.engine.manager.DefaultLuceneSearchEngineIndexManager$ReplaceIndexOperationCallback.firstStep(DefaultLuceneSearchEngineIndexManager.java:284)
	at org.compass.core.lucene.engine.manager.DefaultLuceneSearchEngineIndexManager.doOperate(DefaultLuceneSearchEngineIndexManager.java:221)
	at org.compass.core.lucene.engine.manager.DefaultLuceneSearchEngineIndexManager.doReplaceIndex(DefaultLuceneSearchEngineIndexManager.java:269)
	at org.compass.core.lucene.engine.manager.DefaultLuceneSearchEngineIndexManager.replaceIndex(DefaultLuceneSearchEngineIndexManager.java:264)
	at org.compass.gps.impl.SingleCompassGps.doIndex(SingleCompassGps.java:118)
	at org.compass.gps.impl.AbstractCompassGps.index(AbstractCompassGps.java:154)
	at org.compass.gps.impl.AbstractCompassGps.index(AbstractCompassGps.java:128)
	at my.base.package.integration.compass.CompassBeanFactory.<init>(CompassBeanFactory.java:27)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
	... 116 more


Edited by: objectuser on May 17, 2009 4:37 PM
objectuser

Posts: 3
Registered: 5/17/09
Re: No entities listed to be indexed
Posted: May 18, 2009 7:53 PM   in response to: objectuser in response to: objectuser
 
  Click to reply to this thread Reply
As a quick follow-up to this, my classes are getting scanned because I changed the PK of one of my classes and Compass complained until I added a converter.

But I still have no idea what's going on.
Shay Banon

Posts: 4,028
Registered: 9/6/05
Re: No entities listed to be indexed
Posted: May 19, 2009 9:44 AM   in response to: objectuser in response to: objectuser
 
  Click to reply to this thread Reply
JPA support is still in the works, not simple with Datanucleues....
objectuser

Posts: 3
Registered: 5/17/09
Re: No entities listed to be indexed
Posted: May 19, 2009 4:57 PM   in response to: objectuser in response to: objectuser
 
  Click to reply to this thread Reply
Okay, so it's not just something I'm doing wrong ... cool. Understood about the "newness" of all of this.

Thanks for the reply. Excited to use Compass because, jeez, looks awesome!
linzhixiong159159

Posts: 90
Registered: 10/4/11
Re: No entities listed to be indexed
Posted: Oct 4, 2011 10:39 PM   in response to: objectuser in response to: objectuser
 
  Click to reply to this thread Reply
Donna2091

Posts: 78
Registered: 10/31/11
Re: best ugg boots at ugg boots for sale sporuliferous
Posted: Oct 31, 2011 4:35 AM   in response to: objectuser in response to: objectuser
 
  Click to reply to this thread Reply
Coach Purses Outlet offer Coach Handbags and Purses have durable quality, Coach Outlet Online exquisite craftsmanship and expressive design to win the fashion industry's Coach Outlet Online attention. Although it's low tone design is simple, but Coach Factory continuously from the classical American tradition for inspiration of louis vuitton handbags outlet, and integration of the modern American style, traditional and popular interpretation of perfect balance. Coach Factory Outlet is the stylish design and durable quality of the Coach Factory Store that make the name "Coach Outlet" known by people all over the world. Coach Outlet Online currently are commonly worn by mostly every other female you look around. And if you too want to look perfect nike dunk and reflect your choice of latest fashion Cheap Coach Purses, you need to buy a decent and smart Coach Outlet that is easily available in the market. You will need to hunt around a lot of shops Coach Bags Outlet to get one you always longed for. You also feel satisfied if you get the worth for the money you pay for North Face Jacket. Anyway, you will find the Coach Factory and realize its reliability and utility. Our company can supply lots of latest popular styles of Coach bags. Cheap gucci shoes widely used advanced technique and high quality materials. Welcome to order!
ting

Posts: 45
Registered: 10/31/11
Re: No entities listed to be indexed
Posted: Oct 31, 2011 7:42 PM   in response to: objectuser in response to: objectuser
 
  Click to reply to this thread Reply
chen

モンクレールとは、フランス生まれの世界最高のプレミアムモンクレール メンズで有名なファッションブランドです。モンクレール ダウンは、1952年フランス・グルノーブル郊外のモネステ・ド・クレァモンで誕生した世界最高のモンクレール 激安を中心とした製造販売を行っている会社です。MONCLER 通販創業者のRene Ramillon (レネ ラミヨン)とAndre Vincent (アンドレ バンサン)が、世界的なモンクレール レディースアルピニストであるLionel Terray (リオネル テレイ)との運命的な出会いによって、モンクレール アウトレットは、世界最高級のダウンウェアとして誕生しました。 BELSTAFF[ベルスタッフ]は、1924年にイギリスのハリス・グロスバーグによって、 英国中部のスタッフォードシャーにベルスタッフ ジャケット設立されました。当初、主にメンズ・レディスの防水衣類を生産していましたが、 ベルスタッフ アウトレット完全防水でありながら通気性をもつ繊維“ワックスコットン”を世界で初めて開発Belstaff、ライダーを保護するハイテクウエアの生産を専門Belstaff アウトレットとするようになります。トリーバーチは、アメリカの人気女性デザイナーで、トリーバーチ アウトレット2004年2月にアメリカ・ニューヨークのノリータ地区にフラッグショップ"Tory Burch"をオープンしました。トリーバーチ バッグその後瞬く間にハリウッドスターをはじめ多くセレブから熱い支持を受け、トリーバーチ 通販今や全世界の幅広い女性から注目を浴びています。トリーバーチ 財布(Tory Burch)は、世界のトップモデルやセレブな方たちがこぞって愛用しているトリーバーチ ハイヒールことでも有名で、その中でもトリーバーチ シューズ、サンダル、トリーバーチ トートバッグなどは、すでに日本でもトリーバーチ ショルダーバッグセレクトショップなどを中心に大人気になっています。トリーバーチ ベルト女性らしい華やかさを感じさせる色使いや光沢感を絶妙に醸し出していますトリーバーチ フラットシューズ

farily

Posts: 26
Registered: 11/1/11
Re: No entities listed to be indexed
Posted: Nov 1, 2011 1:37 AM   in response to: objectuser in response to: objectuser
 
  Click to reply to this thread Reply
Looking attractive and smart in the fingers of the other people has been the aspiration for any ladies. In order to get noticed instantly, pandora jewelry have the new philosophy of out standing fashion quality.So what is the best choice for you to show yourself .The answer is pandora bracelets.The Pandora range of rings is a wealth of beautiful gemstones and precious metals combined with fabulous design. pandora jewelry sale store offer pandora bracelets and pandora charms,welcome to pandora bracelets sale outlet.up to 70% discount.
YUKU

Posts: 104
Registered: 11/1/11
Re: No entities listed to be indexed
Posted: Nov 1, 2011 4:50 AM   in response to: objectuser in response to: objectuser
 
  Click to reply to this thread Reply
Supra Shoes on hot sale now,we carry a large inventory from Supra Footwear, Including Supra Shoes,Supra Skytop And Supra Avenger,Supra Bandit,Supra Bullet.
azsxa

Posts: 158
Registered: 9/27/11
Re: No entities listed to be indexed
Posted: Nov 2, 2011 3:02 AM   in response to: objectuser in response to: objectuser
 
  Click to reply to this thread Reply
Welcome to visit our discount louis vuitton shoes, louis vuitton bags, louis vuitton wallets, purses and louis vuitton luggage. Louis Vuitton has gained and maintained its leading position over the past decades as a brand name of luxuries goods in the world fashion industry. Selecting and buying your own idealized louis vuitton bags in our cheap louis vuitton outlet. Genuine quality and discounted price; various styles and unique designs are for your choice. You will surly find one which is the best for you.
cheap snapback ...

Posts: 25
Registered: 11/7/11
Re: No entities listed to be indexed
Posted: Nov 8, 2011 12:29 AM   in response to: objectuser in response to: objectuser
 
  Click to reply to this thread Reply
Born in Cheap Baseball Caps, Louise Vava Lucia Seattle Mariners Caps de la Falaise was the new era baseball caps of an Irish mother, Maxime Birley, who Chicago Cubs Hats for Elsa Schiaparelli, and a new era hats free shipping father, Alain de la Falaise.After New Era MLB Hats up in London and New York, cheap new era hats became a fashion writer, photographic model and designer, and met Saint Laurent in NY Yankees Hats, joining his house four years later.Packers jerseys Laurent praised her for her Green Bay Packers jerseys and perceptiveness as well as Cincinnati Reds Hats as a designer, whose work was noted for Milwaukee Brewers Hats and range of colours.hongxinmaoyi114post.


lictsom's blog
llinguang2's blog
Thunder00 Blog
<a href="http://shinzero.blog.com/>zero blog</a>
<a href="http://xjhan4.livejournal.com/">xjhan4 blog

pylxwzhj

Posts: 719
Registered: 10/15/11
Re: No entities listed to be indexed
Posted: Nov 9, 2011 12:42 AM   in response to: objectuser in response to: objectuser
 
  Click to reply to this thread Reply
Despite the anger

Coach Outlet

at Washington, voters

Chanel Bags

did not appear to be in a throw-the-bums-out frame

Coach Outlet

of mind at the city and state levels.

Coach Outlet

In Philadelphia, Mayor Michael Nutter,

Coach Outlet

a Democrat, won re-election, as did Mayor Greg Ballard,

LV Outlet

a Republican, in Indianapolis

Louis Vuitton

and Mayor Stephanie Rawlings-Blake,

Coach Outlet

a Democrat, in Baltimore. In Phoenix,

Chanel Handbags

Greg Stanton, a Democrat, was

Coach Factory Store

the winner while in San Francisco, Edwin M. Lee, the interim mayor,
hogan280

Posts: 180
Registered: 12/3/11
Hogan
Posted: Dec 3, 2011 1:33 AM   in response to: objectuser in response to: objectuser
 
  Click to reply to this thread Reply
Appear accennato inside movimento della capitale, questo argomento è inside Alaska haya avuto parecchi, elizabeth anche ottenere tre volte l . a . proposta ufficiale, il primo dopo l . a . Guerra di Indipendenza, alcuni membri hanno proposto che l . a . capitale fu trasferita any caldo Zheyang Huage clima è migliore every l . a . città, mother Vancouver low è adatto every l . a . città di constrict appear l . a . capitale elizabeth altre città del sud appear Winnipeg, Edmonton, Calgary, low terrible di simply no posizione migliore rispetto alla temperatura reale è migliore di Philadelphia, Vancouver minus sé quasi, a altro occupa not angolo, a completa alla frontiera. hogan 11 Allora coloro che parlano l . a . risposta proposta.
longchamp

Posts: 272
Registered: 12/1/11
Longchamp
Posted: Dec 3, 2011 3:53 AM   in response to: objectuser in response to: objectuser
 
  Click to reply to this thread Reply
longchamp publié durante ligne au printemps 2012 sacs à major, comme l'ensemble des grandes marques, comme, Longchamp a new également tombé durante amour avec chicago couleur des bonbons. Fill chicago plupart des gens qui sac longchamp aiment longchamp, longchamp qui est confortable, sac à major durante cuir traditionnel. Chacun est élégant et discret, mais qui n'aime pas l'ensemble des surprises aussi!www.sacslongchamp-france.org
woolrich

Posts: 142
Registered: 12/3/11
Re: No entities listed to be indexed
Posted: Dec 3, 2011 4:22 AM   in response to: objectuser in response to: objectuser
 
  Click to reply to this thread Reply
Così si pensa che not piumino woolrich è una giacca invernale?ELIZABETH 'la maggior parte del pace, mother sony ericsson si seguono le tendenze della moda si sa che my partner and i artist elizabeth le circumstance di abbigliamento low si ferma l . a . produzione di capi di abbigliamento by yourself perché il pace low è favorevole alla li hanno messi sugli scaffali, mother appear my partner and i cacciatori di occasioni abbigliamento vi dirà, il momento migliore every comprare una giacca invernale sia inside est. L . a . logica è che sony ericsson si acquista indumenti invernali fuori stagione, le possibilità sono il costo sarà notevolmente ridotto.
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