Re: [Fwd: PROPOSAL: Lucene external content store for stored fields]

2004-06-15 Thread Steven Rowe
Kevin, I think that this sort of thing should be built on top of the functionality provided by the binary fields proposal, or at least made to work with it: http://issues.apache.org/bugzilla/show_bug.cgi?id=29370> This would take care of the blob-vs.-text aspect of your proposal. Also: Kevin Bur

Re: How to use PhraseQuery Class?

2004-06-15 Thread Thimal Jayasooriya
Since Erik didn't mention this article that he wrote, I'll chip in with it ... *grin* http://today.java.net/pub/a/today/2003/11/07/QueryParserRules.html Doesn't have a direct example of PhraseQuery, but it was useful reading to get started (for me, anyway). Regards, Thimal Erik Hatcher wrote: O

Re: How to use PhraseQuery Class?

2004-06-15 Thread Erik Hatcher
On Jun 15, 2004, at 11:21 AM, Daniel de Souza Teixeira wrote: Hi! I need some information about PhraseQuery Class. How to use this class ? Are you using QueryParser to create the query? If so, have a look at the query parser syntax page in the docs (or the Lucene website) - basically just surrou

[Fwd: PROPOSAL: Lucene external content store for stored fields]

2004-06-15 Thread Kevin Burton
Sent from the wrong email account and bounced :-/ Original Message Subject:PROPOSAL: Lucene external content store for stored fields Date: Mon, 14 Jun 2004 17:42:19 -0700 From: Kevin Burton <[EMAIL PROTECTED]> To: Lucene Users List <[EMAIL PROTECTED]> I created th

Re: indexing with 1.4-rc3 only yields single .cfs file

2004-06-15 Thread Otis Gospodnetic
We switched from multi-file to compound index structure in one of the recent RCs. This should be mentioned in CHANGES.txt file. The change was made to make it more difficult for people to reach 'Too many open files' situations. Otis --- Claude Devarenne <[EMAIL PROTECTED]> wrote: > Hi, > > I

Re: RE : RE : Analyzers

2004-06-15 Thread Grant Ingersoll
For the reflection way, I use a configuration file that specifies the initial state and then use a no-argument constructor. Since I don't think that is very generalizable, I thought maybe you could do a copy() and then a reset() method (similar to the JSP tag release() method). The copy() meth

Re: word thrown out in exact phrase with setPhraseSlop(0)

2004-06-15 Thread Claude Devarenne
Hi, Thanks, I was using StandardAnalyzer (both for indexing and serarching) so that explains it. Claude On Jun 15, 2004, at 9:20 AM, Erik Hatcher wrote: On Jun 15, 2004, at 11:58 AM, Claude Devarenne wrote: In my application, when a user searches on an exact phrase like "key to project" the word

Re: word thrown out in exact phrase with setPhraseSlop(0)

2004-06-15 Thread Erik Hatcher
On Jun 15, 2004, at 11:58 AM, Claude Devarenne wrote: In my application, when a user searches on an exact phrase like "key to project" the word "to" gets thrown out. I currently use the query parser and enclose the user query string in quotes. I did setPhraseSlop(0) but that did not help. Wou

indexing with 1.4-rc3 only yields single .cfs file

2004-06-15 Thread Claude Devarenne
Hi, I just upgraded to 1.4-rc3 and re-indexed my data. I did not change any code and noticed that in the index directory there is a single .cfs file which I am guessing stands for compound file system. Search works fine but after checking out the latest from CVS I did not see this mentioned i

word thrown out in exact phrase with setPhraseSlop(0)

2004-06-15 Thread Claude Devarenne
Hi, In my application, when a user searches on an exact phrase like "key to project" the word "to" gets thrown out. I currently use the query parser and enclose the user query string in quotes. I did setPhraseSlop(0) but that did not help. Would this be resolved by building a phrase query?

How to use PhraseQuery Class?

2004-06-15 Thread Daniel de Souza Teixeira
Hi! I need some information about PhraseQuery Class. How to use this class ? I tried to use, but I couldn't. I created an index, just with 2 fields: - path: path of the file - contents: the text of the file (pdf,txt,html,doc,rtf ...) I want to search with phrases... Is it possible ? This

Re: Q: how to parse query and add boost a term

2004-06-15 Thread Erik Hatcher
On Jun 15, 2004, at 5:04 AM, Zilverline wrote: Hi, How can I use Lucene's API best to parse a query and then boost the query with the 'title' given the relevant parts of the query (the default Field)? To give you an example: I want to change: 'java "method invocation" +type:HTML' into

RE : RE : Analyzers

2004-06-15 Thread Rasik Pandey
> The jist of it is it isn't thread safe yet. Although I don't > think it is too much of a leap to make it thread-safe. I just > haven't had time to do so. It can be done through reflection > or perhaps by requiring a "deep" copy/reset of filter states. I had a quick look and found that using r

Q: how to parse query and add boost a term

2004-06-15 Thread Zilverline
Hi, How can I use Lucene's API best to parse a query and then boost the query with the 'title' given the relevant parts of the query (the default Field)? To give you an example: I want to change: 'java "method invocation" +type:HTML' into '+contents:java +contents:"method invocation" +

Re: org.apache.lucene.search.highlight.Highlighter

2004-06-15 Thread Erik Hatcher
On Jun 15, 2004, at 12:48 AM, Karthik N S wrote: Sombody please tell me why the "[pad]" is been displayed between words on searching the indexed file Content : Digital Cameras[pad][Digital Cameras][pad][EZ Dual Cam USB Digital Video/Still Camera][pad... Cam USB Digital How do I correct t

Re: incrementally indexing a million documents

2004-06-15 Thread Nader Henein
How are you documents named? is it alphabetical or numerical, Mine where numerical so I I creates n directories like so 11 , 12, 13, 14, 19, 21 , 22 , 23 .. 99 you get the idea and I stored the files into the directories that each belonged to depending on the last two numbers in