Re: FunctionQuery score=0

2011-11-20 Thread John
After playing some more with this I managed to get what I want, almost. My query now looks like: q={!frange l=0 incl=false}query({!type=edismax qf=abstract^0.02 title^0.08 categorysearch^0.05 boost='eqsim(alltokens,xyz)' v='+tokens5:xyz '}) With the above query, I am getting only the results

Re: Performance issues

2011-11-20 Thread Govind @ Gmail
http://www.lucidimagination.com/content/scaling-lucene-and-solr Has good guidance. Wrt 1. What is the issue - mem, cpu or query perf or indexing process On Nov 20, 2011, at 11:39 AM, Lalit Kumar 4 lkum...@sapient.com wrote: Hello: We recently have seen performance issues of SOLR (running

Re: Performance issues

2011-11-20 Thread Lalit Kumar 4
The search with couple of parameters bringing 650 counts(out of 2500 approx) and taking around 30 seconds The schema.xml have more than 100 fields. -Original Message- From: Govind @ Gmail govind.kan...@gmail.com Date: Sun, 20 Nov 2011 15:01:04 To:

Re: Performance issues

2011-11-20 Thread Tor Henning Ueland
On Sun, Nov 20, 2011 at 11:27 AM, Lalit Kumar 4 lkum...@sapient.com wrote: The search with couple of parameters bringing 650 counts(out of 2500 approx) and taking around 30 seconds The schema.xml have more than 100 fields. You have of course started with the basics like making sure that the

how to transform a URL (newbie question)

2011-11-20 Thread Bent Jensen
I am a beginner to solr and need to ask the following: Using the apache-solr example, how can I display an url in the xml document as an active link/url in http? Do i need to add some special transform in the example.xslt file? thanks Ben - No virus found in this message. Checked by AVG -

Re: how to transform a URL (newbie question)

2011-11-20 Thread Erik Hatcher
Ben, Not quite sure how to interpret what you're asking here. Are you speaking of the /browse view? If so, you can tweak the templates under conf/velocity to make links out of things. But generally, it's the end application that would take the results from Solr and render links as

RE: how to transform a URL (newbie question)

2011-11-20 Thread Bent Jensen
Erik, OK, I will look at that. Basically, what I amtrying to do is to index a document with lots of URLs. I also index the url and give it a field type. Don't know much about solr yet, but though maybe I can transform the url to an active link, i.e. 'a href'. I tried putting the href into the xml

Re: Only a subset of edismax pf fields are used for the phrase part DisjunctionMaxQuery

2011-11-20 Thread Erick Erickson
Could we see the schema definitions for the fields in question? And the solrconfig for the handler, and the query you actually send? Best Erick On Fri, Nov 18, 2011 at 6:33 AM, Jean-Claude Dauphin jc.daup...@gmail.com wrote: Hello, The parsedQuery is displayed as follow:

Re: wild card search and lower-casing

2011-11-20 Thread Erick Erickson
As it happens I'm working on SOLR-2438 which should address this. This patch will provide two things: The ability to define a new analysis chain in your schema.xml, currently called multiterm that will be applied to queries of various sorts, including wildcard, prefix, range. This will be

Re: Solr filterCache size settings...

2011-11-20 Thread Erick Erickson
Each fq will create a bitmap that is bounded by (maxdocs / 8) bytes. You can think of the entries in the fiterCache as a map where the key is the filter query you specify and the value is the aforementioned bitmap. The number of entries specified in the config file is the number of entries in

Re: Can files be faceted based on their size ?

2011-11-20 Thread Erick Erickson
Well, I wouldn't store it as a string in the first place. Otherwise, you're right, you have to store it as an entity that compares lexicographically, usually by left-padding with zeroes. But don't do that if at all possible, it's much more expensive than storing ints or longs, so can you re-index

Re: Performance issues

2011-11-20 Thread Erick Erickson
Please review: http://wiki.apache.org/solr/UsingMailingLists Best Erick On Sun, Nov 20, 2011 at 5:32 AM, Tor Henning Ueland tor.henn...@gmail.com wrote: On Sun, Nov 20, 2011 at 11:27 AM, Lalit Kumar 4 lkum...@sapient.com wrote: The search with couple of parameters bringing 650 counts(out of

Re: how to transform a URL (newbie question)

2011-11-20 Thread Erick Erickson
I think you're confusing Solr with a web app G Solr itself has nothing to do whatsoever with presenting things to the user. It just returns, as you have seen, XML (or JSON or ) formatted replies. It's up to the application layer to do something intelligent with those. That said, the

Pagination problem with group.limit=2

2011-11-20 Thread Samarendra Pratap
Hi, As per our business logic we have to show two products per company in our results. Second product should also be displayed as a normal search result, instead of more... (or +, expand) kind of nested results. *Short description*: With *group.limit=2 *option I am not able to find the exact

Re: wild card search and lower-casing

2011-11-20 Thread Dmitry Kan
Thanks Erick. Do you think the patch you are working on will be applicable as well to 3.4? Best, Dmitry On Mon, Nov 21, 2011 at 5:06 AM, Erick Erickson erickerick...@gmail.comwrote: As it happens I'm working on SOLR-2438 which should address this. This patch will provide two things: The

Re: delta-import of rich documents like word and pdf files!

2011-11-20 Thread kumar8anuj
I am using solr 3.4 and configured my DataImportHandler to get some data from MySql as well as index some rich document from the disk. This is the part of db-data-config file where i am indexing Rich text documents. entity name=resume dataSource=ds-db query=Select

Solr Performance/Architecture

2011-11-20 Thread Husain, Yavar
Number of rows in SQL Table (Indexed till now using Solr): 1 million Total Size of Data in the table: 4GB Total Index Size: 3.5 GB Total Number of Rows that I have to index: 20 Million (approximately 100 GB Data) and growing What is the best practices with respect to distributing the index?