Re: How to read values of a field efficiently

2007-07-23 Thread Chris Hostetter
: This part (reading field values) takes fairly long compared : to the other fields (that use getFacetTermEnumCounts or : getFieldCacheCounts as implemented in SimpleFacets), so that : I asume that there is potential for optimization. : : Fairly long: getFieldCacheCounts for the cat field takes ~7

Re: solr question

2007-07-23 Thread Alessandro Ferrucci
DOH I just found a source that said that wildcards are not supported in the dismax request handler!! h is there any other way to boost my last-name wtihout using a dismax request handler? I tried adding a field boost in my insert document and add omitNorms to false to my last-name field, b

Re: solr question

2007-07-23 Thread Alessandro Ferrucci
hey thanks for this info. So I've got it almost to where I want my search to be :) I've changed my schema and solrconfig in the following ways: in my schema I have 5 fields 2 of which are first-name and last-name. I have the text field and I copy last-name and first-name into it so that by def

Re: Pagination of results and XSLT.

2007-07-23 Thread Brian Whitman
Has anyone tried to handle pagination of results using XSLT's ? I'm not really sure it is possible to do it in pure XSLT because all the response object gives us is a total document count - paginating the results would involve more than what XSLT 1.0 could handle (I'll be very happy if some

Pagination of results and XSLT.

2007-07-23 Thread Nuno Leitao
Hi, Has anyone tried to handle pagination of results using XSLT's ? I'm not really sure it is possible to do it in pure XSLT because all the response object gives us is a total document count - paginating the results would involve more than what XSLT 1.0 could handle (I'll be very happy i

RE: Computing an md5 of a text field.

2007-07-23 Thread Daniel Pitts
XML escaping is probably the best approach. Either surround the whole thing with "<[CDATA[" and "]]>", or do use one of the many libraries out there that will escape the string for you. While an MD5 is designed to be cryptographically secure one way function, it is NOT guaranteed to be a one-to-o

Re: Computing an md5 of a text field.

2007-07-23 Thread Nuno Leitao
Thanks Yonik, Basically, I am indexing a number of items where the unique ID is a URL. Because URL's can contain invalid XML characters, and I will be doing some XSLT postprocessing, I was thinking that a good way to solve the problem would be to store these unique ID's as md5's instead.

ArrayIndexOutOfBoundsException on TermScorer

2007-07-23 Thread Rafael Rossini
Hello all, In one simple query on my index "http://localhost:8983/solr/select/?q=brasilI get this: 1226511 java.lang.ArrayIndexOutOfBoundsException: 1226511 at org.apache.lucene.search.TermScorer.score(TermScorer.java:74) at org.apache.lucene.search.TermScorer.score(TermScorer.java:61) at org.a

Re: Filter Search!

2007-07-23 Thread Mike Klaas
On 23-Jul-07, at 7:46 AM, John Ni wrote: Hi all, The root of this posting regarding "Filter Search" might sound specific to the embedded solr mode but if anyone has experience handle the similar situation with different implementations, multiple subtype filter search( I might not be u

Re: Computing an md5 of a text field.

2007-07-23 Thread Yonik Seeley
On 7/23/07, Nuno Leitao <[EMAIL PROTECTED]> wrote: I would like to be able to compute and store the MD5 sum for a given text in a field (in my case, I am talking about a URL string). For example, if I have a field called 'url' the following would happen: 'http://wiki.apache.org' -> 'cb4f7e6ca1a0

Re: Acceptable schema def?

2007-07-23 Thread Jeff Rodenburg
As an example, consider the following: Two questions: 1) Is the definition of the source attribute for a copyField node that would work as a dynamicField node valid? 2) Is the dest attribute for a copyField node required to be implemented as a node? Could it be a dynamic field? For exampl

Acceptable schema def?

2007-07-23 Thread Jeff Rodenburg
As an example, consider the following: Two questions: 1) Is the definition of the source attribute for a copyField node that would work as a dynamicField node valid? 2) Is the dest attribute for a copyField node required to be implemented as a node? Could it be a dynamic field? For example

Re: Filter Search!

2007-07-23 Thread John Ni
Hi all, The root of this posting regarding "Filter Search" might sound specific to the embedded solr mode but if anyone has experience handle the similar situation with different implementations, multiple subtype filter search( I might not be using the right words to describe it but please

solr and Oracle 10g App Server

2007-07-23 Thread Richard Eibrand
Hi, I've tried to deploy the solr war file in Oracle 10G, but keep getting the following error: " Failed in uploading archive. Invalid archive file: Start of root element expected." I've searched the mailing lists and google'd around for any pointers, but have not had any luck finding anything

Computing an md5 of a text field.

2007-07-23 Thread Nuno Leitao
Hi, I would like to be able to compute and store the MD5 sum for a given text in a field (in my case, I am talking about a URL string). For example, if I have a field called 'url' the following would happen: 'http://wiki.apache.org' -> 'cb4f7e6ca1a0c00b146894b75d9f98dc' I've been scratchin

Re: SolrServerException: TEXT must be immediately followed by END_TAG and not START_TAG (position: START_TAG .....

2007-07-23 Thread Karen Loughran
Hi Ryan, Yes, I was using 1.2, But I've just downloaded the latest nightly build and it works ! Thanks Karen On Friday 20 July 2007 17:39:56 Ryan McKinley wrote: > what version of solr are you running? 1.2? > > Solrj is only tested with the latest trunk build, but I *think* it > should wor

Re: Passing arguments to analyzers

2007-07-23 Thread Doğacan Güney
On 7/17/07, Yonik Seeley <[EMAIL PROTECTED]> wrote: On 7/17/07, Doğacan Güney <[EMAIL PROTECTED]> wrote: > Hi, > > On 7/17/07, Yonik Seeley <[EMAIL PROTECTED]> wrote: > > On 7/17/07, Doğacan Güney <[EMAIL PROTECTED]> wrote: > > > Hi all, > > > > > > Is there a way to pass arguments to analyzers p