HI,
thnx for reply
field ,documents ,sort and sort field all are lucene classes
and after getting the results at the time of displaying am using sort class
to sort the reults based on particular field
the code for sorting
Query query = parser.parse(queryString);
Sort sort = new Sort(new SortField(field));
Hits hits = searcher.search(query,sort);
Grant Ingersoll-6 wrote:
>
> What's in "field"? What are your docs? More info is needed to help...
>
> -Grant
> On Mar 13, 2008, at 6:50 AM, sandyg wrote:
>
>>
>> Hi,
>>
>> Thnxs for spending time for the problem.
>>
>> When sorting the results of lucene search it takes more time and not
>> looks
>> not that much usefull can any one help
>> Below is my code..
>>
>> sort = new Sort(new SortField(field));
>> hits = searcher.search(query,sort);
>>
>> Once again thnx
>> --
>> View this message in context:
>> http://www.nabble.com/sorting-a-doc-field-takes-more-time-tp16024551p16024551.html
>> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>
> --------------------------
> Grant Ingersoll
> http://www.lucenebootcamp.com
> Next Training: April 7, 2008 at ApacheCon Europe in Amsterdam
>
> Lucene Helpful Hints:
> http://wiki.apache.org/lucene-java/BasicsOfPerformance
> http://wiki.apache.org/lucene-java/LuceneFAQ
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/sorting-a-doc-field-takes-more-time-tp16024551p16064453.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]