lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From neils <ne...@gmx.net>
Subject Sorting with Parallelreader fails
Date Tue, 25 Jul 2006 18:09:57 GMT

Hi,
 
i have 3 indexfiles which i access over a parallelreader.
 
When i make a search, everything works fine, but....when 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 Sort = New Sort(Field)

Dim queri As Query = QueryParser.Parse(q, "Streetname", New
StandardAnalyzer)

hits = searcher.Search(queri, sortByName)

...Schnapp

Is there something wrong or is there a bug in parallelreader... ?

Thanks very much for you help :-))


-- 
View this message in context: http://www.nabble.com/Sorting-with-Parallelreader-fails-tf1999747.html#a5490455
Sent from the Lucene - Java Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message