riter
I'm supposed to be able to set the requestwriter like so:
server.setRequestWriter(new BinaryRequestWriter());
However this method doesn't seem to exists in the SolrServer class of
SolrJ 1.4.1 ?
How do i set it to process updates in the java binary format?
Thanks in advance,
Consta
olrj.request.RequestWriter%29
>
> If you are using EmbeddedSolrServer, the params are not serialized via
> RequestWriter, so you don't have any options there.
>
> ryan
>
>
> On Mon, Aug 23, 2010 at 9:24 AM, Constantijn Visinescu
> wrote:
>> Hello,
>>
>
What happens to your performance if you query for *:* instead of * ?
(probably have to url encode the colon)
On Tue, Aug 24, 2010 at 11:26 AM, C0re wrote:
>
> We have a query which takes the form of
>
> ".../select?q=*&sort=evalDate+desc,score+desc&start=0&rows=10"
>
> This query takes around 5 s
Hi Bernd,
I'm assuming Linux here, if you're running something else these
instructions might differ slightly.
First get a heap dump with:
jmap -heap:format=b,file=/path/to/generate/heapdumpfile.hprof 1234
with 1234 being the PID (process id) of the JVM
After you get a Heap dump you can analyze
es acts up if you send mail in "richtext" or similar
> formats. Gmail has a link
> to change this, what client are you using?
>
> And thanks for participating!
>
> Best
> Erick
>
> On Tue, May 31, 2011 at 3:22 AM, Constantijn Visinescu
> wrote:
&g
Just to chip in my 2 cents:
You know you can increase the max number of boolean clauses in the
configuration files?
Depending on your situation it might not be a permanent fix, but it
could provide some instant relief.
Constantijn
On Fri, Jun 17, 2011 at 11:19 AM, Peter Sturge wrote:
> You'll
Thanks in advance,
Constantijn Visinescu
rt handler implementation?
Constantijn Visinescu
On Wed, Aug 12, 2009 at 10:49 AM, Avlesh Singh wrote:
> >
> > Searches would be for documents (rooms) that don't have certain dates in
> > their multi-valued fields for the a particular month.
> > E.g if you wanted
On Tue, Aug 11, 2009 at 6:13 PM, Shalin Shekhar Mangar <
shalinman...@gmail.com> wrote:
> On Tue, Aug 11, 2009 at 7:08 PM, Constantijn Visinescu
> wrote:
>
> >
> >
> > Room1
> > 2000-08-01T00:00:00Z
> > 2000-08-31T23:59:59Z
> >
> >
&g
y, as Shalin proposed. You should
> make the field of type sortable-int in that case.
>
> Any way i could get the functionality you're describing without having to
> > basically write my own data import handler implementation
>
> Worst come worst, you may need to write a t
nd
> of data.
>
> Cheers
> Avlesh
>
> On Wed, Aug 12, 2009 at 5:26 PM, Constantijn Visinescu
> wrote:
>
> > Hmm .. I looked up the transformer class and that should work, thanks for
> > the tip :)
> >
> > Thinking about it a bit more, wouldn't it
Accoridng to the documentation in schema.xml.original sint etc can be used
for both sorting and range queries?
On Fri, Aug 14, 2009 at 11:08 AM, Ninad Raut wrote:
> Hi,
> I want certain fields of type int,float and date to be sortable and I
> should
> be able to run my range queries a
mments it
might have?)
Constantijn
On Fri, Aug 14, 2009 at 1:39 PM, Ninad Raut wrote:
> Hi Constantijn,
> What are the t types viz;tint,tfloat etc. for? Is there a special use of
> these?
>
> On Fri, Aug 14, 2009 at 4:37 PM, Constantijn Visinescu
> wrote:
>
> > Accori
near the bottom of my web.xml (just above ) i got
solr/home
path/to/solr
java.lang.String
While you're at it you might want to make sure the following line in your
solrconfig.xml is commented out
next you should copy the sorl directory (the one with the conf, da
assloader
> Aug 16, 2009 6:14:44 PM org.apache.solr.servlet.SolrDispatchFilter init
> SEVERE: Could not start SOLR. Check solr/home property
>
> I don't understand... it says solr home set to
> '/usr/share/tomcat5/solr/' but the error says that there is something
> w
Ok ... sounds like something is screwed up somewhere(tm). Hard part is
figuring out where :)
My suggestion:
Throw everything that's remotely related to the webapp you're trying to
build off that server and make sure you get all of it. (no stray bits of
solr confuration files leftover anywhere).
erver similar to your
production server and see what happens :)
For me there was no noticeable performance difference.
Constantijn Visinescu
On Tue, Aug 18, 2009 at 1:15 AM, Aravind Naidu wrote:
>
> Hi,
> The possibility is that all items in this field could be unique. Let me
> clarify
Last i heard the eta was aprox a month, but they won't release it untill
it's ready.
Check JIRA here for the list of open issues that need fixing before 1.4
https://issues.apache.org/jira/secure/IssueNavigator.jspa?sorter/field=updated&sorter/order=DESC
Constantijn Visinescu
Am pretty sure solr.xml is if you want to define multiple solr
cores for your application.So it makes sense that solr checks for that
first, however if it doesn't find one it continues to start up with a single
core.
I KNOW it runs just fine for me without a solr.xml.
The exception seems to be c
use a dynamic field ?
On Tue, Aug 18, 2009 at 5:09 PM, Marco Westermann wrote:
> Hi there,
>
> is there a possibility to change the solr-schema over php dynamically. The
> web-application I want to index at the moment has the feature to add fields
> to entitys and you can tell this fields that t
gt; dynamically added fields. Good Idea?
>
> thanks,
> Marco
>
> Constantijn Visinescu schrieb:
>
>> use a dynamic field ?
>>
>> On Tue, Aug 18, 2009 at 5:09 PM, Marco Westermann
>> wrote:
>>
>>
>>
>>> Hi there,
>>>
>&g
figuration, that it is searchable. So I
>> need a field in solr for the author. Cause I cant restrict the user to
>> prefix every field with something like my_ dynamic fields doesn't work, do
>> they?
>>
>> best,
>> Marco
>>
>> Constantijn Visines
You'll want to use faceting, try to use a query like this
http://localhost:8080/Solr/select/?q=artist%3Awar&version=2.2&start=0&rows=0&facet=true&facet.limit=-1&facet.field=artist
replace localhost:8080 with your own :)
On Thu, Aug 20, 2009 at 2:40 PM, Daniel Löfquist <
daniel.lofqu...@it.cdon.c
You could write a solr query that queries *:* and only returns the id field
and then throw out all the IDs from "select id from databaseTable"
and then run a delete query for all the IDs that are left after wards.
However you'd have to write a seperate program/script to do this i think as
the DIH
There's a "sortMissingLast" true/false property that you can set on your
fielType definitions in the schema.
On Mon, Aug 24, 2009 at 11:58 AM, Marc Sturlese wrote:
>
> Hey there, I need to sort my query results alphabetically for a
> determinated
> field called "town". This field is analyzed with
text fields analyzed with KeywordAnalyzer?
>
> Constantijn Visinescu wrote:
> >
> > There's a "sortMissingLast" true/false property that you can set on your
> > fielType definitions in the schema.
> >
> > On Mon, Aug 24, 2009 at 11:58 AM, Mar
make a new multivalued field in your schema.xml, copy both width and length
into that field, and then sort on that field ?
On Tue, Aug 25, 2009 at 5:40 AM, erikea...@yahoo.com wrote:
> Clever... but if more than one row adds up to the same value I may get the
> wrong order (like 50, 50 and 10, 90
Just wondering, is there an easy way to load the whole index into ram?
On Wed, Sep 9, 2009 at 4:22 PM, Alex Baranov wrote:
> There is a good article on how to scale the Lucene/Solr solution:
>
>
> http://www.lucidimagination.com/Community/Hear-from-the-Experts/Articles/Scaling-Lucene-and-Solr
>
>
Just wondering, how much memory are you giving your JVM ?
On Thu, Sep 10, 2009 at 7:46 AM, Francis Yakin wrote:
>
> I am having OutOfMemory error on our slaves server, I would like to know if
> someone has the same issue and have the solution for this.
>
> SEVERE: Error during auto-warming of
>
I'd run look into faceting and run a test.
Create a schema, index the data and then run a query for *:* facteted by
hotel to get a list of all the hotels you want followed by a query that
returns all documents matching that hotel for your 2nd usecase.
You're probably still going to want a SQL dat
solr-1.3.0/example/solr
>
> Francis
>
> -Original Message-
> From: Constantijn Visinescu [mailto:baeli...@gmail.com]
> Sent: Wednesday, September 09, 2009 11:35 PM
> To: solr-user@lucene.apache.org
> Subject: Re: OutOfMemory error on solr 1.3
>
> Just wondering, how much
This may or may not help but here goes :)
When i was running performance tests i look a look at the simple post tool
that comes with the solr examples.
First i changed my schema.xml to fit my needs and then i deleted the old
index so solr created a blank one when i started up.
Then i had a had a
This might be a bit of a hack but i got this in the web.xml of my applicatin
and it works great.
solr/home
/Solr/WebRoot/WEB-INF/solr
java.lang.String
On Tue, Sep 29, 2009 at 2:32 PM, Andrew Clegg wrote:
>
> Hi all, I'm having problems getting Solr to start on
Does this help?
http://wiki.apache.org/solr/DataImportHandlerFaq#I.27m_using_DataImportHandler_with_a_MySQL_database._My_table_is_huge_and_DataImportHandler_is_going_out_of_memory._Why_does_DataImportHandler_bring_everything_to_memory.3F
On Wed, Oct 28, 2009 at 12:38 AM, William Pierce wrote:
>
Try making a database view that contains everything you want to index, and
then just use the DIH.
Worked when i tested it ;)
On Wed, Mar 10, 2010 at 1:56 AM, blargy wrote:
>
> I was wondering if someone could be so kind to give me some architectural
> guidance.
>
> A little about our setup. We
quot; in my DIH config?
>
>
> Constantijn Visinescu wrote:
> >
> > Try making a database view that contains everything you want to index,
> and
> > then just use the DIH.
> >
> > Worked when i tested it ;)
> >
> > On Wed, Mar 10, 2010 at 1:56 AM, blar
'd fix my
problem but i can't seem to find it in the documentation.
Thanks in advance,
Constantijn Visinescu
schema.xml&dataDir=data
>
> This is made possible due to the fact that each core can have it's own
> solrconfig.xml
> See example/multicore/ in your solr distribution.
>
> Hope this helps.
>
> Regards
> Charl Mert
>
>
>
> On Tue, Mar 23, 2010 at 12:10 PM,
Don't know about other servlet containers, but i can confirm Resin 3 breaks
if you try to load 2 completely independent webapps into it that both use
solr with jmx enabled.
I also had a similar issue with Blaze DS (library for flash remoting that
I'm using to power the UI for my webapp), but Blaze
> it would probably be pretty trivial to add if you want to take a stab at a
patch for it.
> -Hoss
*stab*
https://issues.apache.org/jira/browse/SOLR-1843
:)
40 matches
Mail list logo