Re: Mobile phone shop + Solr

2006-09-12 Thread Jeff Rodenburg
On 9/12/06, Yonik Seeley <[EMAIL PROTECTED]> wrote: On 9/12/06, climbingrose <[EMAIL PROTECTED]> wrote: > I want to be able to programmatically > submit/delete document from Java code rather than through command line. I > read JavaSolr page but it seems that the code isn't stable enough for > pr

Re: Got it working! And some questions

2006-09-12 Thread Chris Hostetter
: I've implemented the ability to override the default operator with : q.op=AND|OR. The patch is pasted below for your review. if i'm reading that right, one subtlety is that "new SolrQueryParser(schema,field)" no longer pas attention to schema.getQueryParserDefaultOperator() -- that only only b

Re: MoreLikeThis class in Lucene within Solr?

2006-09-12 Thread Erik Hatcher
On Sep 12, 2006, at 3:41 PM, Michael Imbeault wrote: I haven't looked at the specifics of how MoreLikeThis determine which items are similar; I'm mainly wondering about performance here. Yesterday I tried to code myself a poor man's similarity class (which was nothing more than doing a sear

Re: Got it working! And some questions

2006-09-12 Thread Erik Hatcher
On Sep 11, 2006, at 2:52 PM, Yonik Seeley wrote: On 9/11/06, Erik Hatcher <[EMAIL PROTECTED]> wrote: On Sep 10, 2006, at 10:47 PM, Michael Imbeault wrote: > I'm still a little disappointed that I can't change the OR/AND > parsing by just changing some parameter (like I can do for the > numbe

Re: MoreLikeThis class in Lucene within Solr?

2006-09-12 Thread Michael Imbeault
Thanks for that Eric; It looks like a very good implementation of the class. If you ever find time to add it to the query handlers in Solr, I'm sure it would be wonderful for tons of users (solr has tons of users, right? it definitively should!). I haven't looked at the specifics of how MoreLi

Re: MoreLikeThis class in Lucene within Solr?

2006-09-12 Thread Erik Hatcher
On Sep 12, 2006, at 1:14 PM, Chris Hostetter wrote: : oops... I meant to post the URL to Collex where we show up to 3 items : like the selected one: : : Wow! ... Fragoletta and

Re: MoreLikeThis class in Lucene within Solr?

2006-09-12 Thread Chris Hostetter
: oops... I meant to post the URL to Collex where we show up to 3 items : like the selected one: : : Wow! ... Fragoletta and Laus Veneris sure do look a lot like Anactoria ... they co

Re: Mobile phone shop + Solr

2006-09-12 Thread Chris Hostetter
: Because the mobile phone info has many fields (>40), I don't want to : repeatedly submit it to Solr. i'm not really sure what you mean by "repeatedly submit to Solr" or how it relates to haveing more then 40 fields. 40 fields really isn't that many. To give you a basis of comparison: the last

Re: MoreLikeThis class in Lucene within Solr?

2006-09-12 Thread Erik Hatcher
On Sep 12, 2006, at 12:45 PM, Erik Hatcher wrote: I use MoreLikeThis in a custom request handler for Collex, for example the three items shown at the bottom left here:

Re: MoreLikeThis class in Lucene within Solr?

2006-09-12 Thread Erik Hatcher
On Sep 11, 2006, at 4:54 PM, Michael Imbeault wrote: Is it possible in any way to use the MoreLikeThis class with solr (http://lucene.apache.org/java/docs/api/org/apache/lucene/search/ similar/MoreLikeThis.html)? Right now I'm determining similar docs by just querying for the whole body with

Re: Mobile phone shop + Solr

2006-09-12 Thread climbingrose
Because the mobile phone info has many fields (>40), I don't want to repeatedly submit it to Solr. On 9/13/06, Yonik Seeley <[EMAIL PROTECTED]> wrote: On 9/12/06, climbingrose <[EMAIL PROTECTED]> wrote: > Obviously, I need to publish the mobile phone > catalogue to Solr. How about the informat

Re: Mobile phone shop + Solr

2006-09-12 Thread Yonik Seeley
On 9/12/06, climbingrose <[EMAIL PROTECTED]> wrote: Obviously, I need to publish the mobile phone catalogue to Solr. How about the information that users submit when they sell the phone? Should I publish them to Solr as well? It can often make a system simpler if the web front-end only has one

Mobile phone shop + Solr

2006-09-12 Thread climbingrose
Hi all, I've been watching the development of Solr in the last few months. I start building a mobile phone shop with faceted browsing to allow users to filter the catalogue in a friendly manner. Since the site will probably expand in a year or two, I need some advice regarding the design and impl

Re: MoreLikeThis class in Lucene within Solr?

2006-09-12 Thread Chris Hostetter
: Is it possible in any way to use the MoreLikeThis class with solr : (http://lucene.apache.org/java/docs/api/org/apache/lucene/search/similar/MoreLikeThis.html)? : Right now I'm determining similar docs by just querying for the whole : body with OR between words, and it's not very efficient perf

Re: Simple Faceted Searching out of the box

2006-09-12 Thread Erik Hatcher
On Sep 12, 2006, at 4:15 AM, Kevin Lewandowski wrote: Is it possible that the facets can be based on the contents of an entire field instead of the terms? For this, you could use a to copy one field into another field where one is tokenized and the other is not. And then return facets fo

Re: Solr in production env.

2006-09-12 Thread Eivind Hasle Amundsen
Chris Hostetter wrote: : I even know of a company which mere existence is based partly on Solr. :) now *that* sounds like i story i'd like to hear more of Unfortunately we are in the same boat. I was asked to take part in this startup, but turned down the offer. I bet they are eager to keep t

Re: Simple Faceted Searching out of the box

2006-09-12 Thread Kevin Lewandowski
Is it possible that the facets can be based on the contents of an entire field instead of the terms? For example say I have a document with this field: Hip Hop A facet query on the genre field returns: 1 1 but I'd like it to return: 1 thanks, Kevin