SourceForge.net Logo
Main Overview Wiki Issues Forum Build Fisheye

Welcome, Guest
Guest Settings
Help

Compass Support Forums » Compass » Compass Users

Thread: Lucene Jdbc Directory - Query finds only results of newest segment

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


Permlink Replies: 10 - Pages: 1 - Last Post: Nov 2, 2011 2:50 AM Last Post By: azsxa
Richie

Posts: 1
Registered: 4/18/11
Lucene Jdbc Directory - Query finds only results of newest segment
Posted: Apr 18, 2011 5:40 AM
 
  Click to reply to this thread Reply
Hello,

i am using Pure Lucene with the "Lucene Jdbc Directory" of the compass project to store my index within a database (oracle).
When i index all my Document- objects within one cycle into the database it works fine - i can find all Documents when i query for them.
But when i index the documents in more cycles i can only find the documents i added in the last cycle- the query finds only the documents which are in the newest segment.
Maybe somebody can help to find my fault.

The code is ued to create the index within the database:

public void createPersonIndex(DataSource dataSource, Analyzer analyzer, List<Person> persons) {

try {
JdbcDirectory directory = new MyJdbcDirectory(dataSource, TABLENAME);

if(!directory.tableExists()){ directory.create(); }
IndexWriter writer = new IndexWriter(directory, new StandardAnalyzer(Version.LUCENE_30),MaxFieldLength.UNLIMITED);

for (Person person : persons) {

Document doc = new Document();
doc.add(new Field("firstName1", person.getFirstName1(), Field.Store.YES,Field.Index.ANALYZED));
doc.add(new Field("lastName1", person.getLastName1(), Field.Store.YES,Field.Index.ANALYZED));
doc.add(new Field("systemId", person.getSystemId().toString(), Field.Store.YES,Field.Index.ANALYZED));

writer.addDocument(doc);

}
writer.optimize();
writer.close();

} catch (CorruptIndexException e) {
e.printStackTrace();
} catch (LockObtainFailedException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
}
}

Edited by: Richie on Apr 18, 2011 6:01 AM
feifei

Posts: 128
Registered: 9/5/11
Re: Lucene Jdbc Directory - Query finds only results of newest segment
Posted: Sep 13, 2011 3:24 AM   in response to: Richie in response to: Richie
 
  Click to reply to this thread Reply
We are the best soccer jersey supplier, all the soccer jerseys on jerseybbs.com are REPLICA SOCCER JERSEYS, but their quality are good, because many soccer jersey shopping websites are selling our discount soccer jerseys, espcially the thailand quality cheap soccer jerseys, They are the same as the official jerseys

According to a figure that most of the luxury brands consumer in China range frome 2os to 30s.
wholesale polo shirts are all young Women's love, wearing the designers will attract passerby glance, it make them be in good mood all the day.

feidufang
With the increase in printing needs all over the world, manufacturers of Ink Cartridges are hard pressed to meet the ever-increasing demand. Consumer satisfaction ranks highest in the quest to fulfill company priorities. Buying printers is relatively cheap nowadays, but unfortunately, the Ecco Key West Mens same thing cannot be said about the CISS or cartridges that require to be replaced often.

cocogamer.com is one of most reliable sellers which engage in r4i gold and r4i sdhc , including all the most popular R4i and R4 3DS Cards at favorable price
China Ceramic Tile Manufacturer exporter and supplier with a factory in China, manufacture all kinds of Ceramic Tile, wall tiles, Floor Tiles!


The online store to buy replica Louis Vuitton bags, wallets and purse of top most designer

R4 Series,r4i Series,R4DS,R4i SDHC,R4i Gold,R4i Card for NDSi XL/NDSi/DSL/NDS - UseeGames.Com




feifei

Posts: 128
Registered: 9/5/11
Re: Lucene Jdbc Directory - Query finds only results of newest segment
Posted: Sep 13, 2011 3:25 AM   in response to: Richie in response to: Richie
 
  Click to reply to this thread Reply
BrandDream, Top designer apparel supplier, FREE SHIPPING(for orders of 10pcs to US, UK, CA and AU), louboutin shoes, Cheap Ralph Lauren polo shirts, Cheap Ed Hardy Wholesale, juicy couture tracksuits, Cheap Christian Louboutin Shoes, Discount Sheepskin Boots, Wholesale Abercrombie, Christian Audigier Clothing and Shopping
wholesale designer clothing, accept Credit Card and PayPal, Quality Guarantee, Good Discounts and Trusty Business.

Do you know the different between the replica and fake watch? In fact the replica watches is made from the similar material and parts with the orginal one,the more important it is legal, however the fake is illegal.

A wide range of high quality and excellent perfermance wholesale Jerseys, wholesale nike shox, Cheap Nike airmax Shoes wholesale and Cheap Nike airmax Shoes in our shop welcome your visit.wholesale Jerseys, wholesale nike shox, Cheap Nike airmax Shoes, Cheap Nike airmax Shoes wholesale.
cheap soccer jerseys,replica soccer jerseys are very high sales volume, and many people liked to buy it replica soccer jerseyscheap soccer jerseys.

We mainly deal with handbags, shoes, garment, promotions and gifts. wholesale designer handbags, Wholesale shoes from china, wholesale fashion accessories, wholesale designer sunglasses, wholesale products from china. For many years' experience, our companies has been always complying with the contract and attaching great importance to good faith.

feidufang

Newest styles and brands of hats & caps including baseball caps, new era cap, DC fitteds, fillipino flag hats and sports team caps.

Anviz Biometric manufactures a complete range of biometric products including Fingerprint Time Attendance , fingerprint access control, fingerprint lock, USB fingerprint reader, OEM fingerprint module Fingerprint Access Control etc.

We specialize in shower head andtowel rack of high quality and favorable price .The shower head that we provide has many advantages: 1. They quickly bring water; 2. The handles of environmental protection are in favour of our health;3.The color and style are wonderful. At the same time ,towel rack that we provide is durable and beautiful.We are sure that we will offer you satisfactory products and service

watches123456

Posts: 18
Registered: 8/6/11
Replica Watches UK
Posted: Sep 13, 2011 4:20 AM   in response to: Richie in response to: Richie
 
  Click to reply to this thread Reply
These replica bvlgari watches would be nice investments for you in long term. These replica bvlgari uk are brilliant and prove to be wonderful for you while it makes you stand out of the crowd. In this modern and fashionable society, people are pursuing for GHD hair straighteners australia cool, unique, stylish and innovative. Whether it is cheap GHD Straighteners or fashion accessories all means a lot for modern society of today. Same is the case with trendy looking GHD cheap. When these are buy ghd australia ghd hair, the excitement just gets doubled. Most chic looking ghd warehouse australia are in fashion now. These are one of the favorite fashion accessories for men and women long time ago. If you have not yet tried cheap hair straighteners, it's time to own one and feel the difference it can make to your personality. These are just brilliant and fabulous ghd hair straighteners australia. They are most iconic and can provide you with a new feeling and enhance confidence. The quality of ghd hair straightener in australia is just superior to what you have dreamt of. Today owning a new and trendy looking ghd in australia are not only meant for the wealthy people.In this modern and fashionable society, people are pursuing for replica watch cool, unique, stylish and innovative. Whether it is fake watches or fashion accessories all means a lot for modern society of today. Same is the case with trendy looking swiss replica watches. When these are replica bvlgari, the excitement just gets doubled. Most chic looking bvlgari replica are in fashion now. These are one of the favorite fashion accessories for men and women long time ago. If you have not yet tried replica chopard watches, it's time to own one and feel the difference it can make to your personality. These are just brilliant and fabulous chopard replica watches. They are most iconic and can provide you with a new feeling and enhance confidence. The quality of replica chopard is just superior to what you have dreamt of. Today owning a new and trendy looking chopard replica are not only meant for the wealthy people.In this modern and fashionable society, people are pursuing for replica watch cool, unique, stylish and innovative. Whether it is fake watches or fashion accessories all means a lot for modern society of today. Same is the case with trendy looking swiss replica watches. When these are replica bvlgari, the excitement just gets doubled. Most chic looking bvlgari replica are in fashion now. These are one of the favorite fashion accessories for men and women long time ago. If you have not yet tried replica chopard watches, it's time to own one and feel the difference it can make to your personality. These are just brilliant and fabulous chopard replica watches. They are most iconic and can provide you with a new feeling and enhance confidence. The quality of replica chopard is just superior to what you have dreamt of. Today owning a new and trendy looking chopard replica are not only meant for the wealthy people.
fdgdfgfgh

Posts: 41
Registered: 9/13/11
Re: Lucene Jdbc Directory - Query finds only results of newest segment
Posted: Sep 13, 2011 9:30 AM   in response to: Richie in response to: Richie
 
  Click to reply to this thread Reply
Thanks for coming our timberland online store! Just enjoy yourself here! As a developping company, timberland boots always can give us some surprise .I belive timberland shoes Sale can make your feet more comfortable, make your life more stylish!If you want to have a try ,just click here: discount timberland boots Free delivery

timberland boot

timberland shops

timberland 2011

discount timberland

wholesale timberland

timberland chaussures

timberland outlet

timberland womens shoes

waterproof timberland boots

timberland chukka boots

timberland 6 inch boots

timberland classic

timberland roll top boots

white timberland boots

timberland kids


Dear friends, do you want to have some different things? Whether you want to give your relatives and friends, take a few different exotic gifts? Whether you want to buy some cheap benefits of thing? accept paypal and free shipping So please, let us begin now! Click on our website accept paypal and free shipping
http://clothes6.us/
Wholesale shops
MLB jerseys MLB NBA
NIKE-BLAZER
JUICB IKINI JUIC )
Coach Handbags
ed hardy women shiris
WALLETS
Air jordan shoes
WOMEN JEANS(CA-Jeans,Ed Hardy Jeans,TRUE RELIGION Jean)
JEWERLY (Pandora cartier ed coach juicy lv tiffany)
SILK-SCAR(cartier ed coach juicy lv tiffany DG cucci burberry)
(BOSE-EARPHONE,IPOD-EARPHONE)
LADY PURSES(cartier ed coach juicy lv tiffany DG cucci burberry)

NFL JERSEYS
JORDAN SHOES
Christian Louboutin shoes
SUNGLASSES(coach okey nike juicy D&G prada)
men jackers
kid (air jordans nike shoes)

Bos Earphone

sdfasdf

Posts: 41
Registered: 9/16/11
Re: Lucene Jdbc Directory - Query finds only results of newest segment
Posted: Sep 16, 2011 8:10 PM   in response to: Richie in response to: Richie
 
  Click to reply to this thread Reply
ggf

フェラガモは、天才サルヴァトーレ・フェラガモという靴職人によって作られた高級ブランドです。世界的に有名で、フェラガモ公式サイト100年以上の歴史を誇るイタリア発のフェラガモファッションブランドです。最高のフェラガモ フラットシューズ作りに象徴される品質と熟練した職人技、そして創造的で革新的なデザインを兼ね備えています。フェラガモ靴からフェラガモバッグ、フェラガモ財布、フェラガモ時計まで、最先端製品ファッションブランドフェラガモのデザインや製造、流通を行う一流の企業フェラガモ店舗となっています。 フェラガモの一貫した「イタリア主義」イタリア企業であることに誇りをもち、フェラガモ素材、デザイン、染色、製造全てを完璧にイタリア製で統一していますフェラガモ。こうしたMade in Italyという徹底したコンセプトのもと、フェラガモ長年培われてきた職人技術をもって、フェラガモ最高のモノ作りに情熱を注いでいるのがフェラガモというブランドです。

xiaoyu

Posts: 3
Registered: 9/16/11
authentic jordan shoes
Posted: Sep 18, 2011 9:18 PM   in response to: Richie in response to: Richie
 
  Click to reply to this thread Reply
Custom Jordans. $54.99. Michael Jordan's passion has become the urban style of the century.jordan store Air Jordans have become the most popular basketball shoes second At Prime authentic jordan shoes we carry all colors and sizes in New Air Jordans cheap retro jordans 23Michael is professional store sells Michael Jordan Shoes cheap jordan retros wholesale authentic jordans; custom jordans Completely customizable jordan shoes from authenic jordans Have you ever ordered Wholesale Jordans only to never receive your shoes and never wholesale urban shoes authentic cheap jordans Choose your favorite jordan Keds shoe from thousands of available designs.
Custom nike jordan shoe Manufacturers, Custom nike jordan retro jordan 1 over 5000000 registered importers and exporters. exclusive jordan 3 We offer good quality Kids Jordan Shoes with the lowest price and fast delivery cheap jordan 9 100% authentic air jordan basketball shoes,free shipping! cheap jordan 11 We offer good quality Kids Jordan Shoes with the lowest price and fast delivery retro jordan 13 Buy custom zebra jordan shoes with free shipping space jam 11 for sale They say that you can tell everything about a person by the kind of shoes they wear. Authentic Jordan 3 Complete your ensemble with this enchanting cubic zirconia pendant. Cheap Jordan Retro 1 We are a professional shoes and sneaker Industrial Retro Jordan 9 sale buy cheap jordans online shopping. Authentic jordan 13
factoryoutlet

Posts: 523
Registered: 10/5/11
louis vuitton outlet
Posted: Oct 5, 2011 10:09 PM   in response to: Richie in response to: Richie
 
  Click to reply to this thread Reply

louis vuitton outlet leads you to bags collection of wide, such as LV bags and LV handbag etc. They are main name in luxury and style. It is excellent quality, fine Italian technology and extraordinary beauty.LV is universally renowned as a luxury brand. louis vuitton online store offers customers the newest fashion collections which can make you different.

In the past, Louis Vuitton only emphasis on classic, but in recent year, Louis Vuitton change its strategy and style to acquire new breakthrough. Especially louis vuitton bags like Louis Vuitton Vernis Wallet.Want to become more charming and faddish? Go to visit louis vuitton outlet webpage and select the most suitable products for yourself.

Want to become more charming and faddish? Go to visit louis vuitton outlet webpage and select the most suitable products for yourself.louis vuitton outlet online may often be the consideration alternative inside of your event to get these kinds of bags.Is without a doubt louis vuitton online seriously is present? Is it possible to offer an outlet designed for Louis Vuitton merchandise speaks out?

The choices are likely to be basically countless seeing that louis vuitton outlet occurs with the help of completely new and also incredible concepts once in a while.Mainly because mentioned before, you could buy in the louis vuitton online, via the producer's the web outlet. Owning worn it in past times. They can supply a appropriate evaluate for the property's simplicity as well as client service description.louis vuitton outlet online is the method to show the confidence of our handbags. The person who show himself in front of other people is a confident one.

LV bags in the louis vuitton outlet are a feminine update on an urban classic. With plenty of room for all of your essentials this covetable carryall will take you through the weekend in style.LV is universally renowned as a luxury brand. louis vuitton online store offers customers the newest fashion collections which can make you different.

This collection focus more on color selection compared with other LV handbags. Cute and sunshine design style increases its charm. louis vuitton outlet online provides you the very famous luxury worldwide brand.We are glad you come to join in our louis vuitton outlet online store, because the winter is upcoming now, Louis Vuitton released many new handbags to feedback our customers.Just come to visit once the louis vuitton online, you will fall in love with its fancy bags, purses, sunglasses, shoes and so on.

factoryoutlet

Posts: 523
Registered: 10/5/11
coach factory outlet
Posted: Oct 5, 2011 10:22 PM   in response to: Richie in response to: Richie
 
  Click to reply to this thread Reply

coach factory outlet offer excellent, elegant coach products in order to generate room for your new collections.They're purchased more quickly that you may at any time imagine.coach factory store is the greatest destination to buy what type of bags you like. If you need to manage a new Coach carrier and most preferable strategy is to the coach regarding coupon codes.Here's your new way to look sophisticated styles. Carry the hot coach factory outlet store of this summer and be the true trendsetter!in the market you definitely can find various colorways that are designed in as well as the high quality that applied in. For most of you would like to come. So just come to our coach factory outlet online store to choose one.

coach factory outlet is really sizzling kinds of shopping way for you. With the usage of the replica designer coach bags, you can surely be able to change your individual looks in a stunning manner.You know, Coach items are so perfect and fascinating. Now I grow up, and find coach outlet on the Internet offering affordable products with reliable quality.Many fashionable women match with practical Coach Purses which will make the street shopping become relaxed,and make every person can enjoy more diversiform combination in coach factory outlet online.The coach factory outlet store 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.

Almost everyone has identified effectively about this, below, among the best to make sure you will get much more information about coach outlet.In the coach outlet online shop, a collection of high quality and hottest Coach Shoulder Bags is offered to you. They are all at the best prices you will ever find.

You know, Coach items are so perfect and fascinating. Now I grow up, and find coach outlet on the Internet offering affordable products with reliable quality.Once visit, you will be unable to restrain loving it. Warmly welcome all of you to the Summer Sales Promotion on coach factory outlet.coach factory outlet has new coach laptop bags in listing. No matter which style do you want, we can provide it for you.Coach bags enjoy high popularity throughout the world. I would like to share the coach factory outlet online with you. What are you waiting for? Just come to visit.

coach factory outlet supplies the newest and most fashionable brand Coach on sale.The more Coach shoulder bags you order, the more discount you will get.It's wonderful to find out it does not slip in your signature at the bottom of the case and the appearance of brass accents from coach outlet online, Because women who can look stylish this summer.coach outlet has a zippered closure and buckles for extra security. Shiny brass hardware, rounded leather handle, and an interior pocket. It also includes a limited edition Hawaii luggage tag and lock.You can find all kinds of coach bags whatever you chose which one in coach factory outlet online will never be out of fashion. Not only they have many nice and design styles, but also made from the finest leather and fabric.

With the great diversity of styles, patterns and sizes available nowadays, finding the right pieces to highlight your personality is quite important. coach outlet offers exactly what you want.coach factory outlet supplies the newest and most fashionable brand Coach on sale.The more Coach shoulder bags you order, the more discount you will get.Look at this golden Coach bag in the? coach factory outlet online.Those new bags with classic and fashionable design are more and more popular now!After graduating from university, my cousin came back to my hometown from USA last month. She told me that coach outlet store is very popular among her classmate.

coach outlet online own a couple of line, color, or the selected theme, it should be a good choice. It may be the place where offer the bag ladies handbag, you will be able to follow a course of education or training receives for the slim project chest strap wallet.coach outlet will send you a coupon in the post to use in their upon only after you type a achieve. The Coach bags are customarily somewhat many than the ones in the stores.In particular, products from coach factory outlet with leather design are fashionable, handmade,leading the wave of American pop.It with simple,durable and unique style to win consumers.coach factory not only supply with the highest quality crystal at reasonable price but also provide good after-sales service. Companies operating purposes: science and technology in order to survive, credibility and development, strict quality control.

coach outlet handbags's special design and fashion is certainly and so eye-catching, I hope you are able to get much more attention towards the Cheap Coach Crossbody.As long as you open our coach factory outlet webpage, you will view various Coach New Arrivals which are the most popular also the most fashionable in this year.Are you anxious to choose some of the brand bags? Are you searching for reliable sellers? When you come to the coach factory outlet online, these are not problems.

At the coach outlet online you have the largest selection of the day. If you touch the item and like it, keep it in your possession until you make your final decision.Over the years, coach factory online has added a multitude of new handbag shapes, styles and materials to their collection. However, the highest care is taken that every Coach handbags is both aesthetically beautiful and functional.Are you searching for a cool and stylish coach bag? The coach factory outlet online Online is your first priority.

pylxwzhj

Posts: 719
Registered: 10/15/11
Re: Lucene Jdbc Directory - Query finds only results of newest segment
Posted: Oct 16, 2011 3:26 AM   in response to: Richie in response to: Richie
 
  Click to reply to this thread Reply
All of

LV Bags

the proposed

Louis Vuitton Handbags

sanctions carry

Coach Outlet Store

with them

Chanel Purses

considerable political

Coach Factory Store

and economic

Coach Factory Outlet

risks. While

Chanel Bag

Yukiya Amano, the

Coach Factory Outlet

cautious director general

Chanel Purses

of the atomic

Coach Factory Store

energy agency

Coach Factory

, talked publicly

Chanel Bags

in September

Chanel Handbags

about publishing

Moncler Jackets

some of the

Louis Vuitton Handbags

most delicate

Coach Outlet

data suggesting

Chanel Bags

Iran worked on

Moncler Shop

nuclear triggers

Coach Outlet Online

and warheads, officials who have spoken with him say he is concerned that his inspectors could be ejected from Iran, shutting

Moncler Shop Online

the best, though narrow, window into its nuclear activities.Similarly, China and Russia, among other major Iranian trading partners, have resisted further oil and financial sanctions, saying the goal of isolating Iran is a poor strategy.
azsxa

Posts: 158
Registered: 9/27/11
Re: Lucene Jdbc Directory - Query finds only results of newest segment
Posted: Nov 2, 2011 2:50 AM   in response to: Richie in response to: Richie
 
  Click to reply to this thread Reply
Dear customers, welcome to our ugg bailey button boots Sale online store!Here you can find different kinds of ugg boots clearance in various styles and colors. All our shoes ugg clearance are in high quality at reasonable prices compared with other online stores. As a professional sale outlet, we have established good reputation in this business line. In addition, fine workmanship and exquisite material is guaranteed in our store. therefore,uggs clearance as the most common fall and winter fashion accessories, not only warmth fills the air, but can also dress up your charm plus.We will also bear the loss of goods in the free shipping. Our aim is to offer the best service and convenience for our customers. we have various payment methods.There is no denying that ugg kensington on sale will bring you unique modern style.
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