Re: Problem with Solr 4.0-ALPHA and JSON response

2012-08-06 Thread Sami Siren
On Fri, Jul 27, 2012 at 6:32 PM, Federico Valeri wrote: > Hi all, Hi, > I'm new to Solr, I have a problem with JSON format, this is my Java > client code: > The java client (SolrServer) can only operate with xml or javabin format. If you need to get the json response from Solr by using java you

Re: Multiple Embedded Servers Pointing to single solrhome/index

2012-08-06 Thread Lance Norskog
Where is the common index? On NFS? If it is on a native hard disk (on the same computer) Solr uses the file locking mechanism supplied by the operating system (Linux or Windows). This may not be working right. See this for more info on file locking: http://wiki.apache.org/lucene-java/AvailableLock

Re: Trending topics?

2012-08-06 Thread Otis Gospodnetic
Chris, I'm not sure if Solr by itself can really do this (easily and/or well). Have a look at http://sematext.com/products/key-phrase-extractor/index.html which can do exactly that, but without Solr.  Some of the highlighted bits refer to trending topics, though not using exactly that terminolo

Two questions on spellchecking

2012-08-06 Thread Uwe Reh
Hi, even though I read a lot, none of my spellchecker configurations works really well. I reached a dead end. Maybe someone could help, to solve my challenges. - How can I get case sensitive suggestions, independent of the given case in the query? - How to configure a 'did you mean' spellc

Multiple Embedded Servers Pointing to single solrhome/index

2012-08-06 Thread Bing Hua
Hi, I'm trying to use two embedded solr servers pointing to a same solrhome / index. So that's something like System.setProperty("solr.solr.home", "SomeSolrDir"); CoreContainer.Initializer initializer = new CoreContainer.Initializer(); CoreContainer coreContainer = initial

Re: Running out of memory

2012-08-06 Thread Michael Della Bitta
You might want to look at turning down or eliminating your caches if you're running out of RAM. Possibly some of them have a low hit rate, which you can see on the Stats page. Caches with a low hit rate are only consuming RAM and CPU cycles. Also, using this JVM arg might reduce the memory footpri

Re: Stopping replication?

2012-08-06 Thread csscouter
Erick, Thank you for the courtesy of your reply. I was able to figure out the problem, and for the benefit of the list, I list the analysis. Judging by the caliber of those on this list, this is likely too basic for the interests of most, but newbies (among whom I still classify myself) might ben

Re: Stopping replication?

2012-08-06 Thread csscouter
Erick, Thank you for the courtesy of your reply. I was able to figure out the problem, and for the benefit of the list, I list the analysis. Judging by the caliber of those on this list, this is likely too basic for the interests of most, but newbies (among whom I still classify myself) might ben

[ANNOUNCE] Lucene/Solr @ ApacheCon Europe - August 13th Deadline for CFP and Travel Assistance applications

2012-08-06 Thread Chris Hostetter
ApacheCon Europe will be happening 5-8 November 2012 in Sinsheim, Germany at the Rhein-Neckar-Arena. Early bird tickets go on sale this Monday, 6 August. http://www.apachecon.eu/ The Lucene/Solr track is shaping up to be quite impressive this year, so make your plans to attend an

Re: Reg Default search field

2012-08-06 Thread Jack Krupansky
defaultSearchField is deprecated in Solr 3.6. It is still supported, but the "df" query request parameter overrides it. So, go into solrconfig.xml and change the "df" parameter value from "text" to "Title". -- Jack Krupansky -Original Message- From: Lakshmi Bhargavi Sent: Monday, Aug

Re: Reg Default search field

2012-08-06 Thread Erik Hatcher
Lakschmi - The field(s) used for querying needs to be specified somewhere, either as a default field or as a qf parameter to (e)dismax, etc. Erik On Aug 6, 2012, at 10:48 , Lakshmi Bhargavi wrote: > Hi , > > I have a question on the default search field defined in schema.xml or in > th

Reg Default search field

2012-08-06 Thread Lakshmi Bhargavi
Hi , I have a question on the default search field defined in schema.xml or in the later versions , specified as part of the search handlers. Do we always need to have this default search field defined in order to do search if the field name is not passed? Suppose , there is a field named 'Title

Re: Returning page numbers where match occurs

2012-08-06 Thread debdoot
Thanks a lot Jack for your prompt reply! The JIRA issue indeed talks about what I want to accomplish. I will try out Tricia's solution. As regards your question - whether I want "real" page numbers? Yes, ideally I want to get real page numbers (and am willing to put in the additional parsing effor

Re: Returning page numbers where match occurs

2012-08-06 Thread Jack Krupansky
There is an old, open Jira, SOLR-380 - "There's no way to convert search results into page-level hits of a "structured document".", but no recent activity on it. It does have a lot of interesting commentary though. I wouldn't get my hopes up. See: https://issues.apache.org/jira/browse/SOLR-380

Returning page numbers where match occurs

2012-08-06 Thread debdoot
Suppose, we are provisioning search over large text documents (e.g., Word, PPT). It would be nice to have the highlighter component to return the page numbers where the matches are found so that the same may be included in the search result summaries. What is the most efficient way to accomplish th

read write solr shard setup

2012-08-06 Thread soni.s
Hi, i am trying to use a read/write solr setup. what i mean is that i would have a common location for lucene indexes and configure one instance of solr for reads and another instance to only write new indexes. Both the instances pointing to the same index location. The approach is given here http

AW: Special suggestions requirement

2012-08-06 Thread Lochschmied, Alexander
Is there anything you cannot do with Solr? :-) Thanks a lot Erick! I only had to use . instead of ?, e.g. ...:8983/solr/terms?terms.fl=fieldname&terms.limit=100&terms.prefix=abcd&terms.regex.flag=case_insensitive&terms=true&terms.regex=abcd.. Adding terms.sort=index allows me even to sort as I ne

error message in solr logs

2012-08-06 Thread soni.s
Hi, we have a large lucene index base created using solr. Its split into 16 cores. Each core contains almost 10GB of indexes. We have deployed 8 instances of Solr hosting two cores each. The logic of identifying where the document resides based on the document id, is built within the application. T