Sending Object as a request parameter

2012-06-25 Thread Alok Bhandari
Hello, Is there any provision available with Solr so that while querying the solr server using solrj API I can send Object as a request parameter? So that in my request handler on solr side I can read that object.Thanks. -- View this message in context: http://lucene.472066.n3.nabble.com/Sending

Re: Multiple query hit for one query

2012-06-25 Thread Dmitry Kan
Start off with as simple design as possible (probably, the one you have described) and stay on the client side of solr with solrj api. Start optimizing, when seeing serious issues, but don't optimize preemptively (like before you even started coding your app). With solrj you will also be on a safer

Re: How can I optimize Sorting on multiple text fields

2012-06-25 Thread Erick Erickson
That's already done for you with the queryResultCache in solrconfig.xml. the "size" parameter is essentially the number of queries for which results are stored. Two related parameters in solrconfig.xml , queryResultWindowSize and queryResultMaxDocsCached are used to control how many entries are st

Issue type

2012-06-25 Thread Despot Jakimovski
Hi all, I have the following issue that I want to file to Solr's JIRA: I need the compound word filter to support exceptions (words that shouldn't be divided for some reason - not compound words or other)

Re: get number of cores

2012-06-25 Thread Yury Kats
On 6/25/2012 8:40 AM, Yuval Dotan wrote: > Hi > Is there a *programmatic (java) *way to connect to the Solr server (using > solrj probably) and get the number of cores and core names? A STATUS admin request will give you all available cores, with their names. http://wiki.apache.org/solr/CoreAdmin

Re: get number of cores

2012-06-25 Thread Erick Erickson
With SolrJ, try using CoreAdminRequest.getStatus Best Erick On Mon, Jun 25, 2012 at 9:26 AM, Yury Kats wrote: > On 6/25/2012 8:40 AM, Yuval Dotan wrote: >> Hi >> Is there a  *programmatic (java) *way to connect to the Solr server (using >> solrj probably) and get the number of cores and core nam

whats the equivalent for uint32 FAST unsigned data type in SOLR and how we use wildcards ??

2012-06-25 Thread derohit
Hi All, I am new to the SOLR enviornment. I will really appreciate if someone can guide me on whats the equivalence for unit32 and alos on using wildcard. Regards Rohit mailrohi...@gmail.com -- View this message in context: http://lucene.472066.n3.nabble.com/whats-the-equivalent-for-uint32-FAST

if there is no jetty-logging.xml

2012-06-25 Thread joyce chan
Hi If there is no jetty-logging.xml when running solr with jetty, does it mean everything is sent to stdout / stderr? Thanks Joyce

Re: soft commits in EmbeddedSolrServer

2012-06-25 Thread Raimon Bosch
Old question but I'm still wondering if this is possible. I'm using Solr 4.0. Can I use the EmbeddedSolrServer to perform soft commits? 2011/9/16 Raimon Bosch > Hi all, > > I'm checking how to do soft commits with the new version of Solr. I'm > using EmbeddedSolrServer to add documents to my in

Re: soft commits in EmbeddedSolrServer

2012-06-25 Thread Mark Miller
Yes - just pass the param same as you would if not using embedded On Jun 25, 2012, at 4:40 PM, Raimon Bosch wrote: > Old question but I'm still wondering if this is possible. I'm using Solr > 4.0. > > Can I use the EmbeddedSolrServer to perform soft commits? > > 2011/9/16 Raimon Bosch > >> Hi

Re: Issue type

2012-06-25 Thread Chris Hostetter
: New Feature : Improvement : Wish : Task ... : Bug : Test ...the distinctions between the first for is largely subjective - i don't think anyone involved in Lucene/Solr really worries about differntiating between them at all. The main thing to focus on is wether you are proposing/contr

Re: whats the equivalent for uint32 FAST unsigned data type in SOLR and how we use wildcards ??

2012-06-25 Thread Lance Norskog
There is no 'unsigned' 32-bit integer. You can use a long and never set the value to larger than 2^32 = 4 billion something. On Mon, Jun 25, 2012 at 8:17 AM, derohit wrote: > Hi All, > > I am new to the SOLR enviornment. > I will really appreciate if someone can guide me on whats the equivalence

Re: whats the equivalent for uint32 FAST unsigned data type in SOLR and how we use wildcards ??

2012-06-25 Thread Jack Krupansky
If your uint32 values are less than 2^31, you can use the "int" field type. Otherwise you have to use the "long" field type. Lucene/Solr supports "*" and "?" for wildcards with the usual Unix interpretation. But, some query parsers do not permit leading wildcards. Performance can vary widely,

Re: Sending Object as a request parameter

2012-06-25 Thread Jack Krupansky
Sure, call SolrQuery.setParam("param-name", "value") using Solrj - encode the object as a string value and access the request parameters in your request handler. -- Jack Krupansky -Original Message- From: Alok Bhandari Sent: Monday, June 25, 2012 5:02 AM To: solr-user@lucene.apache.o

Re: solr plugin

2012-06-25 Thread Shameema Umer
thanks. On Fri, Jun 22, 2012 at 6:12 PM, Erick Erickson wrote: > You should be able to compile your new plugin and use the > directive in solrconfig.xml to point to your new jar. Solr > should have access to all the lucene jar files at that point. > > I usually build plugins after checking out a

Re: Editing solr update handler sub class

2012-06-25 Thread Shameema Umer
Thanks. I built a plugin to resolve the overwrite dupes issue. On Thu, Jun 21, 2012 at 5:58 PM, Erick Erickson wrote: > H. I think you would have a _far_ easier time of this just getting > all the source code, modifying the relevant source, and then just > issuing an "ant dist" (or "ant exam

what is precisionStep and positionIncrementGap:

2012-06-25 Thread ZHANG Liang F
Hi, in the schema.xml, usually there will be fieldType definition like this: the precisionStep and positionIncrementGap is not very clear to me. Could you please elaborate more on these 2? Thanks!

Solr magento integration

2012-06-25 Thread Sudhir Kumar
Hi, Solr magento integration done but after indexing no results. In tomcat logs there is no exception. But, I have just copied schema.xml from magento to solr configuration. No changes in schem.xml. If need any changes then let me know. Many Thanks, Sudhir

RE: Solr magento integration

2012-06-25 Thread Sudhir Kumar
Hi, SOLR indexing logs:- Jun 26, 2012 6:27:19 AM org.apache.solr.update.processor.LogUpdateProcessor finish INFO: {add=[955|1, 956|1, 957|1, 958|1, 959|1, 960|1, 961|1, 962|1, ... (10 adds)]} 0 9 Jun 26, 2012 6:27:19 AM org.apache.solr.core.SolrCore execute INFO: [] webapp=/solr path=/update para