Lucene and TREC

2015-04-29 Thread Ralf Bierig
Hi all, I am using Lucene and would like to interface to the TREC_EVAL tool so that, by generating my search results in the TREC_EVAL format. I can use the tool to calculate evaluation measures. I came across the lucene-benchmark package (http://maven-repository.com/artifact/org.apache.lucen

AW: Luke for Lucene 5.x?

2015-04-29 Thread Clemens Wyss DEV
Thx again. I'll try NLP4L anyway ;) -Ursprüngliche Nachricht- Von: Tomoko Uchida [mailto:tomoko.uchida.1...@gmail.com] Gesendet: Montag, 27. April 2015 11:13 An: java-user@lucene.apache.org Betreff: Re: Luke for Lucene 5.x? Hi, Currently Luke is not the part of Lucene, you should check

custom collector

2015-04-29 Thread Robust Links
Hi I need help porting my lucene code from 4 to 5. In particular, I need to customize a collector (to collect all doc Ids in the index - which can be >30MM docs..). Below is how I achieved this in lucene 4. Is there some guidelines how to do this in lucene 5, specially on semantics changes of Atom

Re: custom collector

2015-04-29 Thread Erick Erickson
Hmmm, it's not clear to me whether you're using Solr or not, but if you are have you considered using the export functionality? This is already built to stream large result sets back to the client. And lately (5.1), you can combine that with "streaming aggregation" to do some pretty cool stuff. No

Re: custom collector

2015-04-29 Thread Robust Links
Hi Erick The index I am searching is lucene. I am trying to perform some operations over ALL the documents in that index. I can rebuild the index as a solr index and then use the export functionality. Up to now I've been using the lucene index searcher with custom collector. Would the below code b

Lucene Field Boost

2015-04-29 Thread Muhammad Ismail
Hi I have simple index with 2 fields i.e. title and body. When i perform a simple search query like bring document which have particular text like lazy or dog or brown in either title or body but I want matches in title get boost over body reault. Also document which have all matches must be on to

Re: custom collector

2015-04-29 Thread west suhanic
Hi Robust Links: I think you want to build a class that implements the LeafCollector. For example: public class theLeafCollectorDocid implements LeafCollector { theLeafCollectorDocid( final LeafReaderContext context ) { } collect( int doc ) { } } Onc