Re: How do we reverse sort on the docid ?

2011-05-16 Thread shrinath.m
No problems... I was trying to get the results to be reverse ordered, but I had a small problem in my searcher to work... Now all works... Thanks :) On Mon, May 16, 2011 at 11:20 PM, Alexander Aristov [via Lucene] < ml-node+2949011-1603567638-376...@n3.nabble.com> wrote: > indeed. What's the prob

Re: How do we reverse sort on the docid ?

2011-05-16 Thread Alexander Aristov
indeed. What's the problem? Best Regards Alexander Aristov On 16 May 2011 16:43, Uwe Schindler wrote: > The problem we have is that you dont really say what your problem is! Whats > wrong with the search results you get? Give an example of the query you > execute and the documents you have. >

RE: How do we reverse sort on the docid ?

2011-05-16 Thread Uwe Schindler
The problem we have is that you dont really say what your problem is! Whats wrong with the search results you get? Give an example of the query you execute and the documents you have. - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -O

What is the relation between n-grams/edge n-grams with prefix query ?

2011-05-16 Thread shrinath.m
I was under an assumption that edge n-grams speed up the prefix queries, but now it seems that it is not so... Am I right in thinking so ? Are there any relation between n-grams and prefix queries ? -- View this message in context: http://lucene.472066.n3.nabble.com/What-is-the-relation-betwee

Re: How do we reverse sort on the docid ?

2011-05-16 Thread shrinath.m
Erick Erickson wrote: > > At any rate, I think all you need to do is specify > the reverse boolean in the SortField c'tor??? > > Best > Erick > > The "true" in `Sort srt = new Sort(new SortField(null,SortField.DOC,true)); ` actually is the reverse boolean sort field. So it is turned on, but

Re: [ANNOUNCE] Web Crawler

2011-05-16 Thread abhayd
hi Julien , I m not sure what do u mean by "SOLR is now used by default for indexing in Nutch." Does that mean SOLR has integrated Nutch for crawling web resources? I checked SOLR wiki but i didnt see something like that, Could u please provide some details ? -- View this message in context:

Re: How do we reverse sort on the docid ?

2011-05-16 Thread Erick Erickson
Ahhh, I probably should have read more carefully! At any rate, I think all you need to do is specify the reverse boolean in the SortField c'tor??? Best Erick On Mon, May 16, 2011 at 8:12 AM, shrinath.m wrote: > > Erick Erickson wrote: >> >> Why do you want to do this? the internal doc ids are >

Re: How do we reverse sort on the docid ?

2011-05-16 Thread shrinath.m
Erick Erickson wrote: > > Why do you want to do this? the internal doc ids are > transient. If you update a document by delete/add, the > internal id will now be different. What I'm getting at is > that I'd like to be sure the use case here does what > you think it will because this smells like a

Re: How do we reverse sort on the docid ?

2011-05-16 Thread Erick Erickson
Why do you want to do this? the internal doc ids are transient. If you update a document by delete/add, the internal id will now be different. What I'm getting at is that I'd like to be sure the use case here does what you think it will because this smells like an XY problem, see: http://people.apa

Re: Lucene 3.3 in Eclipse

2011-05-16 Thread Erick Erickson
bq: Just curious. How would this version be published if there are missing jar and there are compiling errors? Well, the fact that it has been published probably means that you've missed a step somewhere. There'd have been howls of outrage if something as egregious as this were the case That

How do we reverse sort on the docid ?

2011-05-16 Thread shrinath.m
What I want: docids that matched the search string are : 5 4 3 2 1 What I am getting : docids that matched the search string are : 999 998 997 996 995 I am lucene sort object, and it is constructed like this : Sort srt = new Sort(new SortField(null,SortField.DOC,true)); How do I get wh

Re: [ANNOUNCE] Web Crawler

2011-05-16 Thread Julien Nioche
> I dont see any activities on Nutch wiki so wondering if its not being > developed anymore. But most forums say Nutch is standard for solr. > Looking at the mail archives is a good clue of whether a project is still alive or not. In the case of Nutch, the project is active as you can see on the l

RE: Lucene 3.3 in Eclipse

2011-05-16 Thread cheng
Just curious. How would this version be published if there are missing jar and there are compiling errors? -Original Message- From: Steven A Rowe [mailto:sar...@syr.edu] Sent: Sunday, May 15, 2011 11:15 PM To: java-user@lucene.apache.org Subject: RE: Lucene 3.3 in Eclipse (Resending to

RE: Lucene 3.3 in Eclipse

2011-05-16 Thread cheng
Steve, the two links are really helpful. I still have a few questions: 1) The import statement, import org.apache.lucene.queryParser.standard.parser.StandardSyntaxParser, doesn't work because the StandardSyntaxParser.java is not available. Do you know where to download it? 2) The CharStream cl