Re: Can't Delete Record

2008-08-12 Thread Vj Ali
Hello Shalin! 1.The type of the id is string i-e field name=url type=string indexed=true stored=true/ uniqueKeyurl/uniqueKey 2. I used the query deleteidwww.google.com/id/delete 3.No there is no exception in Log Regards, Ali Shalin Shekhar Mangar wrote: Hi Ali, We can help you more

Re: Field Types Question

2008-08-12 Thread Erik Hatcher
On Aug 11, 2008, at 9:28 PM, Jake Conk wrote: I was wondering what are the differences in certain field types? For instance what's the difference between the following? integer / sint float / sfloat The difference is the internal representation of the String value of the term representing

Re: Best strategy for dates in solr-ruby

2008-08-12 Thread Erik Hatcher
On Aug 11, 2008, at 3:03 PM, Ian Connor wrote: I originally used a Ruby Date class for my dates, but found when I set the type to solr.DateField in the solrconfig.xml, it returned a parse error. After that, I switched to Time and it worked fine. However, I now have some dates that are out of

query parsing

2008-08-12 Thread Stefan Oestreicher
Hi, I need to modify the query to search through all fields if no explicit field has been specified. I know there's the dismax handler but I'd like to use the standard query syntax. I implemented that with my own QParserPlugin and QParser and for simple term queries it works great. I'm using the

Re: Lower Case Filter Factory

2008-08-12 Thread Erik Hatcher
On Aug 11, 2008, at 1:51 PM, swarag wrote: When I query: http://localhost:8983/solr/select?q=p* I get results back, but when I query as http://localhost:8983/solr/select?q=P* I get no results. Is there anything wrong im doing? Wildcard expressions are _not_ analyzed when parsed. Their case

Re: query parsing

2008-08-12 Thread Erik Hatcher
Solr/Lucene QueryParser returns a TermQuery for phrases that end up only as a single term. This could happen, for example, if it was using Solr's string field type (which has effectively no analyzer). I'd guess that you'd want to re-analyze TermQuery's? (though that sound problematic for

Re: number of matching documents incorrect during postOptimize

2008-08-12 Thread Shalin Shekhar Mangar
Hi Tom, There will be no clean way of doing this with scripts. A way would be to write a newSearcher event listener in Java and use one of the SolrIndexSearcher#getDocList methods to do the query. If successful, execute your scripts for snapshoot. However, I think it should be fine if you want

RE: query parsing

2008-08-12 Thread Stefan Oestreicher
Ah, yes, the FieldType I used was not the one I needed. I completely missed that. Thank you very much, it's working perfectly now. thanks, Stefan Oestreicher -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 12, 2008 11:46 AM To:

Re: Best strategy for dates in solr-ruby

2008-08-12 Thread Ian Connor
I like your suggestion. To keep the index working the same, I have just switched to dates and added the string T23:59:59Z and it seems to make the solr.DateField happy when this string is passed. It will mean I will have to mess with it on the way back in - but it should be okay. To have

Problems using saxon for XSLT transforms

2008-08-12 Thread Norberto Meijome
hi :) I'm trying to use SAXON instead of the default XSLT parser. I was pretty sure i had it running fine on 1.2, but when I repeated the same steps (as per the wiki) on latest nightly build, i cannot see any sign of it being loaded or use, although the classpath seems to be pointing to them (see

Re: Highlighting Output

2008-08-12 Thread Martin Owens
I tried to post it myself, got the address wrong, thanks for re-posting. the problem we have with highlighting outside of the indexer is that the systems we use that store co-ords are... based on term string (in one case) and the specific term offset in another. Both of which break horribly when

Bug in admin center JSP?

2008-08-12 Thread Matthew Runo
Hello! I've noticed that the admin center of SVN head seems to report two open searches recently, though they appear to be the same searcher.. Example: name:[EMAIL PROTECTED] main class: org.apache.solr.search.SolrIndexSearcher version:1.0 description:index searcher stats:

Re: Bug in admin center JSP?

2008-08-12 Thread Yonik Seeley
I believe this is intentional. searchers are now also registered under their unique names also so one can tell of there is a searcher leak. searcher is also still used for the main registered searcher so thinks like JMX can look it up. -Yonik On Tue, Aug 12, 2008 at 10:58 AM, Matthew Runo

Re: Bug in admin center JSP?

2008-08-12 Thread Shalin Shekhar Mangar
They are both the same searcher. The reason for displaying them twice is to see the current searcher separately (named searcher) and any other searchers that are still open due to any reasons. The name attribute was specially added so that one can verify that both are indeed the same. On Tue, Aug

Re: concurrent optimize and update

2008-08-12 Thread Jason Rennie
On Mon, Aug 11, 2008 at 6:41 PM, Yonik Seeley [EMAIL PROTECTED] wrote: It's safe... the adds will block until the commit or optimize has finished. By block, do you mean that the update connection(s) will be held open? Our optimizes take many minutes to complete. I'm thinking that this could

Re: Bug in admin center JSP?

2008-08-12 Thread Matthew Runo
Ah, that makes sense. I just wanted to point it out in case it wasn't intentional since it wasn't apparent from the front end as to why they were listed twice. Thanks for taking a moment to reply =) Matthew Runo Software Engineer, Zappos.com [EMAIL PROTECTED] - 702-943-7833 On Aug 12,

RE: Best way to index without diacritics

2008-08-12 Thread Steven A Rowe
Hi Alejandro, Solr is Unicode aware. The ISOLatin1AccentFilterFactory handles diacritics for the ISO Latin-1 section of the Unicode character set. UTF (do you mean UTF-8?) is a (set of) Unicode serialization(s), and once Solr has deserialized it, it is just Unicode characters (Java's

Re: concurrent optimize and update

2008-08-12 Thread Yonik Seeley
On Tue, Aug 12, 2008 at 11:19 AM, Jason Rennie [EMAIL PROTECTED] wrote: On Mon, Aug 11, 2008 at 6:41 PM, Yonik Seeley [EMAIL PROTECTED] wrote: It's safe... the adds will block until the commit or optimize has finished. By block, do you mean that the update connection(s) will be held open?

Re: Highlighting Output

2008-08-12 Thread Tricia Williams
Martin, You may want to follow Mark Miller's effort https://issues.apache.org/jira/browse/LUCENE-1286 as it develops -- perhaps even help with it. He's developing a Lucene highlighter which would run through query terms by using their offsets making highlighting large documents much more

NOTICE: multicore.xml changed to solr.xml, format changes as well

2008-08-12 Thread Chris Hostetter
If you've bene using the trunk (and/or nightly builds) and you take advantage of the MultiCore features in Solr pelase be aware... As of r685244 (committed a few moments ago) Solr no longer looks for a multicore.xml file. It instead looks for a solr.xml file. solr.xml supports all of the

Re: Count of facet count

2008-08-12 Thread Chris Hostetter
: : how I can get count of distinct facet_fields ? : : : : like numFacetFound in this example: : : There's currently no way to do that. : I need to do the same thing. Any pointers on how one would go about : implementing that? (in Java) Thanks. The change would be in the SimpleFacets

Re: adds / delete within same 'transaction'..

2008-08-12 Thread Mike Klaas
On 11-Aug-08, at 10:48 PM, Norberto Meijome wrote: Hello :) I *think* i know the answer, but i'd like to confirm : Say I have docid1id/nameold/name/doc already indexed and commited (ie, 'live' ) What happens if I issue: deleteid1/id/delete adddocid1/idnamenew/name/doc commit/ will delete

2nd Hadoop Get Together Berlin

2008-08-12 Thread idrost
Hello, I would like to announce that on Monday September 8, 2008 at 5:00pm in the newthinking store (Tucholskystr. 48, Berlin) the second Hadoop Get Together in Berlin is going to take place. Just like last time there will be slots of 20min each for talks on your Hadoop topic. After each talk

Re: Field Types Question

2008-08-12 Thread Jake Conk
Thanks Erik! On Tue, Aug 12, 2008 at 1:58 AM, Erik Hatcher [EMAIL PROTECTED] wrote: On Aug 11, 2008, at 9:28 PM, Jake Conk wrote: I was wondering what are the differences in certain field types? For instance what's the difference between the following? integer / sint float / sfloat The

Searching Questions

2008-08-12 Thread Jake Conk
1) I want to search only within a specific field, for instance `category`. Is there a way to do this? 2) When searching for multiple results are the following identical since *_facet and *_facet_mv have their type's both set to string?

Solr1.3 Freeze

2008-08-12 Thread Andrew Nagy
I read on the Solr 1.3 wiki page that there is a code freeze as of today, is this still accurate? Moreover - does this mean that Solr1.3 will most likely ship with Lucene 2.4-dev or is there any plan to wait for lucene 2.4 to be released? I know scheduling questions are annoying, but I am

Re: [jira] Commented: (SOLR-693) IntFieldSource incompatible with sint field type

2008-08-12 Thread Yonik Seeley
Switching to solr-user. Jerry, what type of function are you trying to do that Solr won't do for you out of the box? -Yonik On Tue, Aug 12, 2008 at 5:13 PM, Jerry Quinn (JIRA) [EMAIL PROTECTED] wrote: [

RE: NOTICE: multicore.xml changed to solr.xml, format changes as well

2008-08-12 Thread Andrew Nagy
Chris - thanks for the alert. Can you please clarify the usage of the default attribute that is documented to be used in the core node. Solr-545 has a note about this being removed and it is not shown in the new example solr.xml file. Thanks Andrew -Original Message- From: Chris

Re: adds / delete within same 'transaction'..

2008-08-12 Thread Norberto Meijome
On Tue, 12 Aug 2008 11:21:50 -0700 Mike Klaas [EMAIL PROTECTED] wrote: will delete happen first, and then the add, or could it be that the add happens before delete, in which case i end up with no more doc id=1 ? As long as you are sending these requests on the same thread, they

Administrative questions

2008-08-12 Thread Jon Drukman
1. How do people deal with having solr start when system reboots, manage the log output, etc. Right now I run it manually under a unix 'screen' command with a wrapper script that takes care of restarts when it crashes. That means that only my user can connect to it, and it can't happen when

Re: adds / delete within same 'transaction'..

2008-08-12 Thread Yonik Seeley
On Tue, Aug 12, 2008 at 1:48 AM, Norberto Meijome [EMAIL PROTECTED] wrote: What happens if I issue: deleteid1/id/delete adddocid1/idnamenew/name/doc commit/ will delete happen first, and then the add, or could it be that the add happens before delete Doesn't matter... it's an

Static Fields vs Dynamic Fields

2008-08-12 Thread Jake Conk
Is there a performance difference when using fields that are defined in my schema vs dynamic fields?

Re: adds / delete within same 'transaction'..

2008-08-12 Thread Norberto Meijome
On Tue, 12 Aug 2008 20:53:12 -0400 Yonik Seeley [EMAIL PROTECTED] wrote: On Tue, Aug 12, 2008 at 1:48 AM, Norberto Meijome [EMAIL PROTECTED] wrote: What happens if I issue: deleteid1/id/delete adddocid1/idnamenew/name/doc commit/ will delete happen first, and then the add,

Re: Best way to index without diacritics

2008-08-12 Thread Norberto Meijome
On Tue, 12 Aug 2008 11:44:42 -0400 Steven A Rowe [EMAIL PROTECTED] wrote: Solr is Unicode aware. The ISOLatin1AccentFilterFactory handles diacritics for the ISO Latin-1 section of the Unicode character set. UTF (do you mean UTF-8?) is a (set of) Unicode serialization(s), and once Solr has