RE: How do I set up an embedded server with version 1.3.0 ?

2009-06-25 Thread Ian Smith
From: Manepalli, Kalyan [mailto:kalyan.manepa...@orbitz.com] Sent: 24 June 2009 19:47 To: solr-user@lucene.apache.org Subject: RE: How do I set up an embedded server with version 1.3.0 ? Hi Ian, I use the embeddedSolrServer from a Solr Component. The code for invoking the embeddedSolrSer

Fwd: [Solr Wiki] Update of "SolrReplication" by NoblePaul

2009-06-25 Thread Noble Paul നോബിള്‍ नोब्ळ्
some of the replication commands have been changed in the trunk https://issues.apache.org/jira/browse/SOLR-1216 So, please keep it in mind if you are alreday using it and you are upgrading to a new build. Refer the wiki for the latest commands -- Forwarded message -- From: Apache

Re: How do I set up an embedded server with version 1.3.0 ?

2009-06-25 Thread Shalin Shekhar Mangar
On Thu, Jun 25, 2009 at 2:05 PM, Ian Smith wrote: > > Can you or someone else possibly help me with a working SolrCore > constructor call? > > Here is a working example for single index/core: System.setProperty("solr.solr.home", "/home/shalinsmangar/work/oss/branch-1.3/example/solr");

Top tf_idf in TermVectorComponent

2009-06-25 Thread JCodina
In order to perform any further study of the resultset, like clustering, the TermVectorComponent gives the list of words with the correspoing tf, idf, but this list can be huge for each document, and most of the terms may have a low tf or a too high df, maybe, it is usefull to compare the relati

RE: How do I set up an embedded server with version 1.3.0 ?

2009-06-25 Thread Ian Smith
From: Shalin Shekhar Mangar [mailto:shalinman...@gmail.com] Sent: 25 June 2009 10:41 To: solr-user@lucene.apache.org Subject: Re: How do I set up an embedded server with version 1.3.0 ? On Thu, Jun 25, 2009 at 2:05 PM, Ian Smith wrote: > > Can you or someone else possibly help me with a working

Re: Solr document security

2009-06-25 Thread Norberto Meijome
On Wed, 24 Jun 2009 23:20:26 -0700 (PDT) pof wrote: > > Hi, I am wanting to add document-level security that works as following: An > external process makes a query to the index, depending on their security > allowences based of a login id a list of hits are returned minus any the > user are mea

Re: Function query using Map

2009-06-25 Thread David Baker
Noble Paul നോബിള്‍ नोब्ळ् wrote: The five parameter feature is added in solr1.4 . which version of solr are you using? On Wed, Jun 24, 2009 at 12:57 AM, David Baker wrote: Hi, I'm trying to use the map function with a function query. I want to map a particular value to 1 and all other va

Python Response Bug?

2009-06-25 Thread Michael Beccaria
I'm not sure, but I think I ran across some unexpected behavior in the python response in solr 1.3 (1.3.0 694707 - grantingersoll - 2008-09-12 11:06:47). I'm running Python 2.5 and using eval to convert the string solr returns to python data objects. I have a blank field in my xml file that I am

Re: Python Response Bug?

2009-06-25 Thread darren
The first JSON is invalid as you see because of the missing value. :, is not valid JSON syntax. The reason it works for string type is because the empty string '' is a valid field value but _nothing_ (the first examepl) is not. There is no empty float placeholder that JSON likes. So either it has

RE: Python Response Bug?

2009-06-25 Thread Michael Beccaria
Regardless, I think it should return valid JSON so programs don't crash when trying to interpret it. I don't think about these things often so maybe I'm missing something obvious, but I think putting in an empty string is better than putting in nothing and having it break. My 2 cents. Mike -

Re: building custom RequestHandlers

2009-06-25 Thread Julian Davchev
Ok, I glued all stuff and ended up extending handler.component.SearchHandlercause I wan to use all it's functionlity only toadjust the q param before it gets preocessed. How exactly can I get the q and set it back later? >From digging code it seems thats the way SolrParams p = req.getP

RE: Python Response Bug?

2009-06-25 Thread darren
The problem is what should Solr put for a float that is undefined? There is no such value. Typically a value anomaly should not exist and so when data structures break, they reveal these situations. The correct action is to explore why a non-value is making its way into the index and correct it bef

Re: Python Response Bug?

2009-06-25 Thread Chris Hostetter
: Subject: Python Response Bug? : In-Reply-To: <20090625214339.415e6...@suspectum.octantis.com.au> http://people.apache.org/~hossman/#threadhijack Thread Hijacking on Mailing Lists When starting a new discussion on a mailing list, please do not reply to an existing message, instead start a fres

Re: Reverse querying

2009-06-25 Thread AlexElba
Otis Gospodnetic wrote: > > > Alex & Oleg, > > Look at MemoryIndex in Lucene's contrib. It's the closest thing to what > you are looking for. What you are describing is sometimes referred to as > "prospective search", sometimes "saved searches", and a few other names. > > Otis > -- > Semat

Empty results after merging index via IndexMergeTool

2009-06-25 Thread jayakeerthi s
Hi All, I am trying to merge two index using mergeindextool. The two index created using solr1.4 and fine showing results . Used the below cmd as per the http://wiki.apache.org/solr/MergingSolrIndexes#head-feb9246bab59b54c0ba361d84981973976566c2a to merge the two index java -cp C:\jbdevstudio\j

Is it possible to apply index-time synonyms just for a section of the index

2009-06-25 Thread anuvenk
I've posted a few questions on synonyms before and finally understood how it worked and settled with index-time synonyms. Seems to work much better than query time synonyms. But now @ my work, they have a special request. They want certain synonyms to be applied only to certain sections of the ind

Re: Is it possible to apply index-time synonyms just for a section of the index

2009-06-25 Thread rswart
What is stopping you from defining different field types for faqs and attorneys? One with index time synomyms and one without. anuvenk wrote: > > I've posted a few questions on synonyms before and finally understood how > it worked and settled with index-time synonyms. Seems to work much bette

Re: Is it possible to apply index-time synonyms just for a section of the index

2009-06-25 Thread anuvenk
That's right. Simple. I can very well do that. Why didn't I think of it. Thanks. rswart wrote: > > What is stopping you from defining different field types for faqs and > attorneys? One with index time synomyms and one without. > > > > anuvenk wrote: >> >> I've posted a few questions on syno

Re: THIS WEEK: PNW Hadoop / Apache Cloud Stack Users' Meeting, Wed Jun 24th, Seattle

2009-06-25 Thread Bradford Stephens
Hey all, Just writing a quick note of "thanks", we had another solid group of people show up! As always, we learned quite a lot about interesting use cases for Hadoop, Lucene, and the rest of the Apache 'Cloud Stack'. I couldn't get it taped, but we talked about: -Scaling Lucene with Katta and

Re: Solr document security

2009-06-25 Thread pof
Thats what I was going to do originally, however what is stopping a user from simply running a search through http://localhost:8983/solr/admin/ of the index server? Norberto Meijome-6 wrote: > > On Wed, 24 Jun 2009 23:20:26 -0700 (PDT) > pof wrote: > >> >> Hi, I am wanting to add document-le

Re: Solr document security

2009-06-25 Thread Otis Gospodnetic
That URL to your Solr Admin page should never be exposed to the outside world. You can play with network, routing, DNS and other similar things to make sure one can't get to this from the outside even if the URL is know. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch ---