lucene hits vs topdocs

2011-11-20 Thread Gwyn Carwardine
Hi I last used dotLucene 143 and now I'm wanting to upgrade to 294. What I've discovered is that there are quite a few changes.. One of them is in respect of Search. Previously one supplied a query and received a number of hits. I didn't have an issue with preservation of state so was quite happ

RE: Redistribution Licensing

2006-05-11 Thread Gwyn Carwardine
ik On May 11, 2006, at 7:19 AM, Gwyn Carwardine wrote: > Hi all, We're using dotLucene (vanilla) in our commercial product > and we're > redistributing dotLucene with our product. > > What do we need to do in terms of licensing - what notices do we > need to &g

Redistribution Licensing

2006-05-11 Thread Gwyn Carwardine
Hi all, We're using dotLucene (vanilla) in our commercial product and we're redistributing dotLucene with our product. What do we need to do in terms of licensing - what notices do we need to include and where? Any help much appreciated Regards, Gwyn

RE: Build vs. Buy?

2006-02-09 Thread Gwyn Carwardine
Have you considered running the .net version (dotLucene)? The converters for Office and PDF are freely available and there is a cheap commercial IFilter available for wordperfect files (and many others). -Gwyn -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 09

RE: Inappropriate content detection

2006-02-06 Thread Gwyn Carwardine
The good bit about Bayesian is that it continuously learns. The downside is that you have to teach it. Not quite as simple as a list of rude words. There's an open source Bayesian mail filter called spambayes (http://spambayes.sourceforge.net) which may lead you to interesting places. -Gwyn -

Indexing and searching and item with attachments

2006-02-01 Thread Gwyn Carwardine
I want to be able to store items and attachments such that they are treated as a single document. On the other hand I want to be able to store them separately; there is not point in reindexing an attachment if I've simply changed the description. Here's an example: A system used to track job can

RE: Searching over more than one Fields

2006-01-30 Thread Gwyn Carwardine
I was happy to take the hit of storing the text twice. I have created an aggregate field called "CONTENTS" that has all the other fields concatenated together. I also created a list of the other fields (because they can vary from doc to doc) in another field "FIELDLIST" I search this field and fo

RE: Highlighter

2006-01-25 Thread Gwyn Carwardine
>> Yes I think you're right. On reading the "lucene in action" chapted on >> highlighting I found it squirreled in the middle of the text. I get >> the >> feeling that whilst I have so far found query parser to be the primary >> method of building queries that this is not ht eprimary method used

RE: Highlighter

2006-01-24 Thread Gwyn Carwardine
lighter. hope this helps, Koji > -Original Message- > From: Gwyn Carwardine [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 25, 2006 6:28 AM > To: java-user@lucene.apache.org > Subject: Highlighter > > > I'm using the .net port of highlighter (1.5) and I

Highlighter

2006-01-24 Thread Gwyn Carwardine
I'm using the .net port of highlighter (1.5) and I notice it doesn't highlight range or prefix queries.. Is this consistent with the java version? Only I note my standard reference of www.lucenebook.com seems to support highlighting.. is this using that same highlighter version (couldn't find any v

RE: Range queries

2006-01-24 Thread Gwyn Carwardine
>> 2. How do I search for negative numbers in a range. For example >> field:[-3 TO >> 2] ? >> >> I don't mind hacking code such that my numbers are indexed as >> +0001 and >> -0001 and then I can override the query parser to change my >> query to >> [-003 TO +002]. However.. "

RE: Handling of colons in QueryParserTokenManager

2006-01-23 Thread Gwyn Carwardine
eers, Gwyn -Original Message- From: Otis Gospodnetic [mailto:[EMAIL PROTECTED] Sent: 23 January 2006 01:54 To: Cc: Gwyn Carwardine Subject: Re: Handling of colons in QueryParserTokenManager Gwyn - this is a question for java-user@ list, I'm answering there. Perhaps you can write y

RE: Selecting the maxium/highest numerical value from a lucene Index)

2006-01-23 Thread Gwyn Carwardine
I'm only a novice at these things but if I had to do that right now? I'd add a document that represents that primary key with a value representing the next available number and everytime I go to do some additions I'd get it, use the value and then delete and re-add that document with the revised ne

Range queries

2006-01-23 Thread Gwyn Carwardine
Two queries about ranges: 1. field:[a TO z] does not return the same as field:[z TO a] I think it should. The standard QueryParser or even the range query should ascertain the lowest and highest and switch them around if necessary 2. How do I search for negative numbers in a range. For example