solr question

2007-07-20 Thread Alessandro Ferrucci
Hey guys, evening. I have a question about solr. Let's say I have people profile documents in the index. I give a search box where users can search these people profiles. Naturally the user could enter the following combinations of words: where the second instance is either OR . I onl

Re: Impementing Solr

2007-07-20 Thread John Ni
Hi Chris, Thank you very much for giving me the pointer. EmbeddedSolr was the one that I was trying to implement. BTW, just curious, how about implementing filter query "fq" if I gonna implement EmbeddedSolr.any suggestion. For example, let say I have the following form Bird:

Re: Replication script file issues..

2007-07-20 Thread Matthew Runo
Yes, I used that, and didn't see much else. But I did see that it was trying to execute something on the blank line at the top of scripts.conf, which eventually lead to the newlines. ++ | Matthew Runo | Zappos Development | [EMAIL PRO

Re: Replication script file issues..

2007-07-20 Thread Bill Au
FYI, in additional to the -v option, the latest version of all the scripts have a -V option which is equivalent to "set -x". Bill On 7/20/07, Matthew Runo <[EMAIL PROTECTED]> wrote: Just an FYI.. it seems that the generated scripts.conf file had DOS format newlines. Once I did :set fileformat

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

2007-07-20 Thread Ryan McKinley
what version of solr are you running? 1.2? Solrj is only tested with the latest trunk build, but I *think* it should work on 1.2. Karen Loughran wrote: Hi all, Otis, I am now using the lastest solrj, and am trying to delete a solr record with both deleteById and deleteByQuery as follows:

Re: Replication script file issues..

2007-07-20 Thread Matthew Runo
Just an FYI.. it seems that the generated scripts.conf file had DOS format newlines. Once I did :set fileformat=unix in VIM, all was well. Everything is working like a champ now, with no other changes aside from that. ++ | Matthew R

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

2007-07-20 Thread Karen Loughran
Hi all, Otis, I am now using the lastest solrj, and am trying to delete a solr record with both deleteById and deleteByQuery as follows: ... CommonsHttpSolrServer solr = new CommonsHttpSolrServer( new URL("http://localhost:8080/solr/";) ); SimpleSolrDoc ex = new Simple

Re: Result from server is not rooted with a tag

2007-07-20 Thread Karen Loughran
Thanks Otis, this works :-) Karen On Friday 20 July 2007 14:03:22 Otis Gospodnetic wrote: > Hello Karen, > > You should grab solrj from its new home: http://solrstuff.org/svn/solrj/ > > Otis > -- > Lucene Consulting -- http://lucene-consulting.com/ > > > > - Original Message > From: K

Re: Result from server is not rooted with a tag

2007-07-20 Thread Otis Gospodnetic
Hello Karen, You should grab solrj from its new home: http://solrstuff.org/svn/solrj/ Otis -- Lucene Consulting -- http://lucene-consulting.com/ - Original Message From: Karen Loughran <[EMAIL PROTECTED]> To: solr-user@lucene.apache.org Sent: Friday, July 20, 2007 12:41:28 PM Subject:

Result from server is not rooted with a tag

2007-07-20 Thread Karen Loughran
Hi all, I'm using the code from solr-client which (downloaded from http://issues.apache.org/jira/browse/SOLR-20) to add new solr records programmatically with java to my db (solr 1.2). Basically: SolrClient client = new SolrClientImpl( new URL(http://localhost:8080/solr/) );

Re: DisMax query and date boosting

2007-07-20 Thread Daniel Alheiros
I'm using both the qb and the function, so the function gradually boost fresher documents and the qb act as an extra boost for the most recent ones. Good to now that it's interesting to avoid such precision, in fact I'm rounding my times avoiding using NOW, so it's fine for me. Regards, Daniel