Re: Item Facet

2009-08-09 Thread Avlesh Singh
This is how it goes: 1. You create a dynamic field in the schema called "product_*". This means that while indexing, you can create fields starting with "product_" dynamically for a document. 2. If a document, doc1, is dealing with prod1 and prod2, you create fields called product_p

Re: mergeFactor / indexing speed

2009-08-09 Thread Avlesh Singh
> > And - indexing 160k documents now takes 5min instead of 1.5h! > Awesome! It works for all! (Now I can go relaxed on vacation. :-D ) > Take me along! Cheers Avlesh On Fri, Aug 7, 2009 at 3:58 PM, Chantal Ackermann < chantal.ackerm...@btelligent.de> wrote: > Juhu, great news, guys. I merged m

Re: Question regarding merging Solr indexes

2009-08-09 Thread ahammad
Yes, that is exactly what I did. If I copy that link, I get a 404 error saying that I need a core name in the URL. If I add the core name in the URL, I get forwarded to the core's admin panel, and nothing happens. Am I missing something else? Shalin Shekhar Mangar wrote: > > On Fri, Aug 7, 200

Re: spellcheck component in 1.4 distributed

2009-08-09 Thread Grant Ingersoll
I think it would be great to have in 1.4, but the patch appears to be incomplete. You could start by trying it out and reporting back on how well it works. -Grant On Aug 8, 2009, at 12:54 PM, mike anderson wrote: Hi all, I am e-mailing to inquire about the status of the spellchecking c

Re: MoreLikeThis: How to get quality terms from html from content stream?

2009-08-09 Thread Grant Ingersoll
It's starting to sound like Solr Cell needs a SearchComponent as well, that can come before the QueryComponent and can be used to map into the other components. Essentially, take the functionality of the extractOnly option and have it feed other SearchComponent. On Aug 8, 2009, at 10:42 A

Re: Question regarding merging Solr indexes

2009-08-09 Thread Shalin Shekhar Mangar
On Sun, Aug 9, 2009 at 7:36 PM, ahammad wrote: > > Yes, that is exactly what I did. > > If I copy that link, I get a 404 error saying that I need a core name in > the > URL. If I add the core name in the URL, I get forwarded to the core's admin > panel, and nothing happens. Am I missing something

Re: MoreLikeThis: How to get quality terms from html from content stream?

2009-08-09 Thread Jay Hill
Solr Cell definitely sounds like it has a place here. But wouldn't it be needed for as an extracting component earlier in the process for the MoreLikeThisHandler? The MLT Handler works great when it's directed to a content stream of plain text. If we could just use Solr Cell to identify the file ty

best way to integrate solr with rails web app

2009-08-09 Thread Mani Kumar
hi all, can somebody provide the pointers for integrating solr with my rails application? thanks! mani

Re: SolrJ and ISO-8859-1

2009-08-09 Thread Avlesh Singh
You question appears to be incomplete. See if this helps - http://www.lucidimagination.com/search/document/a48d7cad58e802d3/solr_interprets_utf_8_as_iso_8859_1 Cheers Avlesh On Wed, Aug 5, 2009 at 7:20 PM, Schilperoort, René < rene.schilpero...@getronics.com> wrote: > Hello, > > Is it possible t

Repeat records in index

2009-08-09 Thread Wang Guangchen
Hi everyone, I maintain a large index around 14M records. Recently we found out that there is a repeat in the index. We have double check that we set the unique key correct. But these two docs are identical with the same unique key. Is anyone here meet the same problem? Is there any fix for this

Re: best way to integrate solr with rails web app

2009-08-09 Thread Ardeshir Sepahsalar
Mani, I know of Blacklight, an open source OPAC. It's a Rails Solr library catalog search/application. http://rubyforge.org/projects/blacklight/ -ardeshir On Sun, Aug 9, 2009 at 10:53 AM, Mani Kumar wrote: > hi all, > > can somebody provide the pointers for integrating solr with my rails > app

Embedded Solr Clustering

2009-08-09 Thread born2fish
Hi everyone, We have a web app that uses embedded solr for better performance. Now we are trying to deploy the app to a clustered environment. My question is: 1. Can we configure the embedded solr instances to share the same index on the network? 2. If the answer to question 1 is no, can we conf

Re: Embedded Solr Clustering

2009-08-09 Thread Avlesh Singh
> > Can we configure the embedded solr instances to share the same index on the > network? > Yes, multiple EmbeddedSolrServer instances can point to the same core. Cheers Avlesh On Mon, Aug 10, 2009 at 3:57 AM, born2fish wrote: > > Hi everyone, > > We have a web app that uses embedded solr for

Re: mergeContiguous for multiple search terms

2009-08-09 Thread Avlesh Singh
Which Solr version are you using? Cheers Avlesh On Wed, Aug 5, 2009 at 5:55 PM, Hachmann, Bjoern wrote: > Hello, > > we would like to use the highlightingComponent with the mergeContiguous > parameter set to true. > > We have a field with value: Ökonom Charles Goodhart. > > If we search for all

Querying for documents with a certain number of values?

2009-08-09 Thread Ian Sefferman
Hi, I have an index that contains a multiValued field, "foo". Is there a way to find all the documents in the index that have, say, 1-5 (or, generally, N-M for some values of N and M) values for "foo"? Thanks, Ian -- Ian Sefferman | (406) IAN-1337 http://www.iseff.com

RE: Querying for documents with a certain number of values?

2009-08-09 Thread Smiley, David W.
No, I don't believe so. Instead you should add an integer field which has the number of values you have in your multi-valued field. ~ David Smiley From: Ian Sefferman [is...@iseff.com] Sent: Sunday, August 09, 2009 10:37 PM To: solr-user@lucene.apache.or

Re: Querying for documents with a certain number of values?

2009-08-09 Thread Avlesh Singh
> > Is there a way to find all the documents in the index that have, say, 1-5 > (or, generally, N-M for some values of N and M) values for "foo"? > Sorry, but I did not understand. Do you want to find documents which have all of these values: N, N+1, N+2 ..., M in the field "foo"? Cheers Avlesh O

Re: Querying for documents with a certain number of values?

2009-08-09 Thread Ian Sefferman
Sorry, poorly worded. I want to find all the documents which have any value, but N-M of those values. Example: Document 1: foo:[a, b, c] Document 2: foo:[] Document 3: foo:[a, b, c, d, e, f] Document 4: foo:[a, b, c, d, e] Is there a way to find all documents with, say 3-5 values for foo (in this

Re: Querying for documents with a certain number of values?

2009-08-09 Thread Avlesh Singh
Hmmm ... then David is right. You would probably want to index the length of this field too. Cheers Avlesh On Mon, Aug 10, 2009 at 9:43 AM, Ian Sefferman wrote: > Sorry, poorly worded. I want to find all the documents which have any > value, but N-M of those values. > > Example: > Document 1: f

storing pair in Solr document

2009-08-09 Thread Ninad Raut
Hi, I have a Entitiy and a Value associated with it. I want to store this value as a pair in Solr. I have a Java Object which I am mapping to Solr Doc using org.apache.solr.client.solrj.beans.Field . Can I also store a Map? and how can I do so? This is how I want it to be done: @Field Map entity;

Re: storing pair in Solr document

2009-08-09 Thread Avlesh Singh
You can have a dynamicField in your schema called "entity_*" and map it to the your corresponding data structure in this way: @Field ("entity_*") Map entity; The key would be your fieldName (other than the "entity_"). SOLR-1129 will give you more i

Re: storing pair in Solr document

2009-08-09 Thread Ninad Raut
Hi Avlesh, Can we use SimpleOrderedMap? It seems deprecated. Is it safe to use , and how is going to be mapped to the field? @Field("ne") SimpleOrderedMap ne = new SimpleOrderedMap(); wont work right?? On Mon, Aug 10, 2009 at 11:36 AM, Avlesh Singh wrote: > You can have a dynamicField in your

Re: Embedded Solr Clustering

2009-08-09 Thread Shalin Shekhar Mangar
On Mon, Aug 10, 2009 at 3:57 AM, born2fish wrote: > > Hi everyone, > > We have a web app that uses embedded solr for better performance. I would advise against it. We use Solr on sites with millions of page views a month on HTTP. With HTTP keep-alives, the overhead of an http request is minimal

Re: Guide to using SolrQuery object

2009-08-09 Thread Aleksander M. Stensby
You'll find the available parameters in various interfaces in the package org.apache.solr.common.params.* For instance: import org.apache.solr.common.params.FacetParams; import org.apache.solr.common.params.ShardParams; import org.apache.solr.common.params.TermVectorParams; As a side note to w