Re: solr search

2009-11-08 Thread manishkbawne
Thanks for your replies.My problem has been resolved. It was a sql server connection problem. I declared a variable "databasename" in the dataconfig.xml file and removed the database name from url. Can anyone suggest me some good link or url for multiple indexing and spell check in solr? Manish

schema.jsp is not displaying tint types corretly

2009-11-08 Thread AHMET ARSLAN
I have a field defined tint with values 100,200,300 and -100 only. When i use admin/schema.jsp i see 5 distinct values. 0 666083 100 431176 200 234907 256 33947 300 33947 First i thought that i post wrong values. I was expecting 4 distinct values. When i query flag_value:256

synonym payload boosting

2009-11-08 Thread David Ginzburg
Hi, I have a field and a wighted synonym map. I have indexed the synonyms with the weight as payload. my code snippet from my filter *public Token next(final Token reusableToken) throws IOException * *. * *. * *.* * Payload boostPayload;* * * *for (Synonym sy

Re: synonym payload boosting

2009-11-08 Thread AHMET ARSLAN
Additionaly you need to modify your queryparser to return BoostingTermQuery, PayloadTermQuery, PayloadNearQuery etc. With these types of Queries scorePayload method invoked. Hope this helps. --- On Sun, 11/8/09, David Ginzburg wrote: > From: David Ginzburg > Subject: synonym payload boosting

Re: schema.jsp is not displaying tint types corretly

2009-11-08 Thread Erik Hatcher
maybe you indexed some documents with value 256, but then deleted them? try optimizing to get the terms removed. Erik On Nov 8, 2009, at 6:11 AM, AHMET ARSLAN wrote: I have a field defined tint with values 100,200,300 and -100 only. When i use admin/schema.jsp i see 5 distinct value

Re: schema.jsp is not displaying tint types corretly

2009-11-08 Thread AHMET ARSLAN
> maybe you indexed some documents with > value 256, but then deleted them?  try optimizing to > get the terms removed. I am running full-import with DIH. No deletions. And domain of this type is exactly 100,200,300 and -100. I am using this SQL query to fetch that field: SELECT CASE WHEN ... TH

Getting started with DIH

2009-11-08 Thread Michael Lackhoff
I would like to start using DIH to index some RSS-Feeds and mail folders To get started I tried the RSS example from the wiki but as it is Solr complains about the missing id field. After some experimenting I found out two ways to fill the id: - in schema.xml This works but isn't very flexible.

Re: Getting started with DIH

2009-11-08 Thread Lucas F. A. Teixeira
You have an example on using mail dih in solr distro []s, Lucas Frare Teixeira .·. - lucas...@gmail.com - lucastex.com.br - blog.lucastex.com - twitter.com/lucastex On Sun, Nov 8, 2009 at 1:56 PM, Michael Lackhoff wrote: > I would like to start using DIH to index some RSS-Feeds and mail folder

Re: Getting started with DIH

2009-11-08 Thread Michael Lackhoff
On 08.11.2009 17:03 Lucas F. A. Teixeira wrote: > You have an example on using mail dih in solr distro Don't know where my eyes were. Thanks! When I was at it I looked at the schema.xml for the rss example and it uses "link" as UniqueKey, which is of course good, if you only have rss items but n

Re: Getting started with DIH

2009-11-08 Thread Lucas F. A. Teixeira
If I'm not wrong, you can have several entities in one document, but just one datasource configured. []sm Lucas Frare Teixeira .·. - lucas...@gmail.com - lucastex.com.br - blog.lucastex.com - twitter.com/lucastex On Sun, Nov 8, 2009 at 3:36 PM, Michael Lackhoff wrote: > On 08.11.2009 17:03 Lu

Re: tracking solr response time

2009-11-08 Thread bharath venkatesh
Thanks Lance for the clear explanation .. are you saying we should give solr JVM enough memory so that os cache can optimize disk I/O efficiently .. that means in our case we have 16 GB index so would it be enough to allocated solr JVM 20GB memory and rely on the OS cache to optimize disk I/O

Re: Desenvolvedores no Rio de Janeiro - Brasil

2009-11-08 Thread Renato Alves
> > Prezados, > > Algum membro da lista trabalha como freelancer, no Rio de Janeiro, em > desenvolvimentos de sites com navegação facetada no Solr 1.4? > > Um abraço, > Renato. >

Re: Solr Replication: How to restore data from last snapshot

2009-11-08 Thread Chris Hostetter
: Subject: Solr Replication: How to restore data from last snapshot : References: <8950e934db69a040a1783438e67293d813da3f6...@delmail.sapient.com> : <26230840.p...@talk.nabble.com> : : In-Reply-To: http://people.apache.org/~hossman/#threadhijack Thread Hijacking on Mailing Lists When sta

Re: dismax + wildcard

2009-11-08 Thread Chris Hostetter
: Subject: dismax + wildcard : References: <3c9e9890-e1e9-43b0-bd01-b9fa4a77f...@gmail.com> : : : In-Reply-To: http://people.apache.org/~hossman/#threadhijack Thread Hijacking on Mailing Lists When starting a new discussion on a mailing list, please do not reply to an existing message

Re: schema.jsp is not displaying tint types corretly

2009-11-08 Thread Chris Hostetter
: I have a field defined tint with values 100,200,300 and -100 only. i assume you mean that tint is a solr.TrieIntField, probably with precisionStep="8" ? : When i use admin/schema.jsp i see 5 distinct values. ... : First i thought that i post wrong values. I was expecting 4 distinct va

Re: schema.jsp is not displaying tint types corretly

2009-11-08 Thread AHMET ARSLAN
> I'm not an expert on Trie fields, but you need to remember > that schema.jsp > shows you the *indexed* values, and the whole point of > TrieFields is to > create multiple indexed values at various levels of > precision so that > range queries can be much faster. > > : When i query flag_val

Re: schema.jsp is not displaying tint types corretly

2009-11-08 Thread Chris Hostetter
: So we can say that it is normal to see weird vaules in schema.jsp for trie types. Thanks for the explanations. it's normal to see weird values in schema.jsp for all types, trie, stemmed, etc... -Hoss

using different field for search and boosting

2009-11-08 Thread darniz
hello i wanted to know if its possible to search on one field and provide boosting relevancy on other fields. For example if i have fields like make, model, description etc and all are copied to text field. So can i define a handler where i do a search on text field but can define relevancy model

Segment file not found error - after replicating

2009-11-08 Thread Maduranga Kannangara
Hi guys, We use Solr 1.3 for indexing large amounts of data (50G avg) on Linux environment and use the replication scripts to make replicas those live in load balancing slaves. The issue we face quite often (only in Linux servers) is that they tend to not been able to find the segment file (se

RE: Solr Replication: How to restore data from last snapshot

2009-11-08 Thread Osborn Chan
What happen if it is multiple core? Thanks -Original Message- From: noble.p...@gmail.com [mailto:noble.p...@gmail.com] On Behalf Of Noble Paul ??? ?? Sent: Friday, November 06, 2009 10:49 PM To: solr-user@lucene.apache.org Subject: Re: Solr Replication: How to restore data from l

Re: Getting started with DIH

2009-11-08 Thread Michael Lackhoff
On 08.11.2009 16:56 Michael Lackhoff wrote: > What didn't work but looks like the potentially best solution is to fill > the id in my data-config by using the link twice: > > > This would be a definition just for this single data source but I don't > get any docs (also no error message). No

Re: Getting started with DIH

2009-11-08 Thread Erik Hatcher
The brackets probably come from it being transformed as an array. Try saying multiValued="false" on your specifications. Erik On Nov 9, 2009, at 12:34 AM, Michael Lackhoff wrote: On 08.11.2009 16:56 Michael Lackhoff wrote: What didn't work but looks like the potentially best solut

Re: Getting started with DIH

2009-11-08 Thread Michael Lackhoff
On 09.11.2009 06:54 Erik Hatcher wrote: > The brackets probably come from it being transformed as an array. Try > saying multiValued="false" on your specifications. Indeed. Thanks Erik that was it. My first steps with DIH showed me what a powerful tool this is but although the DIH wiki page

Re: Getting started with DIH

2009-11-08 Thread Noble Paul നോബിള്‍ नोब्ळ्
This one is kind of a hack. So I have opened an issue. https://issues.apache.org/jira/browse/SOLR-1547 On Mon, Nov 9, 2009 at 12:43 PM, Michael Lackhoff wrote: > On 09.11.2009 06:54 Erik Hatcher wrote: > >> The brackets probably come from it being transformed as an array.  Try >> saying multiVa

Re: Getting started with DIH

2009-11-08 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Mon, Nov 9, 2009 at 12:43 PM, Michael Lackhoff wrote: > On 09.11.2009 06:54 Erik Hatcher wrote: > >> The brackets probably come from it being transformed as an array.  Try >> saying multiValued="false" on your specifications. > > Indeed. Thanks Erik that was it. > > My first steps with DIH sho

Re: Getting started with DIH

2009-11-08 Thread Michael Lackhoff
On 09.11.2009 08:20 Noble Paul നോബിള്‍ नोब्ळ् wrote: > It just started of as a single page and the features just got piled up > and the page just bigger. we are thinking of cutting it down to > smaller more manageable pages Oh, I like it the way it is as one page, so that the browser full text s

Re: Getting started with DIH

2009-11-08 Thread Noble Paul നോബിള്‍ नोब्ळ्
The tried and tested strategy is to post the question in this mailing list w/ your data-config.xml. On Mon, Nov 9, 2009 at 1:08 PM, Michael Lackhoff wrote: > On 09.11.2009 08:20 Noble Paul നോബിള്‍ नोब्ळ् wrote: > >> It just started of as a single page and the features just got piled up >> and th

How to import multiple RSS-feeds with DIH

2009-11-08 Thread Michael Lackhoff
[A new thread for this particular problem] On 09.11.2009 08:44 Noble Paul നോബിള്‍ नोब्ळ् wrote: > The tried and tested strategy is to post the question in this mailing > list w/ your data-config.xml. See my data-config.xml below. The first is the usual slashdot example with my 'id' addition, the