Re: How to find whether solr server is running or not

2011-07-19 Thread Romi
François Schiettecatte, how will i get 200 status code. I am getting json response from solr server, as *$.getJSON("http://192.168.1.9:8983/solr/db/select/?qt=dismax&wt=json&&start=0&rows=100&q="elegant"&hl=true&hl.fl=text&hl.usePhraseHighlighter=true&sort= score&json.wrf=?", function(result){ *

RE: defType argument weirdness

2011-07-19 Thread Jonathan Rochkind
Is it generally recognized that this terminology is confusing, or is it just me? I do understand what they do (at least well enough to use them), but I find it confusing that it's called "defType" as a main param, but "type" in a LocalParam, when to me they both seem to do the same thing -- w

how to get solr core information using solrj

2011-07-19 Thread Jiang mingyuan
hi all, Our solr server contains two cores:core0,core1,and they both works well. Now I'am trying to find a way to get information about core0 and core1. Can solrj or other api do this? thanks very much.

embeded solrj doesn't refresh index

2011-07-19 Thread Jianbin Dai
Hi, I am using embedded solrj. After I add new doc to the index, I can see the changes through solr web, but not from embedded solrj. But after I restart the embedded solrj, I do see the changes. It works as if there was a cache. Anyone knows the problem? Thanks. Jianbin

Re: I found a sorting bug in solr/lucene

2011-07-19 Thread Jason Toy
According to that bug list, there are other characters that break the sorting function. Is there a list of safe characters I can use as a delimiter? On Mon, Jul 18, 2011 at 1:31 PM, Chris Hostetter wrote: > > : When I try to sort by a column with a colon in it like > : "scores:rails_f", solr ha

Re: How could I monitor solr cache

2011-07-19 Thread kun xiong
I working on dev performance turning. I am looking for a method that could record cache status into log files. On Tue, Jul 19, 2011 at 2:24 PM, Ahmet Arslan wrote: > > > I am wondering how could I get solr cache running status. I > > know there is a > > JMX containing those information. > > >

Re: defType argument weirdness

2011-07-19 Thread Yonik Seeley
On Tue, Jul 19, 2011 at 1:25 PM, Naomi Dushay wrote: > Regardless, I thought that     defType=dismax&q=*:*   is supposed to be > equivalent to  q={!defType=dismax}*:*  and also equivalent to q={!dismax}*:* Not quite - there is a very subtle distinction. {!dismax} is short for {!type=dismax}, th

Re: any detailed tutorials on plugin development?

2011-07-19 Thread deniz
gosh sorry for my typo in msg first... i just realized it now... well anyway... i would like to find a detailed tutorial about how to implement an analyzer or a request handler plugin... but all i have got is nothing from the documentation of solr wiki... - Zeki ama calismiyor... Calissa yapa

solr chewing up system swap

2011-07-19 Thread hinder90
I have arrived a site where solr is being run under jetty. It is ubuntu 10.04 i386 hosted on AWS (xen). Our combined solr index size is a mere 21 MB. What I am seeing that solr is steadily consuming about 150 MB of swap per week and won't relinquish it until sunspot is restarted. Oddly, Jetty does

Re: Using functions in fq

2011-07-19 Thread solr nps
I read about frange but didn't think about using it like you mentioned :) Thank you. On Tue, Jul 19, 2011 at 4:12 PM, Yonik Seeley wrote: > On Tue, Jul 19, 2011 at 6:49 PM, solr nps wrote: > > My documents have two prices "retail_price" and "current_price". I want > to > > get products which ha

Re: omitNorms and omitTermFreqAndPosition

2011-07-19 Thread Chris Hostetter
As a general rule, if you are looking at the score explanations from debugQuery, and you don't understand why you get the scores thta you do, then you should actaully send the score explanations along with your email when you ask why it doesn't match what you expect. In the absense of any othe

Re: Using functions in fq

2011-07-19 Thread Yonik Seeley
On Tue, Jul 19, 2011 at 6:49 PM, solr nps wrote: > My documents have two prices "retail_price" and "current_price". I want to > get products which have a sale of x%, the x is dynamic and can be specified > by the user. I was trying to achieve this by using fq. > > If I want all sony tv's that are

Using functions in fq

2011-07-19 Thread solr nps
My documents have two prices "retail_price" and "current_price". I want to get products which have a sale of x%, the x is dynamic and can be specified by the user. I was trying to achieve this by using fq. If I want all sony tv's that are at least 20% off, I want to write something like q="sony t

Re: Solr Request Logging

2011-07-19 Thread Chris Hostetter
: I am using the trunk version of solr and I am getting a ton more logging : information than I really care to see and definitely more than 1.4, but : I cant really see a way to change it. http://wiki.apache.org/solr/SolrLogging -Hoss

RE: Analysis page output vs. actually getting search matches, a discrepency?

2011-07-19 Thread Robert Petersen
Um sorry for any confusion. I meant to say I solved my issue by inserting a charFilter before the WhitespaceTokenizerFactory to convert my problem word to a searchable form. I had a cut n paste malfunction below. Thanks guys. -Original Message- From: Robert Petersen [mailto:rober...@b

Re: Geospatial queries in Solr

2011-07-19 Thread Smiley, David W.
Hi Jamie. I work on LSP; it can index polygons and query for them. Although the capability is there, we have more testing & benchmarking to do, and then we need to put together a tutorial to explain how to use it at the Solr layer. I recently cleaned up the READMEs a bit. Try downloading the t

Re: Using FieldCache in SolrIndexSearcher - crazy idea?

2011-07-19 Thread Yonik Seeley
On Tue, Jul 19, 2011 at 3:20 PM, Chris Hostetter wrote: > > : > Quite probably ... you typically can't assume that a FieldCache can be > : > constructed for *any* field, but it should be a safe assumption for the > : > uniqueKey field, so for that initial request of the mutiphase distributed > : >

Re: Using FieldCache in SolrIndexSearcher - crazy idea?

2011-07-19 Thread Chris Hostetter
: > Quite probably ... you typically can't assume that a FieldCache can be : > constructed for *any* field, but it should be a safe assumption for the : > uniqueKey field, so for that initial request of the mutiphase distributed : > search it's quite possible it would speed things up. : : Ah, tha

Geospatial queries in Solr

2011-07-19 Thread Jamie Johnson
I have looked at the code being shared on the lucene-spatial-playground and was wondering if anyone could provide some details as to its state. Specifically I'm looking to add geospatial support to my application based on a user provided polygon, is this currently possible using this extension?

Re: DIH full-import - when is commit() actally triggered?

2011-07-19 Thread Frank Wesemann
Ahmet Arslan schrieb: I am running a full import with a quite plain data-config (a root entity with three sub entities ) from a jdbc datasource. This import is expected to add approximately 10 mio documents What I now see from my logfiles is, that a newSearcher event is fired about every five sec

RE: Analysis page output vs. actually getting search matches, a discrepency?

2011-07-19 Thread Robert Petersen
Thanks Eric, Unfortunately I'm stemming the same on both sides, similar to the SOLR example settings for the text type field. Default search field is moreWords, as I want yes. Since I don't have this problem for any other mfg names at all in our index of almost 10 mm product docs, and this sh

use case: structured DB records with a bunch of related files

2011-07-19 Thread Travis Low
Greetings. I have a bunch of highly structured DB records, and I'm pretty clear on how to index those. However, each of those records may have any number of related documents (Word, Excel, PDF, PPT, etc.). All of this information will change over time. Can someone point me to a use case or some

Question on the appropriate software

2011-07-19 Thread Matthew Twomey
Greetings, I'm interesting in having a server based personal document library with a few specific features and I'm trying to determine what the most appropriate tools are to build it. I have the following content which I wish to include in the archive: 1. A smallish collection of technical b

Re: defType argument weirdness

2011-07-19 Thread Naomi Dushay
qf_dismax and pf_dismax are irrelevant -- I shouldn't have included that info. They are passed in the url and they work; they do not affect this problem. Your reminder of debugQuery was a good one - I use that a lot but forgot in this case. Regardless, I thought that defType=dis

Re: Data Import from a Queue

2011-07-19 Thread Brandon Fish
Let me provide some more details to the question: I was unable to find any example implementations where individual documents (single document per message) are read from a message queue (like ActiveMQ or RabbitMQ) and then added to Solr via SolrJ, a HTTP POST or another method. Does anyone know of

RE: Searching for strings

2011-07-19 Thread Chip Calhoun
Thanks Rob. It turns out this was a false alarm; I was misinterpreting a different problem with my crawl. -Original Message- From: Rob Casson [mailto:rob.cas...@gmail.com] Sent: Monday, July 18, 2011 5:58 PM To: solr-user@lucene.apache.org Subject: Re: Searching for strings chip, gonn

delta import exception

2011-07-19 Thread Elaine Li
Hi, I am trying to trace the exception I get from the deletedPkQuery I am running. When I kick off the delta-import, the statusMessage has the following message after 2 hours, but no single document was modified or deleted. 2813450 and then it bailed out when i submitted another heavy query on the

Re: How to find whether solr server is running or not

2011-07-19 Thread Chanty
i am new in HADOOP TESTING , any body tell me about the hadoop testing , what should be sufficient for a tester to test hadoop based projects . please help me -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-find-whether-solr-server-is-running-or-not-tp3181870p3

Re: Error 400 in Solr 1.4

2011-07-19 Thread Yusniel Hidalgo Delgado
Thanks Erik for your quick reply. You are right, In my solrconfig.xml file, I did have a wrong configuration option. Thanks again. El 19/07/11 16:37, Erik Hatcher escribió: Just a hunch, ;), but I'm guessing you don't have a price field defined. qt is for selecting a request handler you have

Edismax and leading wildcards

2011-07-19 Thread Jamie Johnson
My schema.xml currently has a content field and a content_rev field which is the field run through the reversed wild card filter, my question is does Edismax support using this field? Reading through this jira(https://issues.apache.org/jira/browse/SOLR-1321) it seems to indicate that SolrQueryPars

Re: Error 400 in Solr 1.4

2011-07-19 Thread Erik Hatcher
Just a hunch, ;), but I'm guessing you don't have a price field defined. qt is for selecting a request handler you have defined in your solrconfig.xml - you need to customize the parameters to your schema. Erik On Jul 19, 2011, at 04:32 , Yusniel Hidalgo Delgado wrote: > Hi, > > I ha

Error 400 in Solr 1.4

2011-07-19 Thread Yusniel Hidalgo Delgado
Hi, I have a problem when I try to send the qt param to Solr 1.4 with dismax value. I get the following error from Solr response: HTTP ERROR: 400 undefined field price RequestURI=/solr/select Any idea? Regards.

query time boosting in solr

2011-07-19 Thread Sowmya V.B.
Hi Is query time boosting possible in Solr? Here is what I want to do: I want to boost the ranking of certain documents, which have their relevant field values, in a particular range (selected by user at query time)... when I do something like: http://localhost:8085/solr/select?indent=on&version

Re: Solr UI

2011-07-19 Thread Erik Hatcher
There's several starting points for Solr UI out there, but really the best choice is whatever fits your environment and the skills/resources you have handy. Here's a few off the top of my head - * Blacklight - it's a Ruby on Rails full-featured search UI powered by Solr. It can be customize

Re: Spatial Search with distance as a parameter

2011-07-19 Thread Smiley, David W.
Hi Michael, It appears that you want to index circles (aka point-radius) and you want to do a query that is a point that matches documents where this point is within an indexed circle. I'm working with a couple Lucene/Solr committers on a geospatial module that can do this today against Solr 4

Solr UI

2011-07-19 Thread serenity
Hi, I installed Solr 3.2 and able to search results successfully from the crawled data, however , I would like to develop UI for the http or json response. Can anyone guide me with the tutorial or sample ? I referred few thing like Ajax Solr but am not sure how to do the things. Serenity -- V

Re: Solr User Interface

2011-07-19 Thread Yusniel Hidalgo Delgado
Hi, You can to send "wt" param to Solr such as follow: &wt=json or &wt=phps In the first case, Solr result are retorned in JSON format response and the second case, are returned in PHP serialized format. Regards. El 19/07/11 15:46, serenity keningston escribió: Hi, I installed Solr 3.2 an

Re: [Announce] Solr 3.3 with RankingAlgorithm NRT capability, very high performance 10000 tps

2011-07-19 Thread Nagendra Nagarajayya
Yes, this problem has been solved though not completely, there is still a refresh problem. To eliminate duplicate documents with a unique id during update, you need to set 1. This makes the most recent updated document to become searchable as well as removing the older documents. There is a c

Re: XInclude Multiple Elements

2011-07-19 Thread Stephen Duncan Jr
On Mon, Jul 18, 2011 at 8:06 PM, Chris Hostetter wrote: > > Can you post the details of your JVM / ServletContainer and the full stack > trace of the exception?  My understanding is that fragment identifiers are > a mandatory part of the xinclude/xpointer specs. > > It would also be good to know i

Re: defType argument weirdness

2011-07-19 Thread Erik Hatcher
On Jul 18, 2011, at 19:15 , Naomi Dushay wrote: > I found a weird behavior with the Solr defType argument, perhaps with > respect to default queries? > > q={!defType=dismax}*:* hits this is the confusing one. defType is a Solr request parameter, but not something that works as a "local"

RE: Need Suggestion

2011-07-19 Thread Jagdish Vasani
Look this link : http://wiki.apache.org/solr/DistributedSearch This will help you when you have large index. -Original Message- From: Rohit Gupta [mailto:ro...@in-rev.com] Sent: Friday, July 15, 2011 11:37 PM To: solr-user@lucene.apache.org Subject: Re: Need Suggestion I am using -Xms

Re: - character in search query

2011-07-19 Thread Erick Erickson
Let's see the complete definition. Have you looked at your index with, say, Luke and seen what's actually in your index? And do you re-index after each schema change? What does your admin/analysis page look like? Have you considered PatternReplaceCharFilterFactory rather than the tokenizer? Best

Re: How to find whether solr server is running or not

2011-07-19 Thread François Schiettecatte
I think anything but a 200 OK mean it is dead like the proverbial parrot :) François On Jul 19, 2011, at 7:42 AM, Romi wrote: > But the problem is when solr server is not runing > *"http://host:port/solr/admin/ping"* > > will not give me any json response > then how will i get the status :( >

Re: How to find whether solr server is running or not

2011-07-19 Thread Erick Erickson
Try doing this from a program rather than the browser. If Solr isn't running, you have to infer that fact from the lack of a response. Best Erick On Tue, Jul 19, 2011 at 7:42 AM, Romi wrote: > But the problem is when solr server is not runing > *"http://host:port/solr/admin/ping"* > > will not g

Re: any detailed tutorials on plugin development?

2011-07-19 Thread Dmitry Kan
which plugin specifically are you going to implement? On Mon, Jul 18, 2011 at 2:24 AM, deniz wrote: > anyone knows any tutorials on implementing tutorials? there is one page on > wiki but i dont think we can it tutorial... i am looking for something with > some example code... > > > > - > Ze

Re: - character in search query

2011-07-19 Thread roySolr
Anybody? -- View this message in context: http://lucene.472066.n3.nabble.com/character-in-search-query-tp3168604p3182228.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: How to find whether solr server is running or not

2011-07-19 Thread Romi
But the problem is when solr server is not runing *"http://host:port/solr/admin/ping"* will not give me any json response then how will i get the status :( when i run this url browser gives me following error *Unable to connect Firefox can't establish a connection to the server at 192.168.1.9:89

Re: How to find whether solr server is running or not

2011-07-19 Thread Péter Király
You can use ping: http://host:port/solr/admin/ping The response is something like this: 05all10allsolrpingquerysearchOK or with JSON response: http://host:port/solr/admin/ping?wt=json {"responseHeader":{"status":0,"QTime":2,"params":{"echoParams":"all","rows":"10","echoParams":"all","q":"solrp

Spatial Search with distance as a parameter

2011-07-19 Thread Michael Lorz
Hi all, I have the following problem: The documents in the index of my solr instance correspond to persons. Each document (=person) has lat/lon coordinates and additionally a travel radius. The coordinates correspond to the office of the person, the travel radius indicates a distance which the

Re: Solr 3.3: SEVERE: java.io.IOException: seek past EOF

2011-07-19 Thread mdz-munich
Ups, false alarm. CustomSimilarity, combined with a very small set of documents caused the problem. Greetings, Sebastian -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-3-3-SEVERE-java-io-IOException-seek-past-EOF-tp3181869p3181943.html Sent from the Solr - User mai

Re: How to find whether solr server is running or not

2011-07-19 Thread Romi
i am getting json response from solr as *$.getJSON("http://192.168.1.9:8983/solr/db/select/?qt=dismax&wt=json&&start=0&rows=100&q="elegant"&hl=true&hl.fl=text&hl.usePhraseHighlighter=true&sort= score&json.wrf=?", function(result){* how can i check whether i get response or not - Thanks &

Re: How to find whether solr server is running or not

2011-07-19 Thread Mohammad Shariq
Check for HTTP response code, if its other than 200 means services are not OK. On 19 July 2011 14:39, Romi wrote: > I am running an application that get search results from solr server. But > when server is not running i get no response from the server. Is there any > way i can found that my ser

How to find whether solr server is running or not

2011-07-19 Thread Romi
I am running an application that get search results from solr server. But when server is not running i get no response from the server. Is there any way i can found that my server is not running so that i can give proper error message regarding it - Thanks & Regards Romi -- View this message

Solr 3.3: SEVERE: java.io.IOException: seek past EOF

2011-07-19 Thread mdz-munich
Hi Developers and Users, a serious Problem occurred: 19.07.2011 10:50:32 org.apache.solr.common.SolrException log SEVERE: java.io.IOException: seek past EOF at org.apache.lucene.store.MMapDirectory$MMapIndexInput.seek(MMapDirectory.java:343) at org.apache.lucene.index.FieldsReade

Re: [Announce] Solr 3.3 with RankingAlgorithm NRT capability, very high performance 10000 tps

2011-07-19 Thread Andy
Nagendra, In another email you mentioned there's a problem where if an existing document is updated both the old and new version will show up in search results. Has that been solved in Solr-RA 3.3? --- On Mon, 7/18/11, Nagendra Nagarajayya wrote: > From: Nagendra Nagarajayya > Subject: [Anno

Re: ' invisible ' words

2011-07-19 Thread deniz
Hi Erick, thank you for the advice... I will be doing as you advised and update you here... - Zeki ama calismiyor... Calissa yapar... -- View this message in context: http://lucene.472066.n3.nabble.com/invisible-words-tp3158060p3181647.html Sent from the Solr - User mailing list archive at N