Re: ParallelReader fails on Deletion

2006-08-27 Thread neils
both cases. > > If that leads nowhere, I'd make sure I had a copy of Luke so I could > reassure myself that the document was actually in both cases. > > After that, I'd think about posting a fragment of both your deletion code > and test case ... > > Best >

ParallelReader fails on Deletion

2006-08-27 Thread neils
Hi, I'm using a parallelreader to hold on two indicies. There have to be updated everyday. When I'm performing a deletion e.g. parallelreader.delete(New Term("ID","100)), the documents are still there. When i do the some with normal indexreader e.g. indexreader.delete(New Term("ID","100)) it wo

Incemental Updating

2006-08-25 Thread neils
Hi, i have two applications on an windows machine. One is the searchengine where the index is can be searched. The second application runs one time on a day which updates (deletions/adding) the index. My question: The index is already opened (Indexreader) by the frist application. Is there a pro

Re: Sorting

2006-07-29 Thread neils
Hi Chris, thanks a lot for your reply. Currently I'm using a parallelreader, cause one part of index is in the memory and one part is on disk. It seems like parallelreader has a problem with sorting. So i have three questions: 1. Is there a know bug in the parallelreader? 2. Is it true, that onl

Re: Sorting

2006-07-29 Thread neils
Hi, thanks a lot for you helpfull answers :-)) I think I will try i like karl suggest, cause i have to update the index every day :-)) Thanks a lot :-)) -- View this message in context: http://www.nabble.com/Sorting-tf2019404.html#a5558212 Sent from the Lucene - Java Users forum at Nabble.com.

Re: SpellChecker

2006-07-29 Thread neils
Hi Mark, thanks a lot for the link. I already found this but i can not use the libarys import org.apache.lucene.search.spell.Dictionary; import org.apache.lucene.search.spell.LuceneDictionary; import org.apache.lucene.search.spell.SpellChecker; cause is seems like there are not included in Luce

SpellChecker

2006-07-29 Thread neils
Hi, i had seen that a suggestion-tool (like google: Did you mean xyz?) can be implemented with a addon for lucene which is called SpellingChecker. Is this correct or is there another (better) solution and where can this addon be downloaded (cause i do not find a working download link). Thanks

Sorting

2006-07-29 Thread neils
Hi, Lucene sort hits by relevance as default. Cause i would like to sort them by a special string field and not by relevance i was thinking about dropping the sorting by relevance as default and implement sorting by alphabetic order. Reason that sorting by alpabetic order takes a lot of time. Ma

Re: Sorting with Parallelreader fails

2006-07-25 Thread neils
Hi Steve, thanks a lot for your help. I think problem will be that no single terms are stored in that field. So i will take a look and make some furhter tests. Regarding your advice to the "java-user" list, i think it is no problem to send a short vb code to describe the problem. This group is (

Sorting with Parallelreader fails

2006-07-25 Thread neils
Hi, i have 3 indexfiles which i access over a parallelreader. When i make a search, everything works fine, butwhen i want to make a search and sorting by a special column i get an error. Here is my code: Schnipp Dim field As SortField = New SortField("Streetname") Dim sortByName As

Re: Part of Index (spezial Field) into Memory

2006-07-19 Thread neils
g + ".) " + doc.Get("Nachname").ToString + ", " + doc.Get("Postleitzahl").ToString + " " + doc.Get("Postort").ToString + ", " + doc.Get("Vorwahl").ToString + "-" + doc.Get("Rufnummer").ToString + vbNewLine

Re: Part of Index (spezial Field) into Memory

2006-07-18 Thread neils
Damn, of course - sorry & thanks :-)) I will try this tomorrow :-) -- View this message in context: http://www.nabble.com/Part-of-Index-%28spezial-Field%29-into-Memory-tf1955582.html#a5381183 Sent from the Lucene - Java Users forum at Nabble.com. -

Re: Part of Index (spezial Field) into Memory

2006-07-18 Thread neils
but not the name. Somethink i'm doing wrong ... can you help ? Thanks, Neils -- View this message in context: http://www.nabble.com/Part-of-Index-%28spezial-Field%29-into-Memory-tf1955582.html#a5378752 Sent from the Lucene - Java Users forum at Nabbl

Re: Part of Index (spezial Field) into Memory

2006-07-17 Thread neils
a, ok i understand. So when i loop thru my Databasetable i write two indicies the same time. One for the name index, one for the other field in table. in that way i add documents to the same time in both indicies and so they have to some documentidentifiert right ? Thanks a lot :-)) --

Re: Part of Index (spezial Field) into Memory

2006-07-17 Thread neils
documents which results of both indices? Do i have to specifie somewhere that the "ID"field is the relation??? Thanks, Neils :-)) -- View this message in context: http://www.nabble.com/Part-of-Index-%28spezial-Field%29-into-Memory-tf1955582.html#a5365216 Sent from the Lucene - Java User

Re: Part of Index (spezial Field) into Memory

2006-07-17 Thread neils
), Street (on Disk), Phonenumber (on Disk). When now somebody search for name "kos" in the street "teststreet" can you use parallelreader for this and how ? Thank you very much! Neils -- View this message in context: http://www.nabble.com/Part-of-Index-%28spezial-Field%29-i

Part of Index (spezial Field) into Memory

2006-07-17 Thread neils
Hi, i have a bigger index with around 10 GB. The most used field is the "Name"-Field. So is there way to put a part of the index (maybe a special field) into memory and the rest on disk ? Thanks, Neils -- View this message in context: http://www.nabble.com/Part-of-Index-%28spezia