Re: Multiple Values -Structured?

2007-09-04 Thread Erik Hatcher
multiValued fields retain their order, for the record. Erik On Sep 4, 2007, at 12:37 AM, Jed Reynolds wrote: One of the difficulties that you're going to find with multi-valued fields is that they are an unordered collection without relation. If you have a document with a list of

Re: Multiple Values -Structured?

2007-09-04 Thread Yonik Seeley
You could index both a compound field and the components separately. This could be simplified by sending the value in once as the compound format: review,1 Jan 2007 revision, 2 Jan 200 And then use a copyField with a regex tokenizer to extract and index the date into a separate field. You

Processing solr response....

2007-09-04 Thread Ravish Bhagdev
Hi, Apologies if this has been asked before but I couldn't find anything when I searched... I have been looking ant SolJava examples. I've been using Nutch/Lucene before which returns results from query nicely in a class with url, title and snippet (summary). While Solr seems to return XML

RE: Processing solr response....

2007-09-04 Thread Jonathan Woods
This kind of thing is what I was getting at in SOLR-344 (https://issues.apache.org/jira/browse/SOLR-344). There I said I'd post a prototype Java API - but for now, I've had to give up and go back to my home-grown Lucene-based code. -Original Message- From: Ravish Bhagdev [mailto:[EMAIL

Re: Multiple Values -Structured?

2007-09-04 Thread Bharani
Thanks Yonik - I didnt know that before. But i am not sure how i can use the range queries on this compound field so that i dont get the wrong result. -Bharani Yonik Seeley wrote: You could index both a compound field and the components separately. This could be simplified by sending the

Re: Multiple Values -Structured?

2007-09-04 Thread Bharani
No Size is not an issue - atleast for now. But i am thinking of implementing some sort of duplicate removal based on field. I happen to look at this thread http://www.nabble.com/Group-results-by-field--tf3683765.html#a10296394 Tom mentions some changes to the code to do that so was thinking in

Re: Processing solr response....

2007-09-04 Thread Venkatraman S
I am trying to build a sample program(in Java). But, to do this i have some queries, as basic documentation - which i am not able to find. Some basic Qs: - Does Solr create its own index or is it a wrapper on lucene index(i et its the latter) - If answer to the prev Q is NO, then how is the

RE: Processing solr response....

2007-09-04 Thread Lance Norskog
This goes through the Solr http response, right? The Solr XSL processor feature will do this for you. You write an XSL script and add it to $SOLR/conf/xslt. You then use extra parameters in a query. The output XML will be transformed by the XSL. The XSL can create anything you want: lists of

Date faceting problem

2007-09-04 Thread Delsey Sherrill
Hi, This is my first post to the list, having done my FAQ/wiki/archive due diligence to no avail. I'm having an issue w/ the date faceter, running solr 1.2.0 on Tomcat populated with the example data. When I make a date facet request (example copied verbatim from the SimpleFacetParameter

Indexing longer documents using Solr...memory issue after index grows to about 800 MB...

2007-09-04 Thread Ravish Bhagdev
Hi, The problem: - I have about 11K html documents to index. - I'm trying to index these documents (along with 3 more small string fields) so that when I search within the doc field (field with the html file content), I can get results with snippets or highlights as I get when using nutch. -

Re: Date faceting problem

2007-09-04 Thread Chris Hostetter
: I'm having an issue w/ the date faceter, running solr 1.2.0 on Tomcat Welcom to the list Delsey, Date Faceting was only recently added to the Solr trunk ... there is a wiki convention of noting when docs refer to bleeding edge stuff not in the latest release by noting hte version it's

Re: Processing solr response....

2007-09-04 Thread Chris Hostetter
: - Does Solr create its own index or is it a wrapper on lucene index(i et its : the latter) Lucene in the context of this discussion is a Java Library. Solr is an application written in Java -- Solr uses the Lucene library to create an index. : - If answer to the prev Q is NO, then how is

Re: Indexing longer documents using Solr...memory issue after index grows to about 800 MB...

2007-09-04 Thread Mike Klaas
On 4-Sep-07, at 4:50 PM, Ravish Bhagdev wrote: - I have about 11K html documents to index. - I'm trying to index these documents (along with 3 more small string fields) so that when I search within the doc field (field with the html file content), I can get results with snippets or highlights