custom types file for WordDelimeterFilterFactory

2011-05-06 Thread Jerry Mindek
Hi there,

 

I would like to experiment with the custom types file introduced in
solr-2059.

 

I have copied the wdftypes.txt file from SVN and put it in my
solrhome/solr/conf directory.

However, it doesn't appear to me that the WordDelimeterFilterFactory is
using it.

 

Have I put it in the correct path?

Is there an argument to the WordDelimeterFilterFactory that I must provide
in order for the file to be used?

How do I verify that it is in use? Will I see it in the analyzer?

 

Thanks,

Jerry Mindek

 



question regarding proper placement of geofilt in fq=

2011-03-10 Thread Jerry Mindek
Hi,

I am using rev 1036236 of solr trunk running as a servlet in Tomcat 7.
The doc set is sharded over 11 shards.
Currently, I have all the shards running in a single tomcat.

Please see the bottom of the email for the bits of my schema.xml and 
solrconfig.xml that might help you understand my configuration.

I am seeing what I think is strange behavior when I try to use the geofilt in a 
filter query.
Here's what I am seeing:


1.   If put the {!geofilt} as the last argument of the fq= parameter and I 
send the following distributed query to my sharded index:
/select?start=0rows=30q=foodfq=b_type:shops AND 
{!geofilt}qt=spatialdismaxfl=*%2Cscorefacet=falsept=38.029191,-78.479266sfield=lat_longd=80shards=...
I get a syntax error. Which seems odd to me.


2.   If I move the {!geofilt} to the first position in the fq= and send the 
following distributed query:
/select?start=0rows=30q=foodfq={!geofilt} AND 
b_type:T01qt=spatialdismaxfl=*%2Cscorefacet=falsept=38.029191,-78.479266sfield=lat_longd=80shards=...
Then only the geofilt is apply, not the b_type:T01. Which seems odd to me. I 
would expect both filters to be applied.


3.   Finally, when I submit this query as:
/select?start=0rows=30q=foodfq=_query_:{!geofilt} AND 
b_type:T01qt=spatialdismaxfl=*%2Cscorefacet=falsept=38.029191,-78.479266sfield=lat_longd=80shards=...
This works as I had hoped, i.e. both the geofilt and the b_type filters are 
applied.

Am I trying to use geofilt in the wrong way or is this possibly a bug?

Thanks,
Jerry Mindek


!--schema.xml--
field name=cn type=text indexed=true stored=true required=true /
field name=dn type=string indexed=true stored=true required=false /
field name=t1 type=text indexed=true stored=true /
field name=ts type=string indexed=true  stored=true/
field name=lb type=text indexed=true   stored=false /
field name=sim type=string indexed=true   stored=true /
field name=s4_s type=text indexed=true   stored=false /
field name=stat type=string indexed=true stored=true  /
field name=pst type=text indexed=true  stored=true /
fieldType name=location class=solr.LatLonType 
subFieldSuffix=_coordinate/
...
field name=type b_type=string indexed=true stored=true/
field name=lat_long type=location indexed=true stored=true /
!-end snippet schema.xml--

!-solrconfig.xml --
requestHandler name=spatialdismax class=solr.DisMaxRequestHandler 
lst name=defaults
 str name=sortscore desc/str
 str name=facettrue/str
 str name=facet.mincount1/str
 str name=echoParamsexplicit/str
 int name=rows20/int
 float name=tie0.01/float
 str name=qf
cn^2.0 t1^2.0 ts^2.0 lb^2.0 s4_s^2.0 sim^2.0
 /str
 str name=pf
cn^2.0 t1^2.0 ts^2.0 lb^2.0 s4_s^2.0 sim^2.0
 /str
   str name=fldn, cn,  t1, stat, pst, pct, ts, sv, score/str
 str name=mm
2lt;-1 5lt;-2 6lt;90%
 /str
 int name=ps100/int
 str name=q.alt*:*/str
/lst
  /requestHandler
!-end snippet solrconfig.xml--



RE: help integrating katta with solr

2011-01-24 Thread Jerry Mindek
Hi Otis,

I was implementing Katta because I discovered it before Solr Cloud.
Before replying to your email, I took some time to go through the examples
on the solr cloud wiki.

The examples worked without any issue for me and I now have a better
understanding of what solr cloud is offering. 

My experience with it so far is good.

It seems to me that Solr Cloud and Katta both offer failover using
zookeeper, load balancing, and easier shard deployment and shard searching. 

These are all important issues for my company and I as we have many sharded
indexes. We are always looking for ways to simplify and shorten the time it
takes to index, deploy, maintain, and trouble shoot those sharded
collections.

A major difference I see between the between the two is that Katta relies on
Hadoop HDFS for storage whereas solr cloud has no such dependence.

I still would like to integrate Katta into Solr. If for no other reason than
to complete a task that I set out to do. Also, it would be nice to explore
its differences from solr cloud, giving us a choice in which solution to
implement.

So, I am still looking for some assistance integrating Katta with Solr. :-)


Thanks,
Jerry


-Original Message-
From: Otis Gospodnetic [mailto:otis_gospodne...@yahoo.com] 
Sent: Saturday, January 22, 2011 12:52 AM
To: solr-user@lucene.apache.org
Subject: Re: help integrating katta with solr

Hi Jerry,

Sorry, not a direct answer, but why Katta?  Why nor SolrCloud (i.e. trunk) 
instead?

Otis

Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
Lucene ecosystem search :: http://search-lucene.com/



- Original Message 
 From: Jerry Mindek jerry.min...@gmail.com
 To: solr-user@lucene.apache.org
 Sent: Fri, January 21, 2011 4:37:12 PM
 Subject: help integrating katta with solr
 
 Hello,
 
 
 
 I have been trying to integrate Katta with Solr sadly,  without success.
 
 I am using the information from JIRA  issue 1395 as  a guide. However,
this
 information seems out of date and incomplete.
 
 
 
 So far, I have attempted to integrate Katta with both solr trunk  and
 branch-1.4.
 
 I am unable to get the patches applied completely and  am totally unable
to
 compile solr once the patches are applied.
 
 
 
 Could someone provide some tips or, an up to date guide on how to do
this?
 
 
 
 Thanks,
 
 Jerry Mindek
 
 
 
 



help integrating katta with solr

2011-01-21 Thread Jerry Mindek
Hello,

 

I have been trying to integrate Katta with Solr sadly, without success.

I am using the information from JIRA  issue 1395 as a guide. However, this
information seems out of date and incomplete.

 

So far, I have attempted to integrate Katta with both solr trunk and
branch-1.4.

I am unable to get the patches applied completely and am totally unable to
compile solr once the patches are applied.

 

Could someone provide some tips or, an up to date guide on how to do this?

 

Thanks,

Jerry Mindek

 



requesting help to integrate katta and solr

2011-01-21 Thread Jerry Mindek
Hello,

I have been trying to integrate Katta with Solr sadly, without success.
I am using the information from JIRA  issue 1395 as a guide. However, this 
information seems out of date and incomplete.

So far, I have attempted to integrate Katta with both solr trunk and branch-1.4.
I am unable to get the patches applied completely and am totally unable to 
compile solr once the patches are applied.

Could someone provide some tips or, an up to date guide on how to do this?

Thanks,
Jerry Mindek



RE: Displaying stdout from postCommit command

2008-11-12 Thread Jerry Mindek
Thanks for the reply Koji.

The reason why I asked is because I have a user who wants to post their
own updates.

When the postCommit is active, after he posts his documents, it appears
that the job has stalled because there is a long period with no output. 
After speaking with me, he now realizes that the snapshooter is running.

However, I was hoping to give him visual confirmation that snapshooter
is running by pushing the output to stdout.

Thanks,
Jerry

-Original Message-
From: Koji Sekiguchi [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 12, 2008 11:16 AM
To: solr-user@lucene.apache.org
Subject: Re: Displaying stdout from postCommit command

Jerry,

  I would like to see the output from snapshooter

snapshooter outputs snapshooter.log. But,

  Is there a way to send snapshooter's output to stdout of the terminal
  which I executed the commit command?

I don't think it's possible.
(You can modify RunExecutableListener to redirect stdout to
a file, not your terminal...)

Koji



Displaying stdout from postCommit command

2008-11-07 Thread Jerry Mindek
Hi all,

 

I would like to see the output from snapshooter as it executes after it
has been called via the postCommit event of the
solr.RunExecutableListener class.

 

In my solrconfig.xml, the listener is described by:

 

listener event=postCommit class=solr.RunExecutableListener

  str name=exesnapshooter/str

  str name=dirsolr/bin/str

  bool name=waittrue/bool

/listener

 

Is there a way to send snapshooter's output to stdout of the terminal
which I executed the commit command?

 

 

 

Thanks,

Jerry Mindek