Search Struts

2005-11-22 Thread krg9263
Does anyone have any use cases for Lucene in a Struts based application. for instance. My current implementation (which I just got working an hour ago) returns results but lists the associated JSP page. My app uses Struts Tiles and Struts Actions so linking to an individual JSP will not achieve

Re: Lotka's law and Lucene

2005-11-22 Thread Yonik Seeley
And of course Doug still does a lot of work on Lucene, but often leaves the commit to someone else. On 11/22/05, Daniel Naber <[EMAIL PROTECTED]> wrote: > On Dienstag 22 November 2005 19:33, aurora wrote: > > > (http://www.javarants.com/B1823453972/C1460559707/E20051119163857/index. > >html). Luce

Re: Lotka's law and Lucene

2005-11-22 Thread Daniel Naber
On Dienstag 22 November 2005 19:33, aurora wrote: > (http://www.javarants.com/B1823453972/C1460559707/E20051119163857/index. >html).   Lucene is used as an example in the analysis. Let's give dnaber > an applause as he tops the productivity chart. Ah, finally all the hard work converting one kind

Re: Lucene and Web Context

2005-11-22 Thread John Powers
session.getServletContext().getRealPath("/") + "data/lucene" On 11/22/05 12:49 PM, "krg9263" <[EMAIL PROTECTED]> wrote: > I am very new to Lucene. > Does anyone have an example of a Lucene IndexWriter whose path is relative > to a context path? All of the examples I have seen place it outside

Lucene and Web Context

2005-11-22 Thread krg9263
I am very new to Lucene. Does anyone have an example of a Lucene IndexWriter whose path is relative to a context path? All of the examples I have seen place it outside the web container and relative to the system path. I need something within a web container because I do not have access outside

Re: Inconsistent StandardTokenizer behaviour

2005-11-22 Thread yahootintin . 11533894
Cool, I'll take a look at fixing this. --- java-user@lucene.apache.org wrote: > On 21 Nov 2005, at 19:39, [EMAIL PROTECTED] wrote: > > This is the results for the StandardTokenizer: > >input - output token - > > output type > > 1. 1.2 - 1.2 - > > 2. 1.2. - 1.2 - > > >

Lotka's law and Lucene

2005-11-22 Thread aurora
20% of contributors does 80% of work. That's how Lotka describes the productivity of scientific authors back in 1926. An analysis on open source software development show this is equally applicable (http://www.javarants.com/B1823453972/C1460559707/E20051119163857/index.html). Lucene is used

Re: Custom sort/basic question

2005-11-22 Thread Erik Hatcher
On 22 Nov 2005, at 11:29, Gus Kormeier wrote: Hey John, My understanding is that if you add a field with the same name as a previous field added, you will be overwriting the value stored in the document. So if you add: doc.add(Field.Text("sequence", "1")); doc.add(Field.Text("sequence",

RE: Custom sort/basic question

2005-11-22 Thread Gus Kormeier
Hey John, My understanding is that if you add a field with the same name as a previous field added, you will be overwriting the value stored in the document. So if you add: doc.add(Field.Text("sequence", "1")); doc.add(Field.Text("sequence", "2")); doc.add(Field.Text("sequence", "3")); Af

Re: Case Study

2005-11-22 Thread John Powers
You have a case study using lucene? I would be interested in look at it if you don't mind. I am putting lucene into an application for my company currently. Thank You. --jN On 11/22/05 10:18 AM, "Supreet Sethi" <[EMAIL PROTECTED]> wrote: > Its sort of case study. Including successes and fail

Re: RE how to change scoring tactics?

2005-11-22 Thread Arjen van der Weijden
Thanks, I'll have a look at it! |-+> | | "Bertrand VENZAL"| | | | | || | | 11/22/2005 04:07 | | | PM | | | Please

Case Study

2005-11-22 Thread Supreet Sethi
Its sort of case study. Including successes and failures in using lucene as FTS for out purpose. 1) lucene is populated with data using MySQL db. 2) The data consists of about a 1,00,000 records. Which comes out to 90 MB of data 3) Most searches in out case tends to be multi-field. 4) Queries ten

RE how to change scoring tactics?

2005-11-22 Thread Bertrand VENZAL
Hi, I had the same problem, I think the easiest is to sort documents after the search process, in this aim you can use the class TermFreqVector and the function getTermFrequencies to count the number of search phrase. But maybe there is an other way faster. Hope this help Bertrand Arjen v

Re: Throughput doesn't increase when using more concurrent threads

2005-11-22 Thread Oren Shir
Hi, There are two sunchronization points: on the stream and on the reader. Using different FSDirectoriy and IndexReaders should solve this. I'll let you know once I code it. Right now I'm checking if making my Documents store less data will move the bottleneck to some other place. Thanks again, O

how to change scoring tactics?

2005-11-22 Thread Arjen van der Weijden
According to the specs. "the scores are normalized by the length of the field". For my application I just need documents to move to the top that have the highest number of the search-phrase, i.e. scoring without normalization. How do I do this? cheers, Arjen __

Re: Spans, appended fields, and term positions

2005-11-22 Thread Erik Hatcher
On 22 Nov 2005, at 03:18, Paul Elschot wrote: You just about have me convinced :) For some reason adding a method to Analyzer seems much heavier to me - not quite sure why, just a gut feeling. In case this position increment gap is needed both at indexing time and at query/highlighting tim

Re: Spans, appended fields, and term positions

2005-11-22 Thread Paul Elschot
On Monday 21 November 2005 22:20, Erik Hatcher wrote: > > On 21 Nov 2005, at 16:09, Yonik Seeley wrote: > >> The Analyzer extensions seem fine, but much more general purpose > >> than my need. > > > > For your need (a global increment), isn't expanding analyzer > > actually easier? > > analyse