Possible bug in Solr 3.3 grouping

2011-07-12 Thread Nikhil Chhaochharia
Hi, I am using Solr 3.3 and have run into a problem with grouping.  If 'group.main' is 'true' and 'start' is greater than 'rows', then I do not get any results.  A sample response is: response lst name=responseHeaderint name=status0/intint name=QTime602/int/lstlst name=grouped/result

Re: (Solr-UIMA) Doubt regarding integrating UIMA in to solr - Configuration.

2011-07-12 Thread Sowmya V.B.
Yes, I do have an '/update/javabin' request handler in SolrConfig. But, should I remove that? I tried putting the UIMA update chain inside /update/javabin instead of /update request handler.. requestHandler name=/update/javabin class=solr.BinaryUpdateRequestHandler lst

Re: Average PDF index time

2011-07-12 Thread alexander sulz
Hi all, Are there some kind of average indexing times or PDF's in relation to its size? I have here a 10MB PDF (50 pages) which takes about 30 seconds to index! Is that normal? Depends on you hardware. PDF parsing is a lot more tedious than XML and besides parsing it's also analyzed and

Re: How to create a solr core if no solr cores were created before?

2011-07-12 Thread Mark Schoy
Thanks for your answer, but your answer is a little bit useless for me. Could you please add more information in addition to this link? Do I have to create a root core to create other cores? How can I create a root core? Manually adding in the solr.xml config? 2011/7/11 Gabriele Kahlout

Re: How to create a solr core if no solr cores were created before?

2011-07-12 Thread Gabriele Kahlout
if you need the core just for testing then use Solr test framework as in the link. On Tue, Jul 12, 2011 at 10:29 AM, Mark Schoy hei...@gmx.de wrote: Thanks for your answer, but your answer is a little bit useless for me. Could you please add more information in addition to this link? Do I

Saravanan Chinnadurai/Actionimages is out of the office.

2011-07-12 Thread Saravanan . Chinnadurai
I will be out of the office starting 12/07/2011 and will not return until 14/07/2011. Please email to itsta...@actionimages.com for any urgent issues. Action Images is a division of Reuters Limited and your data will therefore be protected in accordance with the Reuters Group Privacy / Data

Re: Average PDF index time

2011-07-12 Thread alexander sulz
Am 12.07.2011 10:08, schrieb alexander sulz: Hi all, Are there some kind of average indexing times or PDF's in relation to its size? I have here a 10MB PDF (50 pages) which takes about 30 seconds to index! Is that normal? Depends on you hardware. PDF parsing is a lot more tedious than XML

Result list order in case of ties

2011-07-12 Thread Lox
Hi, In the case where two or more documents are returned with the same score, is there a way to tell Solr to sort them alphabetically? I have already tried to use the tie-breaker, but I have just one field to search. Thank you. -- View this message in context:

Re: Average PDF index time

2011-07-12 Thread Michael Kuhlmann
Am 12.07.2011 12:03, schrieb alexander sulz: Still, why the PHP stops working correctly is beyond me, but it seems to be fixed now. You should mind the max_execution_time parameter in you php.ini. Greetings, Kuli

Re: Result list order in case of ties

2011-07-12 Thread Michael Kuhlmann
Am 12.07.2011 12:13, schrieb Lox: Hi, In the case where two or more documents are returned with the same score, is there a way to tell Solr to sort them alphabetically? Yes, add the parameter sort=score desc,your_field_that_shall_be_sorted_alphabetically asc to your request. Greetings,

Re: Result list order in case of ties

2011-07-12 Thread François Schiettecatte
You just need to provide a second sort field along the lines of: sort=score desc, author desc François On Jul 12, 2011, at 6:13 AM, Lox wrote: Hi, In the case where two or more documents are returned with the same score, is there a way to tell Solr to sort them alphabetically?

Questions about failover in master / slave configuration

2011-07-12 Thread Laurent Moret
Hi Our team plans to use SolR for our searchs (we currently use Lucene directly, but some new business requirements such as near real time index updates seems to be easier to handle with solr). Our application runs with 2 data centers in active / active mode. Read operations in the index are

Re: (Solr-UIMA) Doubt regarding integrating UIMA in to solr - Configuration.

2011-07-12 Thread Koji Sekiguchi
Hmm, I'm bit confused. Do you really use SolrJ ? If so: If I put it inside /update, the following is the stacktrace: request: http://localhost:8080/apache-solr-3.3.0/update/javabin?wt=javabinversion=2 org.apache.solr.common.SolrException: Bad Request what did you mean by it and why did you

Re: (Solr-UIMA) Doubt regarding integrating UIMA in to solr - Configuration.

2011-07-12 Thread Sowmya V.B.
Hi Koji Yes, I do use SolrJ. I began recompiling the whole thing... since I thought the problem is the UIMA snapshot. Previously, I compiled files from eclipse and it worked fine. (Now I realize that eclipse compiled it because I added my jar files to its build path) I am now getting build

POST for queries, length/complexity limit of fq?

2011-07-12 Thread Marian Steinbach
Hi! I am going to propose a concept where pretty long and complex filter query (fq) parameters can occur. They are used to enforce permissions so that a user sees only those documents which he has permissions for. 1. I assume that it's worthwhile to rely on POST method instead of GET when

Re: POST for queries, length/complexity limit of fq?

2011-07-12 Thread Ahmet Arslan
I am going to propose a concept where pretty long and complex filter query (fq) parameters can occur. They are used to enforce permissions so that a user sees only those documents which he has permissions for. 1. I assume that it's worthwhile to rely on POST method instead of GET when

Delta import issue

2011-07-12 Thread PeterKerk
I'm having an issue with a delta import. I have the following in my data-config.xml: document name=ads entity name=ad query=select * from ads WHERE approvedate gt; '1/1/1900' and publishdate lt; getdate() AND depublishdate gt; getdate() and deletedate = '1/1/1900'

Re: (Solr-UIMA) Doubt regarding integrating UIMA in to solr - Configuration.

2011-07-12 Thread Sowmya V.B.
Hi I've fixed the missing license issues by attaching a license.txt file to my jar files. Everything gets built now, with a single error. /Users/svajjala/Downloads/apache-solr-3.3.0/solr/contrib/uima/src/main/java/org/apache/solr/uima/processor/UIMAToSolrMapper.java:62: type

Re: Restart Solr

2011-07-12 Thread Koji Sekiguchi
How to restart Solar ? I am using Solr with the windchill 10. I don't know windchill 10, but if you run Solr on Jetty or Tomcat, CTRL+C to shutdown then start Solr again. Or if you use CoreAdmin, RELOAD action might help: http://wiki.apache.org/solr/CoreAdmin#RELOAD koji --

Re: POST for queries, length/complexity limit of fq?

2011-07-12 Thread Marian Steinbach
Thanks for the reply! I got a followup question: Can I customize Tomcat logging so that the fq value is not logged? Marian On Tue, Jul 12, 2011 at 15:34, Ahmet Arslan iori...@yahoo.com wrote: ... Yes it accepts both GET and POST.

Re: Call indexer after action on website

2011-07-12 Thread PeterKerk
Bit of a delayed answer, but your suggestion worked, so thank you! :) -- View this message in context: http://lucene.472066.n3.nabble.com/Call-indexer-after-action-on-website-tp3105153p3162743.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Delta import issue

2011-07-12 Thread Rahul Warawdekar
Hi Peter, Try adding the primary key attribute to the root entity 'ad' and check if delta import works. By the way, which database are you using ? On Tue, Jul 12, 2011 at 10:27 AM, PeterKerk vettepa...@hotmail.com wrote: I'm having an issue with a delta import. I have the following in my

How to get doc # to use in reader.norms(content)[doc]?

2011-07-12 Thread Gabriele Kahlout
Hello, I'm trying to get the norm of an indexed document for a given field but beside reader.norms(fieldName) I'm not finding any API to retrieve it. Now reader.norms(..) returns an array with the norms for that field of all indexed documents. How do I know the index of my document in there?

Re: Delta import issue

2011-07-12 Thread PeterKerk
Hi Rahul, Not sure how I would do this Try adding the primary key attribute to the root entity 'ad'? In my entity ad I already have these fields (I left those out earlier for readability): field name=id column=ID / -- this is primary key of ads table field name=userid column=userid / field

Re: Delta import issue

2011-07-12 Thread Rahul Warawdekar
entity *pk=id* name=ad . On Tue, Jul 12, 2011 at 11:34 AM, PeterKerk vettepa...@hotmail.com wrote: Hi Rahul, Not sure how I would do this Try adding the primary key attribute to the root entity 'ad'? In my entity ad I already have these fields (I left those out

Re: Delta import issue

2011-07-12 Thread PeterKerk
That did the trick! Thanks! -- View this message in context: http://lucene.472066.n3.nabble.com/Delta-import-issue-tp3162581p3163009.html Sent from the Solr - User mailing list archive at Nabble.com.

how to build lucene-solr (espeically if behind a firewall)?

2011-07-12 Thread Will Milspec
hi all, building lucene/solr behind the firewall fails for us due to proxy errors. I tried setting the ant_opts -Dhttp.proxyHost, etc, but found the lucene portion still failed on javadoc links. I worked round this by changing failonjavadocerror to 'false' in lucene/common-build.xml (or

moreLikeThis with filter?

2011-07-12 Thread Elaine Li
Hi Folks, I need to filter out the returns if the document's field activated = false. I tried the following in order to retrieve similar products which are all activated products. But this does not work. http://localhost:8983/solr/mlt?q=(id:2043144 AND activated:true)mlt.count=10 Can you

Re: moreLikeThis with filter?

2011-07-12 Thread Koji Sekiguchi
(11/07/13 1:40), Elaine Li wrote: Hi Folks, I need to filter out the returns if the document's field activated = false. I tried the following in order to retrieve similar products which are all activated products. But this does not work. http://localhost:8983/solr/mlt?q=(id:2043144 AND

Solr and Php Question

2011-07-12 Thread Cupbearer
Total Linux noob, 1 month into first server ever... CentOS 5.6 Final Loaded php52 from ius yum install of mysql tomcat I've got Nutch up and running and working (may need to work on filters at some point) and I have Solr up and running and indexing everything. But, then I came to the point of

Re: moreLikeThis with filter?

2011-07-12 Thread Elaine Li
Thanks for the link. Using the fq with MLT request handler works. Elaine On Tue, Jul 12, 2011 at 12:55 PM, Koji Sekiguchi k...@r.email.ne.jp wrote: (11/07/13 1:40), Elaine Li wrote: Hi Folks, I need to filter out the returns if the document's field activated = false. I tried the

Delta import possible when no timestamp of specific field is set

2011-07-12 Thread PeterKerk
I want to show the new avatar of an ad as soon as the thumbid value of that ad is updated. This is what I had before delta query which works all fine: document name=ads entity pk=id name=ad query=select * from ads WHERE approvedate gt; '1/1/1900' and publishdate lt;

Re: Query Rewrite

2011-07-12 Thread Chris Hostetter
: Taking a closer look at this it seems as if the : DisjunctionMaxQueryParser supports doing multiple aliases and : generating multiple queries, I didn't see this same capability in the : ExtendedDismaxQParser, am I just missing it? If this capability were it's never been exposed at a user level

ContentStreamLoader Problem

2011-07-12 Thread Tod
I'm getting this error testing Solr V3.3.0 using the ExtractingRequestHandler. I'm taking advantage of the REST interface and batching my documents in using stream.url. It happens for every document I try to index. It works fine under Solr 1.4.1. I'm running everything under Tomcat. I

Re: Many Cores with Solr

2011-07-12 Thread Shalin Shekhar Mangar
Hi Torsten, On Tue, Jul 12, 2011 at 2:45 PM, Torsten Kunze torsten.ku...@b-s-s.dewrote: Hi, as a feasibility study I am trying to run Solr with multiple thousands of cores in the same shard to have small indexes that can be created and removed very fast. Now, I have a Tomcat running with

[Announce] Lucene-Eurocon Call for Participation Closes Friday, JULY 15

2011-07-12 Thread Mark Miller
Hey all - just a friendly FYI reminder: CALL FOR PARTICIPATION CLOSES FRIDAY, JULY 15! TO SUBMIT A TOPIC, GO TO: http://2011.lucene-eurocon.org/pages/cfp Now in its second year, Apache Lucene Eurocon 2011 comes to Barcelona, Spain, providing an unparalleled opportunity for European search

Re: Query Rewrite

2011-07-12 Thread Jamie Johnson
Thanks Hoss. I'm not really sure where to begin looking with this, I quickly read the JIRA but don't see mention of exposing the multiple aliases. Can you provide any more details? On Tue, Jul 12, 2011 at 1:19 PM, Chris Hostetter hossman_luc...@fucit.org wrote: : Taking a closer look at this

solr/velocity: funtion for sorting asc/desc

2011-07-12 Thread okayndc
hello, was wondering if there is a solr/velocity function out there that can sort say, a title name, by clicking on a link named sort title that can sort ascending or descending by alpha? or is this a frontend/jquery type of thing? thanks -- View this message in context:

Re: Query Rewrite

2011-07-12 Thread Chris Hostetter
: Thanks Hoss. I'm not really sure where to begin looking with this, I : quickly read the JIRA but don't see mention of exposing the multiple : aliases. Can you provide any more details? i refered to it as uf or user fields ... note the specific comment i linked to in the first url, and the

Re: Solr and Php Question

2011-07-12 Thread Damien Camilleri
Hi mate, I'm a php Dev. Try zend server community edition from zend. Install is easy and comes with most things u need and may solve this for you. Centos is always a bit behind for stability reasons. Zs also has lots of other goodies. Personally I use a php library rather than a php extension

Re: Possible bug in Solr 3.3 grouping

2011-07-12 Thread Martijn v Groningen
Hi Nikhil, Thanks for raising this issue. I checked this particular issue in a test case and I ran into the same error, so this is indeed a bug. I've fixed this issue for 3x in revision 1145748. So checking out the latest 3x branch and building Solr yourself should give you this bug fix. Or you

Re: Query Rewrite

2011-07-12 Thread Jamie Johnson
I'm not following where the aliasing feature I'm looking for is. Looking at the patch I didn't see it either. Essentially what I'm looking for is when a user searches for person_name that the query turns into person_name:john OR person_name_first:john OR person_name_last:john. I don't see

Re: Can I still search documents once updated?

2011-07-12 Thread Erick Erickson
Unless you stored your content field, the value you put in there won't be fetched from the index. Verify that the doc you retrieve from the index has values for content, I bet it doesn't Best Erick On Tue, Jul 12, 2011 at 9:38 AM, Gabriele Kahlout gabri...@mysimpatico.com wrote:  @Test    

Re: how to build lucene-solr (espeically if behind a firewall)?

2011-07-12 Thread Erick Erickson
What target did you try to build? Did you try ant dist? Best Erick On Tue, Jul 12, 2011 at 12:38 PM, Will Milspec will.mils...@gmail.com wrote: hi all, building lucene/solr behind the firewall fails for us due to proxy errors. I tried setting the ant_opts -Dhttp.proxyHost, etc, but found

Re: ContentStreamLoader Problem

2011-07-12 Thread Erick Erickson
This is a shot in the dark, but this smells like a classpath issue, and since you have a 1.4.1 installation on the machine, I'm *guessing* that you're getting a mix of old and new Jars. What happens if you try this on a machine that doesn't have 1.4.1 on it? If that works, then it's likely a

Re: solr/velocity: funtion for sorting asc/desc

2011-07-12 Thread Erick Erickson
Velocity should have nothing to do with it, you specify on the query something like sort=title asc or sort=title desc. But do note that sorting only really makes sense when the field is NOT tokenized. Often using a combination of a Keyword tokenizer and LowerCaseFilter gives the results you're

Grouping / Collapse Query

2011-07-12 Thread entdeveloper
I'm messing around with the field collapsing in 4.x http://wiki.apache.org/solr/FieldCollapsing . Is it currently possible to group by a field with a certain value only and leave all the others ungrouped using the group.query param? This currently doesn't seem to work the way I want it to. For

Re: ' invisible ' words

2011-07-12 Thread deniz
nothing was changed... the result is still the same... shuold i implement my own analyzer or tokenizer for the problem? - Zeki ama calismiyor... Calissa yapar... -- View this message in context: http://lucene.472066.n3.nabble.com/invisible-words-tp3158060p3164670.html Sent from the Solr -

Re: Possible bug in Solr 3.3 grouping

2011-07-12 Thread Nikhil Chhaochharia
Thanks Martijn - I should be able to patch the Solr 3.3 release based on r1145748. - Nikhil From: Martijn v Groningen To: solr-user@lucene.apache.org; Nikhil Chhaochharia Sent: Wednesday, 13 July 2011 2:04 AM Subject: Re: Possible bug in Solr 3.3 grouping Hi

nutch 1.2, solr 3.3, tomcat6. java.io.IOException: Job failed! problem when building solrindex

2011-07-12 Thread Leo Subscriptions
I'm running 64bit Ubuntu 11.04, nutch 1.2, solr 3.3 (downloaded, not built) and tomcat6 following this (and some other) links http://wiki.apache.org/nutch/RunningNutchAndSolr I have added the nutch schema and can access/view this schema via the admin page. nutch also works as I can perfrom