Re: Maintaining XML Layout

2009-04-14 Thread Johnny X
Pre tag fixed it instantly! Thanks! Shalin Shekhar Mangar wrote: > > On Tue, Apr 14, 2009 at 4:56 PM, Johnny X > wrote: > >> >> Hey, >> >> >> One of the fields returned from my queries (Content) is essentially the >> body >> of an e-m

Maintaining XML Layout

2009-04-14 Thread Johnny X
Hey, One of the fields returned from my queries (Content) is essentially the body of an e-mail. However, it's returned as one long stream of text (or at least, that's how it appears on the web page). Viewing the source of the page it appears with the right layout characteristics (paragraphs, nam

Re: Search included in *all* fields

2009-04-14 Thread Johnny X
what about: >> fieldA:value1 AND fieldB:value2 >> >> this can also be written as: >> +fieldA:value1 +fieldB:value2 >> >> >> On Apr 13, 2009, at 9:53 PM, Johnny X wrote: >> >>> >>> I'll start a new thread to make things easier,

Search included in *all* fields

2009-04-13 Thread Johnny X
I'll start a new thread to make things easier, because I've only really got one problem now. I've configured my Solr to search on all fields, so it will only search for a specific query in a specific field (e.g. q=Date:"October") will only search the 'Date' field, rather the all the others. The

Re: PHP Remove From Index/Search By Fields

2009-04-13 Thread Johnny X
he default search field to 'Date' to see if that made a difference and nothing changed. Johnny X wrote: > > Do you know the specific syntax when querying different fields? > > http://localhost:8080/solr/select/?q=Date:%222000%22&version=2.2&start=0&rows=10&

Re: PHP Remove From Index/Search By Fields

2009-04-13 Thread Johnny X
t box because it won't be separated by field anyway. Erik Hatcher wrote: > > > On Apr 13, 2009, at 11:20 AM, Johnny X wrote: > >> >> Also, in reference to the other question, I'm currently trying to >> edit the >> main search page to search m

Re: PHP Remove From Index/Search By Fields

2009-04-13 Thread Johnny X
c, until it has been urlencoded/trimmed. Will it still only return results on 'content' searches because that's the only default field? Johnny X wrote: > > Thanks for the reply Erik! > > Based on a previous page I used to return queries I've developed th

Re: PHP Remove From Index/Search By Fields

2009-04-12 Thread Johnny X
$XOrigin = $data; break; case 'X-To': $XTo = $data; break; case 'X-bcc': $Xbcc = $data; break; case 'X-cc'

PHP Remove From Index/Search By Fields

2009-04-10 Thread Johnny X
Hey, How could I write some code in PHP to place in a button to remove a returned item from the index? In turn, is it possible to copy all of the XML elements from said item and place them in a document somewhere locally once it's been removed? Finally, there is one default search field. How d

Re: Word Locations & Search Components

2009-02-16 Thread Johnny X
, as you need to filter information that you actually would like > to > see in diferent fields on your index. > > Did you already tried to split the email in several fields like subject, > from, to, content, signature, etc etc etc ? > > > 2009/2/16 Johnny X > >> &g

Word Locations & Search Components

2009-02-15 Thread Johnny X
Hi there, I was told before that I'd need to create a custom search component to do what I want to do, but I'm thinking it might actually be a custom analyzer. Basically, I'm indexing e-mail in XML in Solr and searching the 'content' field which is parsed as 'text'. I want to ignore certain el

Re: Results not appearing

2009-01-24 Thread Johnny X
"text" in your schema. In that setup if you want to search on > the Content field you need to say so explicitly, like so: > > Content:phillip > > On Sat, Jan 24, 2009 at 7:25 AM, Johnny X > wrote: >> >> If it helps, everything appears when I use Luke t

Re: Results not appearing

2009-01-24 Thread Johnny X
on 0 phillip 10 2.2 Duh...? Johnny X wrote: > > They all appear in the stats admin page under the NumDocs & maxDocs > fields. > > I don't explicitly send a commit command, but my posting ends like this > (suggesting they are commited): >

Re: Results not appearing

2009-01-24 Thread Johnny X
stored" seems correct. Stored fields are > those whose values you need back at query time, and indexed fields are > those you can do queries on. For a few complications, see > http://wiki.apache.org/solr/FieldOptionsByUseCase > > On Fri, Jan 23, 2009 at 8:04 PM, Johnny X

Results not appearing

2009-01-23 Thread Johnny X
I've indexed my XML using the below in the schema: Message-ID However searching via the Message-ID or Content fields returns 0. Using Luke I can still see these fields are stored however. Out of interest

Issue indexing in Solr

2009-01-23 Thread Johnny X
I keep getting the error "FATAL: Solr returned an error: Bad Request" Solr is running on a different port (8080) so I changed the command line request to "java -Durl=http://localhost:8080/solr/update -jar post.jar *.xml" which seems to at least initiate. "WARNING: Make sure your XML documents a

Re: Solr schema causing an error

2009-01-23 Thread Johnny X
for a field > named > sku which does not exist. Just search "sku" in the file and see what > comes > up. > > > On 1/23/09 11:15 AM, "Johnny X" wrote: > >> >> Well here are the first 10/15 lines: >> >> HTTP Status 500 - Severe er

Re: Solr schema causing an error

2009-01-23 Thread Johnny X
s will be in the webserver logs (ie tomcat or jetty logs). > > > On 1/23/09 10:40 AM, "Johnny X" wrote: > >> >> Ah, gotcha. >> >> Where do I go to find the log messages? Obviously it prints a lot of >> jargon >> on the admin page reportin

Re: Solr schema causing an error

2009-01-23 Thread Johnny X
is basically > stored > with no modification (it is the solr.StrField). The text type is actually > defined in the fieldtype section and usually contains a tokenizer and some > analyzers (usually stemming, lowercasing, deduping). > > > On 1/23/09 9:52 AM, "Johnny X" w

Solr schema causing an error

2009-01-23 Thread Johnny X
Hi there, I just configured my Solr schema file to support the data types I wish to submit for indexing. However, as soon as try and start the Solr server I get an error trying to reach the admin page. I know this only has something to do with my definitions in the schema, because when I tried

Re: Custom Search Results

2008-12-27 Thread Johnny X
lt sets can get expensive > and will hurt performance. > Otis > -- > Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch > > > > - Original Message >> From: Johnny X >> To: solr-user@lucene.apache.org >> Sent: Thursday, December 25, 2008 9:

Custom Search Results

2008-12-25 Thread Johnny X
Hi there, N00b here, so if you could explain in simple terms I'd appreciate it. I'm trying to create what I want to call a 'filter' to search through a bunch of indexed documents. The idea of this filter is search for very specific things in each of the indexed documents to catagorise them into

Large Corpus XML Conversion?

2008-11-07 Thread Johnny X
I've been asked to look at the Enron e-mail corpus (http://www.cs.cmu.edu/~enron/) and I've decided to use Solr as a means to analyse it. So I have a few questions... First off, how can I convert the flat file text below: Message-ID: <[EMAIL PROTECTED]> Date: Mon, 14 May 2001 16:39:00 -0700 (