RE: Wildcard search - Why can't I search for *term?

2002-04-04 Thread Dave Kor
In a way, *term searches are supported - just iterate through every term in TermEnum. Unfortunately, this is a linear O(n) algorithm so it does become very slow as the number of terms in the index increases. If your index is small (eg, < 1GB), I find the search time still pretty acceptable. Other

Wildcard search - Why can't I search for *term?

2002-04-04 Thread Sheldon Shi
As I understand it Lucene does not support wildcard search terms in the form of *term. But in my project I need to search for terms by their tails. Does anyone have a work around? Thanks. Sheldon -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: Objects as search results

2002-04-04 Thread Halácsy Péter
I also faced this problem in my project. I store two classes/types of objects in the index: topics and messages (it's a forum search engine). My very simple object/relation mapping is a class is called LuceneBridge: public class LuceneBridge { // Object --> Document mapping public Docume

Re: Querying multiple fields of a index

2002-04-04 Thread Otis Gospodnetic
You can use MultipleFieldQueryParser class, included with Lucene. Otis --- Harpreet S Walia <[EMAIL PROTECTED]> wrote: > Hi, > > Is it possible to query multiple fields of a given index and get the > result > based on this combined query. > i.e for example if i want to serach for a word "luce

Document Scoring

2002-04-04 Thread Melissa Mifsud
Hi, I've been going throught the source code, attempting to find the exact point in time where the score for each document is calculated and the methods that do this. I've ended up very confused! Methods such as IndexReader.docFreq(Tem t) which are then used by Query.scorer(...) are declared a

Re: (ZipDirectory) RE: storing index in third party database.

2002-04-04 Thread Peter Carlson
I have just been doing tests. I still haven't comepleted it. Also, this was for the data, not the index. If you're still interested, I'll send the code when I complete it. --Peter On 4/4/02 2:31 AM, "Karl Øie" <[EMAIL PROTECTED]> wrote: > could you put up the source? i would really appreciate

Re: Querying multiple fields of a index

2002-04-04 Thread Peter Carlson
Hi, If you are using the queryParser and the standardAnalyzer you would use a querystring like title:lucene AND summary:engine So the pattern is : Also, you don't have to explicitly put the field name if you are searching the default field. That is if title is the default field the search w

RE: storing index in third party database.

2002-04-04 Thread apache
> From: Karl Øie [mailto:[EMAIL PROTECTED]] > > is it possible to "intercept" lucene's work at the > key-handling point? or > would this require a larger rewrite? Not only would it be a large re-write, but I think it would make indexing slower. I have implemented full-text indexes a B-tree, a

RE: Querying multiple fields of a index

2002-04-04 Thread Aruna Raghavan
Hi, I use a boolean query and add individual queries to it. -Original Message- From: Harpreet S Walia [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 04, 2002 10:13 AM To: Lucene Users List Subject: Querying multiple fields of a index Hi, Is it possible to query multiple fields of a

Re: (ZipDirectory) RE: storing index in third party database.

2002-04-04 Thread Karl Øie
could you put up the source? i would really appreciate it. mvh karl øie On Wednesday 03 April 2002 21:27, you wrote: > I am doing some testing on managing the underlying data in a zip archive > and found that there is about a 15ms hit to use a zip vs. grabbing directly > from file system. > > Th

[Repost] FNFE while indexing

2002-04-04 Thread Kelvin Tan
This is a repost of a message I posted a month ago. Hope someone can pick it up and shed some light on the mystery. Encountering an odd FNFE during indexing... 2002-03-07 14:38:56,160 [Thread-2] ERROR com.marketingbright.core.tasks.SearchIndexingTask - C:\index\_l.fnm (The system cannot find the