DataImporter from context

2010-05-18 Thread Blargy
Whats the best way to get to the instance of DataImport handler from the current context? Thanks -- View this message in context: http://lucene.472066.n3.nabble.com/DataImporter-from-context-tp825517p825517.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Customized Solr DataImporter

2010-05-18 Thread Ahmet Arslan
I dont know what pattern the user will configure the columns in a separate table.i have to read this table to map the solr-fields to these columns ,so i cant give dynamic fields also,and Transformers also seems to be no use in this case. You don't need to know columns names. You can

Re: SOLR-788 and merged trunk

2010-05-18 Thread Shawn Heisey
On 5/17/2010 3:34 PM, Shawn Heisey wrote: I am looking at SOLR-788, trying to apply it to latest trunk. It looks like that's going to require some rework, because the included constant PURPOSE_GET_MLT_RESULTS conflicts with something added later, PURPOSE_GET_TERMS. How hard would it be to

Solr Architecture discussion

2010-05-18 Thread rabahb
Hi, I'd like to get some architectural advices concerning the setup of a solr (v1.4) platform in a production environment. I'll first describe my targeted architecture and then ask the questions related to that environment. Here's briefly what I achieved so far: I've already setup an

Re: DIH. behavior after a import. Log, delete table !?

2010-05-18 Thread stockii
how can i say that solr should start the jar after every Delta-Import NOT after every Full-Import ? -- View this message in context: http://lucene.472066.n3.nabble.com/DIH-behavior-after-a-import-Log-delete-table-tp823232p825717.html Sent from the Solr - User mailing list archive at

Re: DIH. behavior after a import. Log, delete table !?

2010-05-18 Thread Ahmet Arslan
how can i say that solr should start the jar after every Delta-Import NOT after every Full-Import ? You cannot distinguish between delta or full. So you need to do it in your jar program. In your java program you need to send GET method to url http://localhost:8080/solr/dataimport if

Multifaceting on multivalued field

2010-05-18 Thread Peter Karich
Hi all, I read about multifaceting [1] and tried it for myself. With multifaceting I would like to conserve the number of documents for the 'un-facetted case'. This works nice with normal fields, but I get an exception [2] if I apply this on a multivalued field. Is this a bug or logical :-) ? If

Solr Cell and encrypted pdf files

2010-05-18 Thread Yiannis Pericleous
Hi, I can't seem to get solr cell to index password protected pdf files. I can't figure out how to pass the password to tika and looking at ExtractingDocumentLoader, it doesn't seem to pass any pdf password related metadata to the tika parser. Whatever I do, pdfbox complains that: The

Re: Multifaceting on multivalued field

2010-05-18 Thread Marco Martinez
Hi, This exception is fired when you don't have this field on your index, but this comes because you have an error in your query syntax !{ex=cars}cars, should be {*!*ex=cars}cars , whith the exclamation inside the brackets. Marco Martínez Bautista http://www.paradigmatecnologico.com Avenida

Long startup phase

2010-05-18 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, trying to deploy Solr 1.4/JDK 1.6/CentOS Linux 64bit on a new production server. Starting Solr takes very long on this machine. In particular it seems to hang for a minute or two showing only this on the console: [...@db01

how to achieve filters

2010-05-18 Thread Doddamani, Prakash
Hi All I am using dismax query to fetch docs from solr where I have set some boost to the each fields, If I search for query Rock I get following docs with some boost value which I have specified, doc float name=score19.494072/float int name=bitrate120/int str name=contentmp3/str

Re: Multifaceting on multivalued field

2010-05-18 Thread Peter Karich
Hi Marco, oh, awkward. Thanks a lot!! Regards, Peter. Hi, This exception is fired when you don't have this field on your index, but this comes because you have an error in your query syntax !{ex=cars}cars, should be {*!*ex=cars}cars , whith the exclamation inside the brackets. Marco

Re: Which Solr to use?

2010-05-18 Thread Robert Muir
On Mon, May 17, 2010 at 8:22 PM, Sixten Otto six...@sfko.com wrote: - Plunge ahead with the trunk, and hope that things stabilize by a few months from now, when we'd be hoping to go live on one of our biggest client sites. - Go with the last 1.5 code, knowing that the features we want are in

Re: how to achieve filters

2010-05-18 Thread Ahmet Arslan
I am using dismax query to fetch docs from solr where I have set some boost to the each fields, If I search for query Rock I get following docs with some boost value which I have specified, doc   float name=score19.494072/float   int name=bitrate120/int   str

Re: how to achieve filters

2010-05-18 Thread Michael Kuhlmann
Am 18.05.2010 16:54, schrieb Ahmet Arslan: 2. Query=rock where bitrate128 where it should return only first and third docs where bitrate128 q=rockfq:bitrate:[* TO 128] for this bitrate field must be tint type. q=rockfq:bitrate:[* TO 127] would be better, because bitrate should be lower

RE: how to achieve filters

2010-05-18 Thread Doddamani, Prakash
Thanks much Ahmet, Yep content is string, and bitrate is int. I am digging more now Can we combine both the scenarios. q=rockfq={!field f=content}mp3 q=rockfq:bitrate:[* TO 128] Say if I want only mp3 from 0 to 128 Regards Prakash -Original Message- From: Ahmet Arslan

Re: Recommended MySQL JDBC driver

2010-05-18 Thread Shawn Heisey
On 5/14/2010 12:40 PM, Shawn Heisey wrote: I downgraded to 5.0.8 for testing. Initially, I thought it was going to be faster, but it slows down as it gets further into the index. It now looks like it's probably going to take the same amount of time. On the server timeout thing - that's a

RE: how to achieve filters

2010-05-18 Thread Ahmet Arslan
Yep content is string, and bitrate is int. bitrate should be trie based tint, not int, for range queries work correctly. I am digging more now Can we combine both the scenarios. q=rockfq={!field f=content}mp3 q=rockfq:bitrate:[* TO 128] Say if I want only mp3 from 0 to 128 You can

RE: how to achieve filters

2010-05-18 Thread Doddamani, Prakash
Hey q=rockfq:bitrate:[* TO 128] bitrate is int This also return docs with more then 128 bitrate, Is there something I am doing wrong Regards prakash -Original Message- From: Doddamani, Prakash [mailto:prakash.doddam...@corp.aol.com] Sent: Tuesday, May 18, 2010 8:44 PM To:

RE: how to achieve filters

2010-05-18 Thread Doddamani, Prakash
Thanks Ahmet, Let me try these options Regards Prakash -Original Message- From: Ahmet Arslan [mailto:iori...@yahoo.com] Sent: Tuesday, May 18, 2010 9:06 PM To: solr-user@lucene.apache.org Subject: RE: how to achieve filters Yep content is string, and bitrate is int. bitrate should

RE: how to achieve filters

2010-05-18 Thread Ahmet Arslan
q=rockfq:bitrate:[* TO 128] bitrate is int This also return docs with more then 128 bitrate, Is there something I am doing wrong If you are using solr 1.4.0 you need to use fieldType name=tint class=solr.TrieIntField precisionStep=8 omitNorms=true positionIncrementGap=0 restart

'Minimum Should Match' on subquery level

2010-05-18 Thread Myron Chelyada
Hi All I need to use Lucene's `minimum number should match` option of BooleanQuery on Solr. Actually I need to do the same as DisMaxRequestHandler's `mm` parameter does but to use it on subquery level, i.e. I have complex query which consists of several Boolean subqueries and I need to specify

Storing RandomSortField

2010-05-18 Thread Alexandre Rocco
Hi guys, Is there any way to mak a RandomSortField be stored? I'm trying to do it for debugging purposes, My intention is to take a look at the values that are stored there to determine the sorting that is being applied to the results. I tried to make it a stored field as: field name=randomorder

Re: Autosuggest

2010-05-18 Thread Chris Hostetter
: So there is no generally accepted preferred way to do auto-suggest? there are many generally accepted and preferred ways to do auto-suggest -- it all comes down to specifics goals and needs. for example: using the TermsComponent is really simple to setup if you want your suggestions to

Re: disable caches in real time

2010-05-18 Thread Chris Hostetter
: I want to know if there is any approach to disable caches in a specific core : from a multicore server. only via hte config. : I have a multicore server where the core0 will be listen to the queries and : other core (core1) that will be replicated from a master server. Once the : replication

Re: Which Solr to use?

2010-05-18 Thread Sixten Otto
On Tue, May 18, 2010 at 10:40 AM, Robert Muir rcm...@gmail.com wrote: Some discussions/voting happened and the trunk is intended to be ... more like a normal trunk. If you need features not in an official release, and are looking for a codebase with updated features, I would recommend instead

TikaEntityProcessor on Solr 1.4?

2010-05-18 Thread Sixten Otto
Sorry to repeat this question, but I realized that it probably belonged in its own thread: The TikaEntityProcessor class that enables DataImportHandler to process business documents was added after the release of Solr 1.4, along with some other changes (like the binary DataSources) to support it.

Re: Autosuggest

2010-05-18 Thread Blargy
Thanks for the info Hoss. I will probably need to go with one of the more complicated solutions. Is there any online documentation for this task? Thanks. -- View this message in context: http://lucene.472066.n3.nabble.com/Autosuggest-tp818430p827329.html Sent from the Solr - User mailing list

Re: Merge Search for Suggestion. Keywords and Products ?!

2010-05-18 Thread Chris Hostetter
: i searching for a way to merge my two different autocompletion in one : request. : thats what i want: you could copyField your two differnet ields into one destination, and then use a single strategy on that new field, but ... : - suggestion for Product Names (EdgNGram) : - suggestion for

Embedded Server, Caching, Stats page updates

2010-05-18 Thread Antoniya Statelova
I just switched from using CommonHttpSolrServer to EmbeddedSolrServer and the performance surprisingly deteriorated. I was expecting an improvement so in my confusion i went to the stats page and noticed that the caches were no longer getting hit. The embedded server however should still use

Re: Embedded Server, Caching, Stats page updates

2010-05-18 Thread Chris Hostetter
: I just switched from using CommonHttpSolrServer to EmbeddedSolrServer and : the performance surprisingly deteriorated. I was expecting an improvement so : in my confusion i went to the stats page and noticed that the caches were no : longer getting hit. The embedded server however should still

Re: Long startup phase

2010-05-18 Thread Lance Norskog
There are no .pyc files in Solr. It's an all-Java app, no Python. Run 'jps' to get a list of Java processes running. Then use 'jhat' or 'jstat' to examine the program. 'netstat -an | fgrep :8983' will give you a list of all sockets in use by Solr, both client and server. On Tue, May 18, 2010 at

Deduplication

2010-05-18 Thread Blargy
Basically for some uses cases I would like to show duplicates for other I wanted them ignored. If I have overwriteDupes=false and I just create the dedup hash how can I query for only unique hash values... ie something like a SQL group by. Thanks -- View this message in context:

Re: Connection Pool

2010-05-18 Thread Lance Norskog
Do multiple calls with your client program. So, curl _file1_ curl _file2_ curl _file3_ curl _file4_ wait; wait; wait; wait On Sun, May 16, 2010 at 8:20 AM, Monmohan Singh monmo...@gmail.com wrote: Sorry for hijacking the thread, but I have an additional question Is there a way to achieve