Re: Please unsubscribe me from this group mail

2007-10-09 Thread Joe Attardi
Uttam, To unsubscribe you need to send an email to [EMAIL PROTECTED] -- Joe Attardi [EMAIL PROTECTED] http://thinksincode.blogspot.com/ On 10/9/07, Barik, Uttam <[EMAIL PROTECTED]> wrote: > > > > > Regards, > Uttam Kumar Barik > > IT Services > Fidelity Bus

Re: Lucene indexing error

2007-10-08 Thread Joe Attardi
ex - do you get the same error then? -- Joe Attardi [EMAIL PROTECTED] http://thinksincode.blogspot.com/

Re: Lucene indexing error

2007-10-08 Thread Joe Attardi
r.open(IndexReader.java:141) > at org.apache.lucene.index.IndexReader.open(IndexReader.java:136) Looks like you don't have permission to access the Lucene index file(s). -- Joe Attardi [EMAIL PROTECTED] http://thinksincode.blogspot.com/

Re: More IP/MAC indexing questions

2007-08-01 Thread Joe Attardi
On 8/1/07, Erick Erickson <[EMAIL PROTECTED]> wrote: > > Use a SpanNearQuery with a slop of 0 and specify true for ordering. > What that will do is require that the segments you specify must appear > in order with no gaps. You have to construct this yourself since there's > no support for SpanQueri

Re: More IP/MAC indexing questions

2007-08-01 Thread Joe Attardi
Hi Erick, First, consider using your own analyzer and/or breaking the IP addresses > up by substituting ' ' for '.' upon input. Do you mean breaking the IP up into one token for each segment, like ["192", "168", "1", "100"] ? > But on to your question. Please post what you mean by > "a large n

More IP/MAC indexing questions

2007-08-01 Thread Joe Attardi
ken per octet ("00", "17", "fd", "14", "d3", "2a"). Many searches will be for partial IPs or MACs ("192.168", "00:17:fd", etc). Are either of these methods of indexing the addresses (single token vs per-octet token)

Re: Problem Search using lucene

2007-07-31 Thread Joe Attardi
You are probably using the StandardAnalyzer which removes stop words such as "and". -- Joe Attardi [EMAIL PROTECTED] http://thinksincode.blogspot.com/ On 8/1/07, masz-wow <[EMAIL PROTECTED]> wrote: > > > I understand that only document that has been indexed will be able

Re: Running query text through an Analyzer without QueryParser?

2007-07-30 Thread Joe Attardi
should I just index a MAC address as UN_TOKENIZED ? Thanks -- Joe Attardi [EMAIL PROTECTED] http://thinksincode.blogspot.com/ On 7/30/07, Ard Schrijvers <[EMAIL PROTECTED]> wrote: > > > > > > So then would I just concatenate the tokens together to form > > the query te

Re: Running query text through an Analyzer without QueryParser?

2007-07-30 Thread Joe Attardi
So then would I just concatenate the tokens together to form the query text? -- Joe Attardi [EMAIL PROTECTED] http://thinksincode.blogspot.com/ On 7/30/07, Erick Erickson <[EMAIL PROTECTED]> wrote: > > Would this work? > > TokenStream ts = StandardAnalyzer.tokenStream(); &

Running query text through an Analyzer without QueryParser?

2007-07-30 Thread Joe Attardi
Following up on my recent question. It has been suggested to me that I can run the query text through an Analyzer without using the QueryParser. For example, if I know what field to be searched I can create a PrefixQuery or WildcardQuery, but still want to process the search text with the same Anal

Re: Indexing/Analyzer question - case-insensitive "contains" search

2007-07-30 Thread Joe Attardi
> > It does sound very strange to me, to default to a WildCardQuery! Suppose I > am looking for "bold", I am getting hits for "old". I know - but that's what the requirements dictate. A better example might be a MAC or IP address, where someone might be searching for a string in the middle - like,

Indexing/Analyzer question - case-insensitive "contains" search

2007-07-30 Thread Joe Attardi
ored/not indexed("Joe's Devices") ? Or can I accomplish this case-insensitive "contains" search some other way - would I have to write a custom Analyzer, or something? Thanks in advance! -- Joe Attardi [EMAIL PROTECTED] http://thinksincode.blogspot.com/

Assembling a query from multiple fields

2007-07-25 Thread Joe Attardi
I don't want to get ahead of myself. One at a time... :) Appreciate any help you all might have! -- Joe Attardi

Re: IndexWriter.updateDocument(Term, Document) not removing old Document?

2007-07-03 Thread Joe Attardi
Hi Chris, That did it! Thanks for the help. I should have read the javadocs for Field.Index more closely! Thanks to everyone else for their input too. -- Joe Attardi [EMAIL PROTECTED] http://thinksincode.blogspot.com/ On 7/3/07, Chris Hostetter <[EMAIL PROTECTED]> wrote: It sounds lik

Re: IndexWriter.updateDocument(Term, Document) not removing old Document?

2007-07-03 Thread Joe Attardi
om working? Thanks... -- Joe Attardi [EMAIL PROTECTED] http://thinksincode.blogspot.com/ On 7/3/07, Joe Attardi <[EMAIL PROTECTED]> wrote: Hi Erick, I'm guessing that your problem is what gets indexed. What analyzer > are you using when indexing? One that breaks words apart on, say

Re: IndexWriter.updateDocument(Term, Document) not removing old Document?

2007-07-03 Thread Joe Attardi
Hi Erick, I'm guessing that your problem is what gets indexed. What analyzer are you using when indexing? One that breaks words apart on, say, periods? I am using the StandardAnalyzer. When I do a test query using Luke, it returns the object I'm looking for. The query I use is: id:"com.mycomp

IndexWriter.updateDocument(Term, Document) not removing old Document?

2007-07-03 Thread Joe Attardi
een by a reader on the same index (flush may happen only after the add)." Thanks for your help.. -- Joe Attardi [EMAIL PROTECTED] http://thinksincode.blogspot.com/