Delete from web interface?

2010-11-24 Thread jlist9
Hi, I'm using solr 1.4. It seems that I can only do queries from the web interface. To post and delete, I'd have to drop to command line using the post script or command line or write some code. It'd be really great if the web interface could be extended and add a form to take XML content for posti

Re: solrj Unicode queries don't return results

2010-06-08 Thread jlist9
Ah, I didn't know this. This should be much simpler. Thank you very much! On Tue, Jun 8, 2010 at 12:57 AM, Ahmet Arslan wrote: >> Meanwhile, I'd like to try using POST, but I didn't find >> information >> about how to do this. Could someone point me to a link to >> some >> sample code? > > > you

Re: solrj Unicode queries don't return results

2010-06-08 Thread jlist9
I was using SolrQuery. Now I'm switching to QueryRequest. Hope this works. Thanks! On Mon, Jun 7, 2010 at 11:26 PM, jlist9 wrote: > Thank you for the reply! I'm using Tomcat 6.0.20. I read the page. > I think you meant setting URIEncoding for the connector: > > >

Re: solrj Unicode queries don't return results

2010-06-07 Thread jlist9
//wiki.apache.org/solr/SolrTomcat (near the bottom), I recently > experienced problems with glassfish and switched to post to solve it > (http://wiki.apache.org/solr/SolrGlassfish) > > Tim > > -Original Message- > From: jlist9 [mailto:jli...@gmail.com] > Sent: M

solrj Unicode queries don't return results

2010-06-07 Thread jlist9
Hi, I'm having a problem with Unicode queries using solrj. I have an index with unicode strings. From /solr/admin web interface, I can find results using the Java unicode format, such as \u751f\u6d3b. (If I just type in a UTF-8 string, I can't find any result though. Not sure why.) But in solrj, I

Re: Luke browser does not show non-String Solr fields?

2010-06-02 Thread jlist9
Thank you Chris. I'm clear now. I'll give Luke's latest version a try when it's out. On Wed, Jun 2, 2010 at 9:47 AM, Chris Hostetter wrote: > > : I see. It's still a little confusing to me but I'm fine as long as > : this is the expected behavior. I also tried the "example" index > : with data th

Re: Luke browser does not show non-String Solr fields?

2010-06-02 Thread jlist9
I see. It's still a little confusing to me but I'm fine as long as this is the expected behavior. I also tried the "example" index with data that come with the solr distribution and observe the same behavior - only String fields are displayed. So Lucene is sharing _some_ types with Solr but not all

Re: MoreLikeThis: /solr/mlt NOT_FOUND

2010-06-01 Thread jlist9
That's it. Thank you! I thought mlt was available by default. I was wrong. On Tue, Jun 1, 2010 at 8:22 AM, Ahmet Arslan wrote: >> I have some experience using MLT with >> the StandardRequestHandler with Python >> but I can't figure out how to do it with solrj. It seems >> that to do >> MLT with s

MoreLikeThis: /solr/mlt NOT_FOUND

2010-06-01 Thread jlist9
I have some experience using MLT with the StandardRequestHandler with Python but I can't figure out how to do it with solrj. It seems that to do MLT with solrj I have to use MoreLikeThisRequestHandler and there seems no way to use StandardRequestHandler for MLT with solrj (please correct me if I'm

Re: Luke browser does not show non-String Solr fields?

2010-05-31 Thread jlist9
The id field has type "long" in schema.xml. In Luke, they are shown as "hex dump". When viewing a doc (returned by *:*), I pick the ID field and press the "Show" button, Luke pops up a dialog that allows me to change the "Show Content As" value. When I choose "Number", I get an error message: "Som

Re: Luke browser does not show non-String Solr fields?

2010-05-31 Thread jlist9
Thanks for the suggestion. I tried 0.9.9.1 but saw the same problem. I didn't see 0.9.9 on their download page. On Mon, May 31, 2010 at 2:39 AM, Ahmet Arslan wrote: > >> Solr 1.4 >> >> > You haven't identified the version of Luke you're >> using. >> >> Luke 1.0.1 (2010-04-01) >> > > I think with

Re: Luke browser does not show non-String Solr fields?

2010-05-30 Thread jlist9
queries between solr and luke. > Imagine a co-worker from another department has provided you the information > you've provided us. What could you say? I might give it a try and see the same thing :-D Thanks > On Sun, May 30, 2010 at 2:19 PM, jlist9 wrote: > >> Oh, here&

Re: Luke browser does not show non-String Solr fields?

2010-05-30 Thread jlist9
10:57 AM, Erick Erickson wrote: > Then you have to provide a lot more detail about what you did > and what you're seeing and what you think you should see. You > might review this page: > http://wiki.apache.org/solr/UsingMailingLists > > Best > Erick > > On Sun, May

Re: Solr on Tomcat, how to use an external data directory?

2010-05-30 Thread jlist9
The JVM arg seems to overwrite that just fine: -Dsolr.data.dir=/opt/solr/example/data On Sun, May 30, 2010 at 12:14 AM, Abdelhamid ABID wrote: > .. and to unset dataDir just leave it blank > ${solr.data.dir:} > > On Sun, May 30, 2010 at 12:15 AM, Chris Hostetter > wrote: > >> >> : Most likely yo

Re: Luke browser does not show non-String Solr fields?

2010-05-30 Thread jlist9
t; play nice with the definitions in SOLR? > > HTH > Erick > > > On Sat, May 29, 2010 at 10:55 PM, jlist9 wrote: > >> I tried the stand-alone Luke tool (not Luke request handler) to browse >> a solr index and find a few strange things: >> >> 1. Queries

Luke browser does not show non-String Solr fields?

2010-05-29 Thread jlist9
I tried the stand-alone Luke tool (not Luke request handler) to browse a solr index and find a few strange things: 1. Queries like "id:123" which work fine in /solr/admin web interface returns nothing in Luke. "*:*" returns everything fine in Luke. 2. When Luke displays records with query "*:*",

Re: Solr on Tomcat, how to use an external data directory?

2010-05-29 Thread jlist9
You are right. Thanks Chris! On Sat, May 29, 2010 at 4:15 PM, Chris Hostetter wrote: > > : Most likely you have missed to point data directory in solrconf.xml, > : this should help : > : http://wiki.apache.org/solr/SolrConfigXml#dataDir_parameter > > right .. double check what the dataDir setting

Re: Solr on Tomcat, how to use an external data directory?

2010-05-29 Thread jlist9
.org/solr/SolrConfigXml#dataDir_parameter > > On Sat, May 29, 2010 at 9:48 PM, jlist9 wrote: > >> My solr index works fine with the embedded Jetty. I'm trying to move the >> index to Tomcat. Following the wiki page >> http://wiki.apache.org/solr/SolrTomcat, >> I p

Re: Solr on Tomcat, how to use an external data directory?

2010-05-29 Thread jlist9
ng > this on Windows. > > K > > > > On Sat, May 29, 2010 at 1:48 PM, jlist9 wrote: >> My solr index works fine with the embedded Jetty. I'm trying to move the >> index to Tomcat. Following the wiki page >> http://wiki.apache.org/solr/SolrTomca

Solr on Tomcat, how to use an external data directory?

2010-05-29 Thread jlist9
My solr index works fine with the embedded Jetty. I'm trying to move the index to Tomcat. Following the wiki page http://wiki.apache.org/solr/SolrTomcat, I put this line in setenv.bat: set JAVA_OPTS=%JAVA_OPTS% "-Dfile.encoding=UTF-8" "-Dsolr.solr.home=D:\opt\solr\example" Tomcat seems to be pick

Re[2]: Does MoreLikeThis support sharding?

2009-09-11 Thread jlist9
>> So my question is, Is MoreLikeThis with StandardRequestHandler >> supported on shards? If not, is MoreLikeThisHandler supported? > No, MoreLikeThis does not work with distributed search currently. > There is an issue open with a couple of patches though. > See https://issues.apache.org/jira/bro

Does MoreLikeThis support sharding?

2009-09-10 Thread jlist9
Hi, I tried MoreLikeThis (StandardRequestHandler with mlt arguments) with a single solr server and it works fine. However, when I tried the same query with sharded servers, I don't get the moreLikeThis key in the results. So my question is, Is MoreLikeThis with StandardRequestHandler supported on

Re: More questions about MoreLikeThis

2009-05-25 Thread jlist9
Thanks. That explains it! I'll set termVector to true and give it a try again. On Mon, May 25, 2009 at 7:41 AM, Koji Sekiguchi wrote: > MLT uses termVector if it exists for the field. If termVector is not > available, > MLT tries to get stored field data. If stored field is not available, MLT > d

Re: Getting 404 for MoreLikeThis handler

2009-05-24 Thread jlist9
Thanks. Will that still be the MoreLikeThisRequestHandler? Or the StandardRequestHandler with mlt option? >> Hi, I'm trying out the mlt handler but I'm getting a 404 error. >> >> HTTP Status 404 - /solr/mlt >> >> solrconfig.xml seem to say that mlt handler is available by default. >> i wonder if t

More questions about MoreLikeThis

2009-05-24 Thread jlist9
The wiki page (http://wiki.apache.org/solr/MoreLikeThis) says: mlt.fl: The fields to use for similarity. NOTE: if possible, these should have a stored TermVector I didn't set TermVector to true MoreLikeThis with StandardRequestHandler seems to work fine. The first question is, is TermVector only

Getting 404 for MoreLikeThis handler

2009-05-24 Thread jlist9
Hi, I'm trying out the mlt handler but I'm getting a 404 error. HTTP Status 404 - /solr/mlt solrconfig.xml seem to say that mlt handler is available by default. i wonder if there's anything else I should do before I can use it? I'm using version 1.3. Thanks

Re: Solr memory requirements?

2009-05-17 Thread jlist9
I've never paid attention to post/commit ration. I usually do a commit after maybe 100 posts. Is there a guideline about this? Thanks. On Wed, May 13, 2009 at 1:10 PM, Otis Gospodnetic wrote: > 2) ramBufferSizeMB dictates, more or less, how much Lucene/Solr will consume > during indexing.  Ther

start param for MoreLikeThis?

2009-05-09 Thread jlist9
Hi. I'm using the StandardRequestHandler for MoreLikeThis queries. I find that although I can specify how many results I want returned with mlt.count, it seesm like I can not specify a start location so that I can paginate the results. Is this the case? Thanks

Re: Slow Post Performance

2009-05-04 Thread jlist9
I'm using the embedded Jetty. >> I have an index of about 6 million small documents. >> I find that after a few days of on and off posting, searching >> still works fine but posting gets really slow - client http >> connection always times out. I restarted server. Then posting >> speed seemed to h

Slow Post Performance

2009-05-04 Thread jlist9
I have an index of about 6 million small documents. I find that after a few days of on and off posting, searching still works fine but posting gets really slow - client http connection always times out. I restarted server. Then posting speed seemed to have returned to normal. Is this the expected b

Re[2]: Highlight MoreLikeThis results?

2009-05-04 Thread jlist9
I see. Thanks. > There was a thread about this last week and verdict is currently you > can't highlight MoreLikeThis results. > Thanks, > Matt Weber >> My query returns a number of MoreLikeThis results for a given >> document. I wonder if there is a way to highlight the terms >> in the MoreLike

Highlight MoreLikeThis results?

2009-05-04 Thread jlist9
My query returns a number of MoreLikeThis results for a given document. I wonder if there is a way to highlight the terms in the MoreLikeThis results? Thanks.

Fwd: Question about MoreLikeThis

2009-04-26 Thread jlist9
I think I understand it now. It means to return MoreLikeThis docs for every doc in the result. ===8<==Original message text=== Hi, I have a question about what MoreLikeThis means - I suppose it means "get more documents that are similar to _this_ document". So I expect the

Question about MoreLikeThis

2009-04-26 Thread jlist9
Hi, I have a question about what MoreLikeThis means - I suppose it means "get more documents that are similar to _this_ document". So I expect the query always take a known document as argument. I wonder how I should interpret this query: http://localhost:8983/solr/select?q=apache&mlt=true&mlt.fl=

Embed my webapp in solr jetty

2009-03-09 Thread jlist9
Is it a bad idea to embed my webapp in solr jetty? Or is it always better to use a separate web server if I'm serving the result from a web server? Thanks

Re: Store fields that are not defined in schema?

2009-03-08 Thread jlist9
he cleaner way to go. > > Otis > -- > Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch > > > > - Original Message >> From: jlist9 >> To: solr-user@lucene.apache.org >> Sent: Sunday, March 8, 2009 2:59:50 PM >> Subject: Re: Store fie

Re: Store fields that are not defined in schema?

2009-03-08 Thread jlist9
n your documents. > > > Otis-- > Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch > > > > - Original Message >> From: jlist9 >> To: solr-user@lucene.apache.org >> Sent: Sunday, March 8, 2009 2:33:03 PM >> Subject: Store fields that are

Store fields that are not defined in schema?

2009-03-08 Thread jlist9
I haven't tried this but is it possible to store fields that are not defined in solr schema and retrieve them in the result? I understand there could be conflicts in terms of how each document understand/defines these fields but since these fields are not defined, and thus not index, it should cau

Re: Any new python libraries?

2008-12-23 Thread jlist9
Maybe I'm using an older version. I'll give it a try and report back. Thanks. On Tue, Dec 23, 2008 at 3:26 AM, Ed Summers wrote: > Yes I've used it with Unicode, see test_unicode in the unittests [1]. > In fact one of the reasons why it was moved to google-code was so we > could rapidly fix some

Re: Any new python libraries?

2008-12-22 Thread jlist9
I used it with 1.2 but had some unicode issues. Anyone else has had issues with unicode? Or maybe the issues have been addressed ? On Mon, Dec 22, 2008 at 7:04 PM, Ed Summers wrote: > On Mon, Dec 22, 2008 at 4:53 AM, Mark Jarecki wrote: >> I was just wondering if there were any new Python librar