Re: search question

2004-12-23 Thread roy-lucene-user
Erik, They both use the StandardAnalyzer... however looking at the toString() makes everything clearer. In the case a string has the following email address: [EMAIL PROTECTED], it gets split like so: first.last domain.com However in 1.4 it does not get split. So now we just check to see if an i

Re: search question

2004-12-22 Thread Erik Hatcher
What does toString() return for each of those queries? Are you using the same analyzer in both cases? Erik On Dec 22, 2004, at 5:44 PM, [EMAIL PROTECTED] wrote: Hi guys, We have an index with some fields containing email addresses. Doing a search for an email address with this format:

search question

2004-12-22 Thread roy-lucene-user
Hi guys, We have an index with some fields containing email addresses. Doing a search for an email address with this format: [EMAIL PROTECTED], does not bring up any results with lucene 1.4. The query: "Field1:[EMAIL PROTECTED]" However it returns results with 1.2. Any ideas? Roy.

Re: Index and Search question in Lucene.

2004-08-21 Thread Ernesto De Santis
Hi Dimitri What analyzer you use? You need take carefully with Keyword fields and analyzers. When you index a Document, the fields that have set tokenized = false, like Keyword, are not analyzed. In search time you need parse the query with your analyzer but not analyze the untokenized fields, l

RE: index and search question

2004-08-09 Thread Aviran
yes -Original Message- From: Dmitrii PapaGeorgio [mailto:[EMAIL PROTECTED] Sent: Monday, August 16, 2004 9:23 AM To: [EMAIL PROTECTED] Subject: index and search question Ok so when I index a file such as below Document doc = new Document(); doc.Add(Field.Text("contents&

index and search question

2004-08-08 Thread Dmitrii PapaGeorgio
Ok so when I index a file such as below Document doc = new Document(); doc.Add(Field.Text("contents", new StreamReader(dataDir))); doc.Add(Field.Keyword("filename", dataDir)); I can do a search as this "+contents:SomeWord +filename:SomePath" Correct? ---

Index and Search question in Lucene.

2004-08-07 Thread Dmitrii PapaGeorgio
Ok so when I index a file such as below Document doc = new Document(); doc.Add(Field.Text("contents", new StreamReader(dataDir))); doc.Add(Field.Keyword("filename", dataDir)); I can do a search as this "+contents:SomeWord +filename:SomePath" Correct? ---

Re: index and search question

2004-06-20 Thread Incze Lajos
On Sun, Jun 20, 2004 at 09:46:42AM +, Dmitrii PapaGeorgio wrote: > Let's say I index documents using this > > Document doc = new Document(); > doc.add(Field.Text("file1", (Reader) new InputStreamReader(is))); > doc.add(Field.Text("file2", (Reader) new InputStreamReader(is2))); >

index and search question

2004-06-20 Thread Dmitrii PapaGeorgio
Let's say I index documents using this Document doc = new Document(); doc.add(Field.Text("file1", (Reader) new InputStreamReader(is))); doc.add(Field.Text("file2", (Reader) new InputStreamReader(is2))); And want to do a search like this file1:Word file2:Word2 Basically doing a search

Re: Search Question - not returning desired results

2003-11-26 Thread Erik Hatcher
On Wednesday, November 26, 2003, at 11:08 AM, Pleasant, Tracy wrote: But now i have another question. Let's say I have 'return_results.pl' in the document in one of the fields. Actually there is a little bit more to it than understanding the analysis phase, and you were right in saying you need

Re: Search Question - not returning desired results

2003-11-26 Thread Erik Hatcher
On Wednesday, November 26, 2003, at 11:08 AM, Pleasant, Tracy wrote: But now i have another question. Let's say I have 'return_results.pl' in the document in one of the fields. When I search for return_res* or return_res~ it won't return the document. But searching for any of these does return th

Re: Search Question - not returning desired results

2003-11-26 Thread Erik Hatcher
On Wednesday, November 26, 2003, at 11:33 AM, Pleasant, Tracy wrote: Your website says: org.apache.lucene.analysis.standard.StandardAnalyzer: [xy&z] [corporation] [EMAIL PROTECTED] [com] When I run it it keeps the entire email '[EMAIL PROTECTED] but according to your website it separa

RE: Search Question - not returning desired results

2003-11-26 Thread Pleasant, Tracy
does numbers but I need it to be a little different of course. Thanks for the site. -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 26, 2003 4:58 AM To: Lucene Users List Subject: Re: Search Question - not returning desired results On Tuesday, N

RE: Search Question - not returning desired results

2003-11-26 Thread Pleasant, Tracy
ve to read more about the '*' and '~'? -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 26, 2003 4:58 AM To: Lucene Users List Subject: Re: Search Question - not returning desired results On Tuesday, November 25, 2003, at 12:11 P

RE: Search Question - not returning desired results

2003-11-26 Thread Pleasant, Tracy
Thanks this helps a lot :) -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 26, 2003 4:58 AM To: Lucene Users List Subject: Re: Search Question - not returning desired results On Tuesday, November 25, 2003, at 12:11 PM, Pleasant, Tracy

Re: Search Question - not returning desired results

2003-11-26 Thread Erik Hatcher
On Tuesday, November 25, 2003, at 12:11 PM, Pleasant, Tracy wrote: The documents I have index contain information regarding file names also. For instance 'return_results.pl' or something like that may be in the document fields. I am not understanding Lucene's way of searching: 1. If I search

Re: Search Question

2003-11-25 Thread Dror Matalon
ure why it does that. > > I am using standard analyzer, too. > > -Original Message- > From: Dror Matalon [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 25, 2003 12:22 PM > To: Lucene Users List > Subject: Re: Search Question > > > No, but if you use

RE: Search Question

2003-11-25 Thread Otis Gospodnetic
gt; > -Original Message- > From: Dror Matalon [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 25, 2003 12:22 PM > To: Lucene Users List > Subject: Re: Search Question > > > No, but if you use the standard analyzer searching "red*" will return > doc

Re: Search Question - not returning desired results

2003-11-25 Thread Otis Gospodnetic
You have to look at Analyzers. Figure out which one you are using and why, and see if you should be using a different one or even write your own. Some of the Analyzers break input on certain tokens (e.g. . or _ or ...), which sounds like the problem is here. I think Erik's java.net article about L

RE: Search Question

2003-11-25 Thread Pleasant, Tracy
Also searching 'red_*' returns nothing, also. -Original Message- From: Dror Matalon [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2003 12:22 PM To: Lucene Users List Subject: Re: Search Question No, but if you use the standard analyzer searching "red*" w

RE: Search Question

2003-11-25 Thread Pleasant, Tracy
How come if I search for 'red_car*' it returns nothing. I am using standard analyzer, too. -Original Message- From: Dror Matalon [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2003 12:22 PM To: Lucene Users List Subject: Re: Search Question No, but if you use th

Re: Search Question

2003-11-25 Thread Dror Matalon
No, but if you use the standard analyzer searching "red*" will return documents with "read_car" On Tue, Nov 25, 2003 at 12:00:01PM -0500, Pleasant, Tracy wrote: > > If I have words within a document like > > red_car > > If I search for 'red' would it return documents containing 'red_car'?

Search Question - not returning desired results

2003-11-25 Thread Pleasant, Tracy
The documents I have index contain information regarding file names also. For instance 'return_results.pl' or something like that may be in the document fields. I am not understanding Lucene's way of searching: 1. If I search for 'return_results', the search does not return anything 2. If I sea

Search Question

2003-11-25 Thread Pleasant, Tracy
If I have words within a document like red_car If I search for 'red' would it return documents containing 'red_car'? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: keyword search question

2002-10-18 Thread Vinod Bhagat
. -Original Message- From: Richard Gregor [mailto:Richard.Gregor@;sun.com] Sent: Friday, October 18, 2002 3:34 PM To: [EMAIL PROTECTED] Subject: keyword search question Hi, is it possible to use meta tags in HTML pages for keyworded search using Lucene? That means I would like to search

keyword search question

2002-10-18 Thread Richard Gregor
Hi, is it possible to use meta tags in HTML pages for keyworded search using Lucene? That means I would like to search in documents not using full-text search but a I would like to search ccording to keywords specified in pages. Eaxample of meta tag:

Re: Search question

2002-04-17 Thread Ype Kingma
Aruna, >Hi, >I am looking for ways to cancel a search in response to a cancel from a user >interface. I don't see any thing like a timeout on the Searcher.search() >method. Is there a way to terminate a search request? You can use the low level search api with a collector that checks for cancell

Search question

2002-04-17 Thread Aruna Raghavan
Hi, I am looking for ways to cancel a search in response to a cancel from a user interface. I don't see any thing like a timeout on the Searcher.search() method. Is there a way to terminate a search request? Aruna Raghavan Senior Software Engineer OPIN Systems SPC -- To unsubscribe, e-mail: