Re: Got error when range query and highlight

2010-12-17 Thread Qi Ouyang
Now I think that hl.requireFieldMatch=false is a problem, because there is no meaning to match query string of kcmeta/view/count to the high-light field title and body. To support for full-text query field search matching high-light fields, I think it's better to add same query condition on title

Re: Transparent redundancy in Solr

2010-12-17 Thread Jan Høydahl / Cominvent
Hi, I believe the way to go is through ZooKeeper[1], not property files or local hacks. We've already started on this route and it makes sense to let ZK do what it is designed for, such as leader election. When a node starts up, it asks ZK what role it should have and fetches corresponding

Re: Solr (and mabye Java?) version numbering systems

2010-12-17 Thread Peter Karich
the current stable release is 1.4.1 (before there was 1.4) it has nothing todo with java's version numbers! (own release cycle) the next release will be 3.x: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_3x/ and then 4.x (current trunk):

Re: Why does Solr commit block indexing?

2010-12-17 Thread Renaud Delbru
Hi Michael, thanks for your answer. Do the Solr team is aware of the problem ? Is there an issue opened about this, or ongoing work about that ? Regards, -- Renaud Delbru On 16/12/10 16:45, Michael McCandless wrote: Unfortunately, (I think?) Solr currently commits by closing the

Re: Why does Solr commit block indexing?

2010-12-17 Thread Grant Ingersoll
I'm not sure if there is a issue open, but I know I've talked w/ Yonik about this and a few other changes to the DirectUpdateHandler2 in the past. It does indeed need to be fixed. -Grant On Dec 17, 2010, at 7:04 AM, Renaud Delbru wrote: Hi Michael, thanks for your answer. Do the Solr

Re: Best practice for Delta every 2 Minutes.

2010-12-17 Thread Erick Erickson
In this context, delta refers to the changes over some interval. Best Erick On Fri, Dec 17, 2010 at 2:03 AM, Dennis Gearon gear...@sbcglobal.netwrote: BTW, what is a Delta (in this context, not an equipment line or a rocket, please :-) Dennis Gearon Signature Warning It

Re: Query Problem

2010-12-17 Thread Ezequiel Calderara
Hi Erick, you were right. I'm looking the source of the search result (instead of the render of internet explorer :$) and i see this: str name=SectionNameProgramas_Home /str So i think that is the problem is in the SSIS process that retrieves data from the DB and sends it to solr. The data type

Re: facet.pivot for date fields

2010-12-17 Thread Grant Ingersoll
I don't think pivot supports dates at this point. Would probably be good to open an issue to note this feature, as I do think it would be good to have. I would think we could support all the various facet options during pivots (dates, numbers, queries) On Dec 16, 2010, at 9:22 PM, Adeel

Re: Got error when range query and highlight

2010-12-17 Thread Erick Erickson
Let's back up a bit here. What is the field definition for the field you're doing the range query on? i.e. [1 TO *]? And what are you trying to accomplish with that clause (that is, all non-zero documents? all documents? Do you have counts 1?). What version of Solr are you using? You'll also

Re: Why does Solr commit block indexing?

2010-12-17 Thread Renaud Delbru
Hi Grant, looking forward for a fix ;o). Such a fix would improve quite a lot the performance of Solr update throughput (even if its performance is already quite impressive). cheers -- Renaud Delbru On 17/12/10 13:05, Grant Ingersoll wrote: I'm not sure if there is a issue open, but I know

indexing data VIA HTTP URL

2010-12-17 Thread Jörg Agatz
hallo, i wont to indexing data from a webpage, like a Comment ore something else.. so i hope it exist a way to Update the Data Realtime... like: http://192.168.105.59:8080/solr/index2/update?commit=true -H Content-Type: text/xml --data-binary 'adddocfield name=idtestdoc/field/doc/add' but this

Re: indexing data VIA HTTP URL

2010-12-17 Thread Stefan Matheis
What's about http://wiki.apache.org/solr/UpdateXmlMessages ?

Re: Query Problem

2010-12-17 Thread Erick Erickson
Right, I *love* problems like this... NOT You might get some joy out of using TrimFilterFactory along with KeywordAnalyzer, something like this: fieldType name=trimField class=solr.TextField your options here analyzer tokenizer class=solr.KeywordTokenizerFactory / filter

Re: Query Problem

2010-12-17 Thread Ezequiel Calderara
Well... finally... isn't solr problem. Isn't solr config problem. Is Microsoft's problem: http://flyingtriangles.blogspot.com/2006/08/workaround-to-ssis-strings-are-not.html Thank you very much erick!! you really helped on the solution of this! On Fri, Dec 17, 2010 at 10:52 AM, Erick Erickson

Re: Got error when range query and highlight

2010-12-17 Thread Erick Erickson
Ahhh, ignore my blather, I need more coffee. Somehow I was thinking about something else. Best Erick On Fri, Dec 17, 2010 at 8:16 AM, Erick Erickson erickerick...@gmail.comwrote: Let's back up a bit here. What is the field definition for the field you're doing the range query on? i.e. [1 TO

Re: Solr site not accessible

2010-12-17 Thread kenf_nc
Yep, www.apache.org is down. They tick off the wikihackers too? :) -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-site-not-accessible-tp2105072p2105095.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr site not accessible

2010-12-17 Thread Stevo Slavić
It's back! On Fri, Dec 17, 2010 at 3:54 PM, kenf_nc ken.fos...@realestate.com wrote: Yep, www.apache.org is down. They tick off the wikihackers too? :) -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-site-not-accessible-tp2105072p2105095.html Sent from the Solr -

Re: Why does Solr commit block indexing?

2010-12-17 Thread Yonik Seeley
On Fri, Dec 17, 2010 at 8:05 AM, Grant Ingersoll gsing...@apache.org wrote: I'm not sure if there is a issue open, but I know I've talked w/ Yonik about this and a few other changes to the DirectUpdateHandler2 in the past.  It does indeed need to be fixed. It stems from the APIs that were

Re: indexing data VIA HTTP URL

2010-12-17 Thread Qi Ouyang
Why not use the tool curl? 2010/12/17 Jörg Agatz joerg.ag...@googlemail.com: hallo, i wont to indexing data from a webpage, like a Comment ore something else.. so i hope it exist a way to Update the Data Realtime... like: http://192.168.105.59:8080/solr/index2/update?commit=true -H

WARNING: re-index all trunk indices!

2010-12-17 Thread Michael McCandless
If you are using Lucene's trunk (nightly build) release, read on... I just committed a change (for LUCENE-2811) that changes the index format on trunk, thus breaking (w/ likely strange exceptions on reading the segments_N file) any trunk indices created in the past week or so. Mike

Runnig ExtractingRequestHandler from /multicore/core0 (lucidworks for solr 1.4.1)

2010-12-17 Thread Wodek Siebor
Hi, I'm trying to reuse schema.xml and solrconfig.xml from /lucidworks/solr/conf in the /multicore/core0/conf, specifically to index binary files, and have some loading problems, like NullPointers, etrc. What are the steps to do it correctly? Thanks -- View this message in context:

Re: WARNING: re-index all trunk indices!

2010-12-17 Thread Yonik Seeley
On Fri, Dec 17, 2010 at 11:18 AM, Michael McCandless luc...@mikemccandless.com wrote: If you are using Lucene's trunk (nightly build) release, read on... I just committed a change (for LUCENE-2811) that changes the index format on trunk, thus breaking (w/ likely strange exceptions on reading

RE: A schema inside a Solr Schema (Schema in a can)

2010-12-17 Thread Dyer, James
Dennis, I may be misunderstanding your question, but think I've just worked through something similar. We're indexing book metadata, and a book can have more than one Contributor. We want to store both the contributor's name, their Role and their id (from our rel db). With our old system,

RE: A schema inside a Solr Schema (Schema in a can)

2010-12-17 Thread Dyer, James
There's also one gotcha we've experienced when searching acrosse multi-valued fields: SOLR will match across field occurences. In the example below, if you were to search q=contrib_name:(james AND smith), you will get this record back. It matches one name from one contributor and another

Re: Solr (and mabye Java?) version numbering systems

2010-12-17 Thread Dennis Gearon
Thx! Dennis Gearon Signature Warning It is always a good idea to learn from your own mistakes. It is usually a better idea to learn from others’ mistakes, so you do not have to make them yourself. from 'http://blogs.techrepublic.com.com/security/?p=4501tag=nl.e036' EARTH has

RE: A schema inside a Solr Schema (Schema in a can)

2010-12-17 Thread Dennis Gearon
You've given me some tings to think about, James, thanks. Dennis Gearon -- On Fri, 12/17/10, Dyer, James james.d...@ingrambook.com wrote: From: Dyer, James james.d...@ingrambook.com Subject: RE: A schema inside a Solr Schema (Schema in a can) To: solr-user@lucene.apache.org

RE: A schema inside a Solr Schema (Schema in a can)

2010-12-17 Thread Dennis Gearon
Quite a bit of this is over hy head at this point. I shold NOT have duplicate fields in the column. I wonder how that affects things. Dennis Gearon Signature Warning It is always a good idea to learn from your own mistakes. It is usually a better idea to learn from others’

Re: facet.pivot for date fields

2010-12-17 Thread Erik Hatcher
On Dec 17, 2010, at 08:14 , Grant Ingersoll wrote: I don't think pivot supports dates at this point. Would probably be good to open an issue to note this feature, as I do think it would be good to have. I would think we could support all the various facet options during pivots (dates,

RE: A schema inside a Solr Schema (Schema in a can)

2010-12-17 Thread Ahmet Arslan
The problem with this approach is that Lucene doesn't support wildcards in phrases.  With https://issues.apache.org/jira/browse/SOLR-1604 you can do that.

setting up solr in eclipse

2010-12-17 Thread Adeel Qureshi
This is definitely a solr-dev mailing list question but I cant get the darn list to let me subscribe .. have subscribed several times but cant get the confirmation email ..so i am gonna post this here i am trying to setup solr/lucene trunk code in eclipse and after like 3 days of figuring out

RE: A schema inside a Solr Schema (Schema in a can)

2010-12-17 Thread Dennis Gearon
So this is a current usable plugin (except for the latest bug)? And, is it possible to search jwithin ust one key:value pair in a multivalued field? Dennis Gearon Signature Warning It is always a good idea to learn from your own mistakes. It is usually a better idea to learn

Re: Determining core name from a result?

2010-12-17 Thread Lance Norskog
A core is a Solr-controlled Lucene index. A shard is a core that one part of a distributed search. Shards: SHOULD have the same schema; you will be so sorry if you don't follow this MUST have the same unique id field, MUST be disjoint: no document can be in two different shards On Thu, Dec 16,

Re: Multicore Search broken

2010-12-17 Thread Lance Norskog
All of the cores have to have the same schema. And, they should not have any documents in common. On Thu, Dec 16, 2010 at 8:36 AM, Jörg Agatz joerg.ag...@googlemail.com wrote: I have tryed some Thinks, now i have new news, when i search in :

Re: Best practice for Delta every 2 Minutes.

2010-12-17 Thread Lance Norskog
Don't use a RAMDirectory. The operating system is better at managing memory (disk buffers) than Java. Just use the disk-based index and it will be just as fast. On Fri, Dec 17, 2010 at 5:10 AM, Erick Erickson erickerick...@gmail.com wrote: In this context, delta refers to the changes over some

Re: setting up solr in eclipse

2010-12-17 Thread Adeel Qureshi
never mind .. re-did all the steps with a newer version of eclipse and jdk .. and its all looking good now .. On Fri, Dec 17, 2010 at 6:19 PM, Adeel Qureshi adeelmahm...@gmail.comwrote: This is definitely a solr-dev mailing list question but I cant get the darn list to let me subscribe .. have

Re: Reading timestamp for DIH

2010-12-17 Thread Siddharth Powar
Cool.. Thanks Koji... --Sid On Sat, Dec 4, 2010 at 3:16 AM, Koji Sekiguchi k...@r.email.ne.jp wrote: (10/11/24 6:05), Siddharth Powar wrote: Hey, Is it possible to read the timestamp that the DataImportHandler uses for a delta-import from a location other than conf/dataimport.properties.