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

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

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 da...@digitaltrowel.com wrote: From: David Ginzburg

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

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 ... THEN

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: - copyField source=link dest=id/ in schema.xml This

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 mich...@lackhoff.dewrote: I would like to start using DIH to index some

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 blushDon't know where my eyes were. Thanks!/blush 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

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 mich...@lackhoff.dewrote: On

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 : f4d979d0911061116l14fa3a49sc5a71d855857c...@mail.gmail.com : In-Reply-To:

Re: dismax + wildcard

2009-11-08 Thread Chris Hostetter
: Subject: dismax + wildcard : References: 3c9e9890-e1e9-43b0-bd01-b9fa4a77f...@gmail.com : f19741740911040644p7303c611k99759fe19ebd9...@mail.gmail.com : c864b97d-3368-4244-94a1-5bd2ed74e...@gmail.com : In-Reply-To: c864b97d-3368-4244-94a1-5bd2ed74e...@gmail.com

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

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_value:256 i

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

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

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: field column=link xpath=/RDF/item/link / field column=id xpath=/RDF/item/link / This would be a

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 field 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

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 field 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

Re: Getting started with DIH

2009-11-08 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Mon, Nov 9, 2009 at 12:43 PM, Michael Lackhoff mich...@lackhoff.de 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 field specifications. Indeed. Thanks Erik that was it. My first steps

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

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 mich...@lackhoff.de wrote: On 09.11.2009 08:20 Noble Paul നോബിള്‍ नोब्ळ् wrote: It just started of as a single page and the features just got

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