Snipets Solr/nutch

2008-04-07 Thread khirb7
hello every body I am using solr in my project, and I want to use solr snipets generated by the highlighting. The problem is that these snipets aren't really well displayed, they are trancated and not really meanigful. I heard that nutch provide well snipets, is it possible and how to integrate

Re: Single Core Can't Find the solrconfig.xml file

2008-04-07 Thread kirk beers
Hoss, I was starting tomcat from the incorrect directory. As soon as I started it from /home/kirber/Desktop/tomcat-solr/apache-tomcat-5.5.25/webapps it fired up. Thanks! On Sat, Apr 5, 2008 at 10:31 PM, Chris Hostetter <[EMAIL PROTECTED]> wrote: > : > : I tried setting up a single core applica

Re: Snipets Solr/nutch

2008-04-07 Thread khirb7
khirb7 wrote: > > hello every body > > I am using solr in my project, and I want to use solr snipets generated by > the highlighting. > The problem is that these snipets aren't really well displayed, they are > trancated and not really meanigful. > I heard that nutch provide well snipets, is i

Re: Multicore Issue with nightly build

2008-04-07 Thread kirk beers
Hi Ryan, I re installed the multicore set up and I have it running and working properly. The cores newswire2 etc contained indexes from a prior Lucene application which did not seem to work in the multicore set-up. Now that I have multicore running are there any instructions on how to add/update

Re: Multicore Issue with nightly build

2008-04-07 Thread Thomas Arni
Please make sure that you do NOT have a field called "category" in in the documents you would like to add. For example: camera I am almost sure you have some documents, which have this field "category" instead of "cat". You can also add the field "category" to your schema.xml file and copy it

Re: Multicore Issue with nightly build

2008-04-07 Thread kirk beers
Which schema.xml are you referring to ? The core0 schema.xml or the main schema.xml ? Because I get the following error when I use : camera I get this error: org.apache.solr.common.SolrException: ERROR:unknown field 'cat' at org.apache.solr.update.DocumentBuilder.toDocument(DocumentBuild

how to suppress result

2008-04-07 Thread Evgeniy Strokin
Hello,.. I have odd problem. I use Solr for regular search, and it works fine for my task, but my client has a list of IDs in a flat separate file (he could have huge amount of the IDs, up to 1M) and he wants to exclude those IDs from result of the search. What is the right way to do this? Any t

RE: admin.jsp java.lang.NoSuchFieldError

2008-04-07 Thread Mendes, Richard
> > : SEVERE: Servlet.service() for servlet jsp threw exception > : > : java.lang.NoSuchFieldError: config > : > : at org.apache.jsp.admin.index_jsp._jspService(index_jsp.java:88) > > : I have the IBM developer works sample app running under the same Tomcat > : instance with the war fil

Re: how to suppress result

2008-04-07 Thread Siegfried Goeschl
Hi Evgeniy +) delete the documents if you really don't need need them +) create a field "ignored" and build an appropriate query to exclude the documents where 'ignored' is true Cheers, Siegfried Goeschl Evgeniy Strokin wrote: Hello,.. I have odd problem. I use Solr for regular search, and

Re: how to suppress result

2008-04-07 Thread Evgeniy Strokin
I'm sorry, I didn't explain my case clearly. My Index base should stay the same. User run query, and each time he runs query he wants to suppress his own IDs. The example will be a merchant, who sell books. He sell only fantasy books and he wants to see all fantasy books in stock of wholesaler e

Re: how to suppress result

2008-04-07 Thread Daniel Papasian
Evgeniy Strokin wrote: I'm sorry, I didn't explain my case clearly. My Index base should stay the same. User run query, and each time he runs query he wants to suppress his own IDs. The example will be a merchant, who sell books. He sell only fantasy books and he wants to see all fantasy books in

RE: how to suppress result

2008-04-07 Thread Jae Joo
I do have a same situation. Got 30 million indexed and deleted 3 millions. DELETE can not be posted as same way as "ADD". We can add multiple documents in the file, but not for DELETE. If there is "RANGE" of ID, make the range first then delete the record in index by {URL} id:[xxx TO yyy]. T

Number of docs per segments

2008-04-07 Thread swarag
I have about 15 millions documents totalling 27GB I would like to know how many segments I would need split them into. I am trying to achieve a qps of 100? -- View this message in context: http://www.nabble.com/Number-of-docs-per-segments-tp16538528p16538528.html Sent from the Solr - User m

Re: Number of docs per segments

2008-04-07 Thread Otis Gospodnetic
You'll need to provide more information about your environment and index if you want guesstimates. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message From: swarag <[EMAIL PROTECTED]> To: solr-user@lucene.apache.org Sent: Monday, April 7, 2008 2:31:55 P

Re: indexing slow, IO-bound?

2008-04-07 Thread Mike Klaas
On 5-Apr-08, at 7:09 AM, Britske wrote: Indexing of these documents takes a long time. Because of the size of the documents (because of the indexed fields) I am currently batching 50 documents at once which takes about 2 seconds.Without adding the 1 indexed fields to the document, indexing

RE: indexing slow, IO-bound?

2008-04-07 Thread Norskog, Lance
Also Linux has optional file systems that might be better for this. We plan to try them. ReiserFS and XFS have good reputations. (Reiser himself, that's a different story :( Cheers, Lance -Original Message- From: Mike Klaas [mailto:[EMAIL PROTECTED] Sent: Monday, April 07, 2008 12:04 P

Re: indexing slow, IO-bound?

2008-04-07 Thread Geert-Jan Brits
Thanks Mike, I'll try that. So nog being cpu-bound, you would indeed think indexing here is IO-bound? (Maybe it generally is, I'm not sure. ) What's a good tool to profile IO on windows, anyone? 2008/4/7, Mike Klaas <[EMAIL PROTECTED]>: > > On 5-Apr-08, at 7:09 AM, Britske wrote: > > Indexing o

Re: indexing slow, IO-bound?

2008-04-07 Thread Mike Klaas
On 7-Apr-08, at 12:21 PM, Geert-Jan Brits wrote: Thanks Mike, I'll try that. So nog being cpu-bound, you would indeed think indexing here is IO- bound? (Maybe it generally is, I'm not sure. ) That's pretty much impossible for me to say. All I said was that it doesn't seem to be bound by t

Re: Snipets Solr/nutch

2008-04-07 Thread Mike Klaas
On 7-Apr-08, at 7:12 AM, khirb7 wrote: khirb7 wrote: hello every body I am using solr in my project, and I want to use solr snipets generated by the highlighting. The problem is that these snipets aren't really well displayed, they are trancated and not really meanigful. I heard that nut

Re: indexing slow, IO-bound?

2008-04-07 Thread Yonik Seeley
On Mon, Apr 7, 2008 at 4:30 PM, Mike Klaas <[EMAIL PROTECTED]> wrote: > 'top', 'vmstat' tell exactly what's going on in terms of io and cpu on > unix. Perhaps someone has gotten these to work under windows with cygwin. The windows task manager is a pretty good replacement of top... do "select co

Re: restrictions on distributed search

2008-04-07 Thread swarag
So does it mean that Solr doesnt support QueryElevation (boost values) wouldnt work on a distributed search? Koji Sekiguchi-2 wrote: > > Thank you, Yonik! > > Koji >> - doesn't currently support date faceting >> - currently only supports sorted field facets >> >> > > -- View this messag

Re: restrictions on distributed search

2008-04-07 Thread Yonik Seeley
On Mon, Apr 7, 2008 at 4:55 PM, swarag <[EMAIL PROTECTED]> wrote: > So does it mean that Solr doesnt support QueryElevation (boost values) > wouldnt work on a distributed search? Just to be clear, boost values in a query work fine. Query elevation is a specific component: http://wiki.apache.org

operator precedence

2008-04-07 Thread solr_user
Hi, What is the default operator precedence between AND and OR in SOLR? For example if I type a query "A OR B AND C", will it be treated as "(A OR B) AND C" OR "A OR (B AND C)" Thanks -- View this message in context: http://www.nabble.com/operator-precedence-tp16541732p16541732.html Sent f

Re: operator precedence

2008-04-07 Thread Chris Hostetter
: What is the default operator precedence between AND and OR in SOLR? For : example if I type a query "A OR B AND C", will it be treated as "(A OR B) : AND C" OR "A OR (B AND C)" Strictly speaking: neither. AND and OR are just aliases for setting the MUST and SHOULD properties of the clause

Re: Number of docs per segments

2008-04-07 Thread Otis Gospodnetic
Didn't you already ask this question? Patience, patience. Plus: You'll need to provide more information about your environment and index if you want guesstimates. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message From: swarag <[EMAIL PROTECTED]> To:

DataImportHandler for Solr1.2

2008-04-07 Thread Vijay Rao
I am planning to use DataImportHandler with Solr1.2 . How can I port this? Cheers Vijay