Re: do SearchComponents have access to response contents

2013-04-05 Thread xavier jmlucjav
I knew I could do that at jetty level with a servlet for instance, but the user wants to do this stuff inside solr code itself. Now that you mention the logs...that could be a solution without modifying the webapp... thanks for the input! xavier On Fri, Apr 5, 2013 at 7:55 AM, Amit Nithian wrot

Re: performance on concurrent search request

2013-04-05 Thread Anatoli Matuskova
Does anyone know how is this implemented? -- View this message in context: http://lucene.472066.n3.nabble.com/performance-on-concurrent-search-request-tp4053182p4054030.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: how to avoid single character to get indexed for directspellchecker dictionary

2013-04-05 Thread Rohan Thakur
hi james I have tried using length filter factory as well but it seems that it is removing the single character from the index but when I qeuery for delll it is still giving dell l in suggestions this I think is due to querying the term like dell l solr can find the result as in it will tokenise

solr spell suggestions help

2013-04-05 Thread Rohan Thakur
hi all I had some issues with solr spell suggestions. 1) first of all I wanted to know is indexbased spell suggestions better then directspell suggestions that solr 4.1 provides in any way? 2) then I wanted to know is their way I can get suggestions for words providing only few prefix for the w

Solr Collection's Size

2013-04-05 Thread Ranjith Venkatesan
Hi, I am new to solr. I want to find size of collection dynamically via solrj. I tried many ways but i couldnt succeed in any of those. Pls help me with this issue. Thanks in advance Ranjith Venkatesan -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Collection-s-Siz

Re: Solr Collection's Size

2013-04-05 Thread Jack Krupansky
Query for "*:*" and look at the number of documents found. -- Jack Krupansky -Original Message- From: Ranjith Venkatesan Sent: Friday, April 05, 2013 2:06 AM To: solr-user@lucene.apache.org Subject: Solr Collection's Size Hi, I am new to solr. I want to find size of collection dynami

Score after boost & before

2013-04-05 Thread abhayd
hi I am using edismax and boosting certain fields using bq during query time. I would like to compare effect of boost side by side with original score without boost. Is there anyway i can get original score without boosting? thanks abhay -- View this message in context: http://lucene.472066

Re: Need Help in Patching OPENNLP

2013-04-05 Thread Erick Erickson
Gora: Thanks for pitching in, I'm on vacation and only sporadically looking at the lists. Karthicrnair: https is the access to the writeable archive, it's been a long enough since I set things up that I don't remember if you need committer credentials or not, so try straight http (without the 's')

Re: A request handler that manipulated the index

2013-04-05 Thread Erick Erickson
I _think_, and I'm really stretching here, that you'd be OK if you shared a single index writer amongst all the requests. Having more than one index writer going against the same index is a definite no-no. But atomic updates are a request (admittedly an update request) so it must be possible, that

Re: Solr Collection's Size

2013-04-05 Thread Alexandre Rafalovitch
I'd add rows=0, just to avoid the actual records serialization if size is all that matters. Regards, Alex. Personal blog: http://blog.outerthoughts.com/ LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch - Time is the quality of nature that keeps events from happening all at once. Latel

Re: RequestHandler.. Conditional components

2013-04-05 Thread Erick Erickson
I think we need a better explanation of the issue. It's not clear whether you're talking about combining Solr & external results or just doing one or the other. Best Erick On Tue, Apr 2, 2013 at 8:30 PM, venkata wrote: > In our use cases, for certain query terms, we want to redirect the que

merging query results with ata from other source

2013-04-05 Thread Maciej Liżewski
Ok., my case is like this: I have Solr index with some documents that must be left intact. I also need to store somewhere else some data related to documents in Solr (it can be SQL database or another Solr core). In other words - I need to have some data stored independently to main Solr index (fo

Re: Flow Chart of Solr

2013-04-05 Thread Erick Erickson
Then there's my lazy method. Fire up the IDE and find a test case that looks close to something you want to understand further. Step through it all in the debugger. I admit there'll be some fumbling at the start to _find_ the test case, but they're pretty well named. In IntelliJ, all you have to do

Re: Filtering Search Cloud

2013-04-05 Thread Erick Erickson
I cannot emphasize strongly enough that you need to _prove_ you have a problem before you decide on a solution! Do you have any evidence that solrcloud can't handle the load you intend? Might a better approach be just to create more shards thus spreading the load and get all the HA/DR goodness of S

Re: Streaming search results

2013-04-05 Thread Erick Erickson
Haven't used it myself, but: https://issues.apache.org/jira/browse/SOLR-2112 seems to fit the bill at least for SolrJ. On Wed, Apr 3, 2013 at 5:20 PM, Victor Miroshnikov wrote: > Is it possible to stream search results from Solr? Seems that this feature is > missing. > > I see two options to so

Need Help for schema definition

2013-04-05 Thread contact_pub...@mail-impact.com
Hi all, well i'm totally newbies on solr, and I need some help. Ok raw definition of my needs : I have a product database, with ordinary fields to describe a product. Name, reference, description, large description, product specifications, categories etc... The needs : 1 - Being able to se

Re: merging query results with ata from other source

2013-04-05 Thread Erick Erickson
You're probably looking at two custom components. To get started, look in solrconfig.xml for first-component and last-component. BTW, writing custom components isn't all that hard once you get to the place to start... Anyway, your first component reaches out to your other data source and "does the

Re: Score after boost & before

2013-04-05 Thread Gora Mohanty
On 5 April 2013 18:11, abhayd wrote: > hi > > I am using edismax and boosting certain fields using bq during query time. > > I would like to compare effect of boost side by side with original score > without boost. Is there anyway i can get original score without boosting? Do not think that is po

Re: Score after boost & before

2013-04-05 Thread abhayd
we do that now, but thats very time consuming. Also we want our QA to have that info available on search result page in debug mode. -- View this message in context: http://lucene.472066.n3.nabble.com/Score-after-boost-before-tp4054052p4054102.html Sent from the Solr - User mailing list archi

unknown field error when indexing with nutch

2013-04-05 Thread Amit Sela
Hi all, I'm trying to run a nutch crawler and index to Solr. I'm running Nutch 1.6 and Solr 4.2. I managed to crawl and index with that Nutch version into Solr 3.6.2 but I can't seem to manage to run it with Solr 4.2 I re-built Nutch with the schema-solr4.xml and copied that file to SOLR_HOME/ex

Re: unknown field error when indexing with nutch

2013-04-05 Thread Jack Krupansky
Check your solrconfig.xml file for references to a "host" field. But maybe more importantly, make sure you use a Solr 4.1 solrconfig and merge in any of your application-specific changes. -- Jack Krupansky -Original Message- From: Amit Sela Sent: Friday, April 05, 2013 12:57 PM To:

Re: detailed Error reporting in Solr

2013-04-05 Thread Walter Underwood
It is not a bug. XML parsers are required to reject documents with undefined character entities. Try parsing it as HTML or XHTML. wunder On Apr 4, 2013, at 11:14 AM, eShard wrote: > Yes, that's it exactly. > I crawled a link with these ( ›) in each list item and solr > couldn't handle it threw

Solr 4.2.0 seems messing up with ping operaton...

2013-04-05 Thread hyrax
Hi all, I just moved from Solr 4.0.0 to Solr 4.2.0. BTW, I'm using SolrCloud (port: 8983 and 7574). So when I was trying to ping the cloud by http://localhost:8983/solr/admin/ping?wt=json, I got: {"responseHeader":{"status":0,"QTime":2,"params":{"df":"text","echoParams":"all","rows":"10","echoParam

RE: Score after boost & before

2013-04-05 Thread Swati Swoboda
http://explain.solr.pl/ might help you out with parsing out the response to see how boosts are affecting the scores. Take a look at some of the history/examples: http://explain.solr.pl/explains/7kjl0ids -Original Message- From: abhayd [mailto:ajdabhol...@hotmail.com] Sent: Friday, Apr

Solr 4.2 - Unexpected behaviour when updating a document with only id field specified in the update

2013-04-05 Thread Curtis Beattie
I am experiencing some peculiar behavior when updating a document. I'm curious whether this is "working as intended" or whether it is a defect. Allow me to articulate the problem using an example (should be easily reproducable with the "example" configuration data). The workflow is as follows: 1)

RE: Solr Multiword Search

2013-04-05 Thread skmirch
Hi James, Thanks for the very useful tips, however, I am looking for searches that produce collations. I need a functionality where someone searching for "madona" sees results for "madona" and also get collations for "madonna". So a functionality like "Did you mean" can be provided. We need exa

Re: unknown field error when indexing with nutch

2013-04-05 Thread Amit Sela
I'm using the solrconfig supplied with Sole 4.2 and I added the nutch request handler. But I keep getting the same errors. On Apr 5, 2013 8:11 PM, "Jack Krupansky" wrote: > Check your solrconfig.xml file for references to a "host" field. > > But maybe more importantly, make sure you use a Solr 4

Re: unknown field error when indexing with nutch

2013-04-05 Thread Jack Krupansky
It could also be a parameter being sent from Nutch. Check the Nutch doc for the Nutch-to-Solr interface. Maybe YOU are supposed to add a "host" field to your Solr schema. -- Jack Krupansky -Original Message- From: Amit Sela Sent: Friday, April 05, 2013 3:46 PM To: solr-user@lucene.ap

Re: Solr 4.2 - Unexpected behaviour when updating a document with only id field specified in the update

2013-04-05 Thread Shawn Heisey
On 4/5/2013 12:52 PM, Curtis Beattie wrote: I am experiencing some peculiar behavior when updating a document. I'm curious whether this is "working as intended" or whether it is a defect. Allow me to articulate the problem using an example (should be easily reproducable with the "example" configu

Re: Solr 4.2 - Unexpected behaviour when updating a document with only id field specified in the update

2013-04-05 Thread Jack Krupansky
Since you don't have any "update" attribute specified, you are doing a simple "add" - which deletes the old document with that key and replaces it with the data from the "add" document. Again: It is the presence of the "update" that turns the document into an "update", otherwise simply repla

Re: Filtering Search Cloud

2013-04-05 Thread Furkan KAMACI
Ok, I will test and give you a detailed report for it, thanks for your help. 2013/4/5 Erick Erickson > I cannot emphasize strongly enough that you need to _prove_ you have > a problem before you decide on a solution! Do you have any evidence > that solrcloud can't handle the load you intend? Mi

Re: Flow Chart of Solr

2013-04-05 Thread Furkan KAMACI
I have read books and wikis of Solr and Lucene and I had to debug the code to find which parts comes from other. I will tidy up my notes and share the pig picture flow and the detailed one. After that I will ask you for your opinions, thanks. 2013/4/5 Erick Erickson > Then there's my lazy metho

Re: Solr 4.2 - Unexpected behaviour when updating a document with only id field specified in the update

2013-04-05 Thread Curtis Beattie
Thanks Jack & Shawn. As per Jack's comment, if I add update="set" to my "id" field, solr does not remove/replace the document: curl http://localhost:1/solr/simple-collection/update?commit=true -H "Content-Type: text/xml" -d ' doc1 ' http://localhost:1/solr/simple-colle

Please add me: FuadEfendi

2013-04-05 Thread Fuad Efendi
Hi, Few months ago I was able to modify Wiki; I can't do it now, probably because http://wiki.apache.org/solr/ContributorsGroup Please add me: FuadEfendi Thanks! -- Fuad Efendi, PhD, CEO C: (416)993-2060 F: (416)800-6479 Tokenizer Inc., Canada http://www.tokenizer.ca

contributor group

2013-04-05 Thread Fuad Efendi
Hi, Please add me: FuadEfendi Thanks! -- http://www.tokenizer.ca

Re: Please add me: FuadEfendi

2013-04-05 Thread Steve Rowe
On Apr 5, 2013, at 4:34 PM, Fuad Efendi wrote: > Few months ago I was able to modify Wiki; I can't do it now, probably > because http://wiki.apache.org/solr/ContributorsGroup > > Please add me: FuadEfendi Added to solr wiki ContributorsGroup.

RE: Solr Multiword Search

2013-04-05 Thread Dyer, James
To get "did-you-mean" suggestions, use both "spellcheck.alternativeTermCount" > 0 along with "spellcheck.maxResultsForSuggest" > 0. Set this later parameter to the max # of hits you want to trigger "did-you-mean" suggestions. See http://wiki.apache.org/solr/SpellCheckComponent#spellcheck.alter

Solr 4.2.1 Branch

2013-04-05 Thread Jagdish Nomula
Hello, I was trying to get hold of solr 4.2.1 branch on github. I see https://github.com/apache/lucene-solr/tree/lucene_solr_4_2. I don't see any branch for 4.2.1. Am i missing anything ?. Thanks in advance for your help. -- ***Jagdish Nomula* Sr. Manager Search Simply Hired, Inc. 370 San Ales

Re: Solr 4.2.1 Branch

2013-04-05 Thread Jack Krupansky
You want the "tagged" branch: http://svn.apache.org/viewvc/lucene/dev/tags/lucene_solr_4_2_1/ -- Jack Krupansky -Original Message- From: Jagdish Nomula Sent: Friday, April 05, 2013 8:36 PM To: solr-user@lucene.apache.org Subject: Solr 4.2.1 Branch Hello, I was trying to get hold

Re: Solr 4.2.1 Branch

2013-04-05 Thread Jack Krupansky
You want the "tagged" branch: https://github.com/apache/lucene-solr/tree/lucene_solr_4_2_1 -- Jack Krupansky -Original Message- From: Jagdish Nomula Sent: Friday, April 05, 2013 8:36 PM To: solr-user@lucene.apache.org Subject: Solr 4.2.1 Branch Hello, I was trying to get hold of

Re: Solr 4.2.1 Branch

2013-04-05 Thread Jagdish Nomula
That works out. Thanks for shooting the link. On Fri, Apr 5, 2013 at 5:51 PM, Jack Krupansky wrote: > You want the "tagged" branch: > > https://github.com/apache/**lucene-solr/tree/lucene_solr_**4_2_1 > > > -- Jack Krupansky > > -O