Re: Query regarding saving of Document and indexing in java

2008-07-30 Thread Shalin Shekhar Mangar
Hi Ranjeet, If you are using Solr 1.2 then you must use the step given in the wiki link else you can also upgrade to Solr 1.3 nightly build. On Thu, Jul 31, 2008 at 11:12 AM, Ranjeet <[EMAIL PROTECTED]>wrote: > Hi, > > I have refer the same section, I mean " > http://wiki.apache.org/solr/Solrj#h

Re: Query regarding saving of Document and indexing in java

2008-07-30 Thread Ranjeet
Hi, I have refer the same section, I mean "http://wiki.apache.org/solr/Solrj#head-12c26b2d7806432c88b26cf66e236e9bd6e91849 " and wrote a client to index the document, I am getting follwoing exception. I am new to Solr, Please help me, If I will switch to Solr1.3 from Solr1.2, can I resolve thi

Re: Query regarding saving of Document and indexing in java

2008-07-30 Thread Noble Paul നോബിള്‍ नोब्ळ्
If you are using SolrJ with Solr1.2 , refer the section http://wiki.apache.org/solr/Solrj#head-12c26b2d7806432c88b26cf66e236e9bd6e91849 On Thu, Jul 31, 2008 at 8:45 AM, Ranjeet <[EMAIL PROTECTED]> wrote: > Hi, > > At present its Solr1.2.. Is there any defference in indexing of document in > Sol

Re: Query regarding saving of Document and indexing in java

2008-07-30 Thread Ranjeet
Hi, At present its Solr1.2.. Is there any defference in indexing of document in Solr1.2 or Solr1.3, If we plan to migrate from solr1.2 to Solr1.3 then what are the changing required? regards, Ranjeet - Original Message - From: "Noble Paul ??? ??" <[EMAIL PROTECTED]> To: Se

Re: Using Solr for Info Retreval not so much Search...

2008-07-30 Thread Jim Murphy
*Excellent* so a custom QueryComponent it is. The Solr score doesn't factor in too much - our search needs are modest - just does it contain the keyword (or variants, stems etc) or not. So the query trims down from ~100M to 10-1. That way the more expensive filtering operates at the smaller

Re: Using Solr for Info Retreval not so much Search...

2008-07-30 Thread Chris Hostetter
: 1. Query the index for entries matching keyword. : 2. remove any entries that are below a threshold score from the external : system what do you need to sort by? .. if it's the threshold score from your external system, you have no way of avoiding a call out to your external system for every

Re: Simple mistake in Wiki

2008-07-30 Thread Chris Hostetter
: Should this refer to facet.mincount instead of facet.limit? : "The default is true if facet.limit is greater than 0, false otherwise." No ... if you are limiting the number of total facet constraints you are interested in to N, then we assume you want to sort them and get the highest N. (as

Re: big discrepancy between elapsedtime and qtime although enableLazyFieldLoading= true

2008-07-30 Thread Britske
Funtick wrote: > > > Britske wrote: >> >> - Rows in solr represent productcategories. I will have up to 100k of >> them. >> - Each product category can have 10k products each. These are encoded as >> the 10k columns / fields (all 10k fields are int values) >> > > You are using multivalued

Understanding Filters

2008-07-30 Thread Jim Murphy
I'm still trying to filter my search results with external data. I have ~100 million documents in the index. I want to use the power of lucene to knock that index down to 10-100 with keyword searching and a few other regular query terms. With that smaller subset I'd like to apply a filter based

Re: Query regarding saving of Document and indexing in java

2008-07-30 Thread Fuad Efendi
Verify that schema.xml and your document fields are in-sync... Your stacktrace looks strange... NamedListCodec.unmarshal(NamedListCodec.java:86) - where is java.lang.Long? Quoting Ranjeet <[EMAIL PROTECTED]>: Hi Shalin, I have written Client to index the document, but unfortunatly getti

Re: Multiple Update servers

2008-07-30 Thread Shalin Shekhar Mangar
Hi Rakesh, Solr ships with a set of collection distribution scripts (rsync based) which can be used to setup master-slave replication. I believe most people use them for transferring index from master to slaves and use separate local filesystems on their servers. Take a look at http://wiki.apache

Re: Multiple Update servers

2008-07-30 Thread Alexander Ramos Jardim
I use the snapshooter with rsync 2008/7/29 Rakesh Godhani <[EMAIL PROTECTED]> > After Matthew's comment I was thinking about putting them both behind a > load > balancer, with the LB directing all traffic to one until it fails and then > kick over to the other one. > > In your architectures I'm g

Re: big discrepancy between elapsedtime and qtime although enableLazyFieldLoading= true

2008-07-30 Thread Funtick
Funtick wrote: > > > Britske wrote: >> >> - Rows in solr represent productcategories. I will have up to 100k of >> them. >> - Each product category can have 10k products each. These are encoded as >> the 10k columns / fields (all 10k fields are int values) >> > > You are using multivalued

Re: big discrepancy between elapsedtime and qtime although enableLazyFieldLoading= true

2008-07-30 Thread Funtick
Britske wrote: > > - Rows in solr represent productcategories. I will have up to 100k of > them. > - Each product category can have 10k products each. These are encoded as > the 10k columns / fields (all 10k fields are int values) > You are using multivalued fields, you are not using 10k fie

Re: Query regarding saving of Document and indexing in java

2008-07-30 Thread Noble Paul നോബിള്‍ नोब्ळ्
is the server Solr1.2 or Solr1.3? On Wed, Jul 30, 2008 at 9:57 PM, Ranjeet <[EMAIL PROTECTED]> wrote: > Hi Shalin, > > I have written Client to index the document, but unfortunatly getting an > exception. I have attached source code of client and exception, please guide > me where I am doing mista

Re: Query regarding saving of Document and indexing in java

2008-07-30 Thread Ranjeet
Hi Shalin, I have written Client to index the document, but unfortunatly getting an exception. I have attached source code of client and exception, please guide me where I am doing mistake. getting "java.lang.ClassCastException: java.lang.Long" Thanks & Regards, Ranjeet - Original Mess

Re: big discrepancy between elapsedtime and qtime although enableLazyFieldLoading= true

2008-07-30 Thread Britske
Hi Fuad, Funtick wrote: > > > Britske wrote: >> >> When performing these queries I notice a big difference between qTime >> (which is mostly in the 15-30 ms range due to caching) and total time >> taken to return the response (measured through SolrJ's elapsedTime), >> which takes between 500

Re: big discrepancy between elapsedtime and qtime although enableLazyFieldLoading= true

2008-07-30 Thread Funtick
Britske wrote: > > When performing these queries I notice a big difference between qTime > (which is mostly in the 15-30 ms range due to caching) and total time > taken to return the response (measured through SolrJ's elapsedTime), which > takes between 500-1600 ms. > Documents have a lot of st

Question about ValueSource and large datasets

2008-07-30 Thread Jim Murphy
I'm looking to incorporate an external calculation in Solr/Lucene search results. I'd like to write queries that filter and sort on the value of this "virtual field". The value of the field is actually calculated at runtime based on a remote call to an external system. My Solr queries will incl

Re: Help with queries

2008-07-30 Thread Vaijanath N. Rao
Hi Shalin and Erik, DisMax works for me. --Thanks and Regards Vaijanath Erik Hatcher wrote: On Jul 30, 2008, at 9:17 AM, Vaijanath N. Rao wrote: Hi Solr-users, I have few fields in solr, for example let name them f1,f2,f3 of which f3 is set a default field. We have different boost for the d

Re: Help with queries

2008-07-30 Thread Erik Hatcher
On Jul 30, 2008, at 9:17 AM, Vaijanath N. Rao wrote: Hi Solr-users, I have few fields in solr, for example let name them f1,f2,f3 of which f3 is set a default field. We have different boost for the different fields. What I need is if someone types in a query let say x. I want solr to rank

Re: Help with queries

2008-07-30 Thread Shalin Shekhar Mangar
If you use DisMax ( http://wiki.apache.org/solr/DisMaxRequestHandler ), then you can set the "qf" parameter in solrconfig.xml to all three fields. On Wed, Jul 30, 2008 at 6:47 PM, Vaijanath N. Rao <[EMAIL PROTECTED]>wrote: > Hi Solr-users, > > I have few fields in solr, for example let name them

Help with queries

2008-07-30 Thread Vaijanath N. Rao
Hi Solr-users, I have few fields in solr, for example let name them f1,f2,f3 of which f3 is set a default field. We have different boost for the different fields. What I need is if someone types in a query let say x. I want solr to rank the documents based on how x appeared on all the fields

Re: Query regarding saving of Document and indexing in java

2008-07-30 Thread Shalin Shekhar Mangar
Hi Ranjeet, You can use Solrj which is a java client for Solr. See http://wiki.apache.org/solr/Solrj for more details. On Wed, Jul 30, 2008 at 5:50 PM, Ranjeet <[EMAIL PROTECTED]>wrote: > Hi, > > In our case Application and Solr are running in different server in > different system. I am trying

Query regarding saving of Document and indexing in java

2008-07-30 Thread Ranjeet
Hi, In our case Application and Solr are running in different server in different system. I am trying to prepare the Document from Application to save xml document in solr context and indexing the same document from our Application. Any one has idea, how to save in different IP and how to index

Re: big discrepancy between elapsedtime and qtime although enableLazyFieldLoading= true

2008-07-30 Thread Britske
Currently, I can't say what the data actualle represents but the analogy of t Mike Klaas wrote: > > On 28-Jul-08, at 11:16 PM, Britske wrote: > >> >> That sounds interesting. Let me explain my situation, which may be a >> variant >> of what you are proposing. My documents contain more than