caching

2009-03-23 Thread revas
If i don't explicity set any default query in the solrconfig.xml for caching and make use of the default config file,does solr do the caching automatically based on the query? Thanks

Re: javabin vs xml

2009-03-23 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Tue, Mar 24, 2009 at 9:57 AM, Gargate, Siddharth wrote: > Hi, >    I just want to clear few things. > As far as I know, javabin is the default format used by SolrJ while > searching. > And for update requests default format is XML; XMLUpdateRequestHandler > is used. > If we set the request writ

Re: Delta import

2009-03-23 Thread Noble Paul നോബിള്‍ नोब्ळ्
not possible really, that may not be useful to a lot of users because there may be too many changed ids and the 'IN' part can be really long. You can raise an issue anyway On Mon, Mar 23, 2009 at 9:30 PM, AlexxelA wrote: > > I'm using the delta-import command. > > Here's the deltaQuery and de

Re: Problem for replication : segment optimized automaticly

2009-03-23 Thread Noble Paul നോബിള്‍ नोब्ळ्
if the DIH status does not say that it optimized, it is lucene mergeing the segments On Mon, Mar 23, 2009 at 8:15 PM, sunnyfr wrote: > > I checked this out but It doesn't say nothing about optimizing. > I'm sure it's lucene part about merging or I don't know ...?? > > > Noble Paul നോബിള്‍  नोब्ळ्

javabin vs xml

2009-03-23 Thread Gargate, Siddharth
Hi, I just want to clear few things. As far as I know, javabin is the default format used by SolrJ while searching. And for update requests default format is XML; XMLUpdateRequestHandler is used. If we set the request writer to BinaryRequestWriter then update request is in javabin format and B

Re: BOSTing FIELDS in SCHEMA.XML

2009-03-23 Thread Erik Hatcher
Right now you'll have to set the boosts from your indexing client, or dismax dynamically from the querying side of things, or Lucene query parser^boosting. Erik On Mar 23, 2009, at 5:22 PM, Kraus, Ralf | pixelhouse GmbH wrote: Hi, is there a chance to set boosting directly in my s

Re: Dismax: why is "+term1 term2" equivalent to "+term1"??

2009-03-23 Thread Bill Dueber
Yeah, I realized after sending my note that (a) I'm an idiot, and (b) ... well, there's no (b). On Mon, Mar 23, 2009 at 4:24 PM, Otis Gospodnetic < otis_gospodne...@yahoo.com> wrote: > > Bill, > > You said you are actually getting only the "notes" part of your query, but > you clearly get the "na

Sorry

2009-03-23 Thread Vernon Chapman
Wrong List Folks

Weirdness in 1052

2009-03-23 Thread Vernon Chapman
Hello All, I checked out a fresh version of 1052 I copied the database.example and solr.example to database.yml & solr.yml I have a multicore external solr instance and so I changed the urls in the solr.yml file to reflect that. I have changed all the url to http://localhost:8080/solr/content.

Re: filter query usage - equivalent of SQL IN?

2009-03-23 Thread Jonathan Haddad
Worked like a charm. Thanks. Jon On Mon, Mar 23, 2009 at 2:09 PM, Yonik Seeley wrote: > On Mon, Mar 23, 2009 at 5:00 PM, Jonathan Haddad > wrote: >> Using a filter query, is it possible to specify a list of values that >> a field must satisfy one of? > > It's not currently possible to specify

Re: filter query usage - equivalent of SQL IN?

2009-03-23 Thread Yonik Seeley
On Mon, Mar 23, 2009 at 5:00 PM, Jonathan Haddad wrote: > Using a filter query, is it possible to specify a list of values that > a field must satisfy one of? It's not currently possible to specify them in separate filters (fq params)... one must combine them into a single filter query. fq=myfie

filter query usage - equivalent of SQL IN?

2009-03-23 Thread Jonathan Haddad
Using a filter query, is it possible to specify a list of values that a field must satisfy one of? The use case is searching within multiple categories in a taxonomy. Thanks in advance. -- Jonathan Haddad http://www.rustyrazorblade.com

Re: BOSTing FIELDS in SCHEMA.XML

2009-03-23 Thread Yonik Seeley
On Mon, Mar 23, 2009 at 12:22 PM, Kraus, Ralf | pixelhouse GmbH wrote: > Hi, > > is there a chance to set boosting directly in my schema.xml ? Query time boosts are much more flexible. Actual index-time boosts should normally only be used to boost certain documents over other documents. If you

Re: Calculating similarity of values that contain a mix of text and numerics

2009-03-23 Thread Otis Gospodnetic
Not out of the box. You may be able to achieve this with a custom Function Query (info on zee Wiki). Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message > From: Aidan > To: solr-user@lucene.apache.org > Sent: Monday, March 23, 2009 10:56:43 AM > Sub

Re: Have query on wildchar.

2009-03-23 Thread Otis Gospodnetic
Hi, If your default is set to AND in the config, then you don't need to specify it in the "q" parameter. "AND" and "and" are not the same. Boolean operator is "AND" and is case sensitive as far as the query parser is concerned. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutc

Re: BOSTing FIELDS in SCHEMA.XML

2009-03-23 Thread Otis Gospodnetic
Ralf, You can set the boost at index time, yes. If you are feeing XML (as in exampledocs/), you should be able to pass the boost as the field element's attribute. Google solr add field boost xml shows this as #1 hit: http://wiki.apache.org/solr/UpdateXmlMessages#head-8315b8028923d028950ff750a

Re: Dismax: why is "+term1 term2" equivalent to "+term1"??

2009-03-23 Thread Otis Gospodnetic
Bill, You said you are actually getting only the "notes" part of your query, but you clearly get the "nature" part as well (it's just that it's not required): +(+(title:note)~0.01 (title:natur)~0.01) () Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message

Dismax: why is "+term1 term2" equivalent to "+term1"??

2009-03-23 Thread Bill Dueber
I'm using the dismax handler and don't understand the results I'm getting. Scouring the archives makes me believe that I am, in fact, the only one who doesn't get this. Using dismax search on a single field (title), I would expect that the query +notes nature would be read as "Must include 'no

BOSTing FIELDS in SCHEMA.XML

2009-03-23 Thread Kraus, Ralf | pixelhouse GmbH
Hi, is there a chance to set boosting directly in my schema.xml ? multivalued="true" omitNorms="false" boost="2" /> multivalued="true" omitNorms="false" boost="1.5f" /> multivalued="true" omitNorms="false" boost="0.5f" /> I want do it directly in the index and not in my query ! G

Delta import

2009-03-23 Thread AlexxelA
I'm using the delta-import command. Here's the deltaQuery and deltaImportQuery i use : select uid from profil_view where last_modified > '${dataimporter.last_index_time}' select * from profil_view where uid='${dataimporter.delta.uid} When i look at the delta import status i see that the total

Re:

2009-03-23 Thread Yonik Seeley
So this is only one slave that hangs up and not the master? Can you get thread dumps on both the master and the slave during a hang? -Yonik http://www.lucidimagination.com On Mon, Mar 23, 2009 at 10:44 AM, Jeff Newburn wrote: > We are having an intermittent problem with replication. We reindex

Calculating similarity of values that contain a mix of text and numerics

2009-03-23 Thread Aidan
I want to store name-value pairs in a multi-valued field, e.g. properties: "length 42", "height 12", "width 20" Is there a way of comparing similar documents with these part text/part numeric fields so that closer numeric values are scored higher?

Re: Problem for replication : segment optimized automaticly

2009-03-23 Thread sunnyfr
Where do you see that I can maybe check in my code, is it in updateHandler2 ? thanks, Shalin Shekhar Mangar wrote: > > Lucene will automatically merge segments when they exceed the mergeFactor. > This may be one reason but I'm not sure. > > I checked DataImportHandler's code again. It won't o

Re: Problem for replication : segment optimized automaticly

2009-03-23 Thread sunnyfr
Obviously mine yes ... :s Shalin Shekhar Mangar wrote: > > Lucene will automatically merge segments when they exceed the mergeFactor. > This may be one reason but I'm not sure. > > I checked DataImportHandler's code again. It won't optimize if > optimize=false is specified. > > On Mon, Mar 2

Re: Problem for replication : segment optimized automaticly

2009-03-23 Thread sunnyfr
I checked this out but It doesn't say nothing about optimizing. I'm sure it's lucene part about merging or I don't know ...?? Noble Paul നോബിള്‍ नोब्ळ् wrote: > > the easiest way to find out what DIH did is to hit it's status > command. It will give you a brief description of what all it did

solr-user@lucene.apache.org

2009-03-23 Thread Jeff Newburn
We are having an intermittent problem with replication. We reindex nightly which usually means there are 2 commits during replication then a final commit/optimize at the end. For some reason the replication will hang occasionally with the following screenshot. This is frustrating as it will compl

RE: Error when execute the solrj client

2009-03-23 Thread Radha C.
Thanks for your reply. The problem was server instance. I configured different version of tomcat which does not have the solr server in my net beans. I changed the tomcat in which solr server runs. Now it works. -Original Message- From: Noble Paul നോബിള്‍ नोब्ळ् [mailto:noble.p...@g

Re: Error when execute the solrj client

2009-03-23 Thread Noble Paul നോബിള്‍ नोब्ळ्
just hit solr with a browser with the url http://localhost:8080/solr/select?q=Glenn and see if it works. --Noble On Mon, Mar 23, 2009 at 4:36 PM, Radha C. wrote: > I am getting the following error when executing solrj client. > > Can anyone aware of this error, any help will be great. Thanks in a

Error when execute the solrj client

2009-03-23 Thread Radha C.
I am getting the following error when executing solrj client. Can anyone aware of this error, any help will be great. Thanks in advance. org.apache.solr.client.solrj.SolrServerException: Error executing query at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.jav

Have query on wildchar.

2009-03-23 Thread Kalidoss MM
Hi, In my schema, I have Tags, AdTags and am giving the search like. ?q=(Tags: anton* and AdTags: Funn*) my schema query parser is : So Is it required to give the 'and' in the query?? Is yes is there any difference b/w giving 'AND' & 'and' (case sensitive), Please let me know. When am giving

RE: How to use standalone solrj client

2009-03-23 Thread Radha C.
Hi, I have written my solrj client with the maven build structure. I want to download the dependant solrj jar files from SVN. Can anyone please tel me is there any common svbn repository for solr related files. Thanks -Original Message- From: Radha C. [mailto:cra...@ceiindia.com] Se

How to use standalone solrj client

2009-03-23 Thread Radha C.
Can anyone tell me how to use the solrj Java client? I have wriiten a simple standalone main() class. My solr home and server is there in tomcat. I am not sure how to test my solrj client. Thanks, Radha.C

Response schema for an update.

2009-03-23 Thread Pierre-Yves LANDRON
Hello everyone, Is there a way to configure a response schema for an update request ; All i've got after sending a commit to solr via curl is an HTML page that I can't parse to analyze the exact status of the response... Here what is said on the subject in the solr config file : "The response

RE: multiple values encountered for non multiValued copy field

2009-03-23 Thread Radha C.
That works thanks! _ From: Shalin Shekhar Mangar [mailto:shalinman...@gmail.com] Sent: Monday, March 23, 2009 2:11 PM To: solr-user@lucene.apache.org; cra...@ceiindia.com Subject: Re: multiple values encountered for non multiValued copy field multiValued should be camel cased but in yo

Re: multiple values encountered for non multiValued copy field

2009-03-23 Thread Shalin Shekhar Mangar
multiValued should be camel cased but in your schema it is in lowercase. On Mon, Mar 23, 2009 at 1:57 PM, Radha C. wrote: > Hi, > > I am having mutivalued field "all" in my schema.xml . But it is not > identified and got below error. > Can anyone help me with this.. > > > > omitNorms="true"

multiple values encountered for non multiValued copy field

2009-03-23 Thread Radha C.
Hi, I am having mutivalued field "all" in my schema.xml . But it is not identified and got below error. Can anyone help me with this.. person_id all INFO: Time taken for getConnection(): 360 Mar 23, 2009 1:51:25 PM org.apache.solr.handler.dataimpor

RE: Do I need maven build for solrj client?

2009-03-23 Thread Radha C.
Much Thanks ! -Original Message- From: Giovanni De Stefano [mailto:giovanni.destef...@gmail.com] Sent: Monday, March 23, 2009 1:34 PM To: solr-user@lucene.apache.org Subject: Re: Do I need maven build for solrj client? Hello, I have found this simple tutorial here: http://fisk.stjern

Re: Do I need maven build for solrj client?

2009-03-23 Thread Giovanni De Stefano
Hello, I have found this simple tutorial here: http://fisk.stjernesludd.net/archives/2-Using-Solrj-A-short-guide-to-getting-started-with-Solrj.html Maybe it helps... Cheers, Giovanni On 3/22/09, Shalin Shekhar Mangar wrote: > > On Sun, Mar 22, 2009 at 11:54 PM, radha c wrote: > > > Hi, > >

Re: directly communicate with solr with java

2009-03-23 Thread Giovanni De Stefano
Hello Julian, perhaps you are looking for Solrj: http://wiki.apache.org/solr/Solrj http://fisk.stjernesludd.net/archives/2-Using-Solrj-A-short-guide-to-getting-started-with-Solrj.html Cheers, Giovanni On 3/22/09, Julian Davchev wrote: > > Hi, > I got solr setup working smoothly with tomcat a

Re: Field tokenizer question

2009-03-23 Thread Giovanni De Stefano
Hello Ashish, as far as I know solr.StrField is not analized but it is indexed as is (verbatim). Cheers, Giovanni On 3/23/09, Ashish P wrote: > > > Hey it works. Can you please tell me the reason?? > Thanks, > Ashish > > Koji Sekiguchi-2 wrote: > > > > Ashish P wrote: > >> I have created a fie