Re: Replication policy

2012-09-10 Thread Amit Nithian
If I understand you right, replication of data has 0 downtime, it just works and the data flows through from master to slaves. If you want, you can configure the replication to replicate configuration files across the cluster (although to me my deploy script does this). I'd recommend tweaking the

Re: XInclude Multiple Elements

2012-09-10 Thread Amit Nithian
Way back when I opened an issue about using XML entity includes in Solr as a way to break up the config. I have found problems with XInclude having multiple elements to include because the file is not well formed. From what I have read, if you make this well formed, you end up with a document that'

Re: SolrCloud and grouping

2012-09-10 Thread Mark Miller
Yes, , we will offer something for this - just a matter of priorities for the 4 release. My current priority is heavily bug side at the moment personally. It's more likely in 4.1 or 4.2 or something. - Mark On Tue, Sep 11, 2012 at 2:37 AM, Pavel Goncharik wrote: > Apparently https://issues.apac

Re: SolrCloud and grouping

2012-09-10 Thread Pavel Goncharik
Apparently https://issues.apache.org/jira/browse/SOLR-2592 will help you out. Unfortunately, it seems that this issue will not be included into Solr 4.0 release. I'm wondering myself if there are any plans to commit and release this issue or an equivalent, to give users control over partititioning

Solr Sorting & Caching

2012-09-10 Thread Amey Patil
Our solr index (Solr 3.4) has over 100 million docuemnts. We frequently fire one type of query on this index to get documents, do some processing and dump in another index. Query is of the form - *((keyword1 AND keyword2...) OR (keyword3 AND keyword4...) OR ...) AND date:[date1 TO *]* No. of keywo

Running Solr Unit Test in Eclipse

2012-09-10 Thread BadalChhatbar
Hi All, I am new to solr and eclipse. I am trying to run solr unit test in eclipse, and i am getting confused at couple of places. ( Note: I am able to run test using ant command and it all works fine). but when I open unit test, and go to "Right Click ---> Run As Configuration option" , it show

SolrCloud and grouping

2012-09-10 Thread Nikhil Chhaochharia
Hi, I am trying out SolrCloud using a recent Solr 4 nightly.  We use result grouping (FieldCollapsing) and found that the value of ngroups returned by Solr is not correct. My understanding is that all the documents belonging to the same group should be on the same shard to ensure that ngroups

Re: Re: Get parent when the child is a search hit

2012-09-10 Thread Mikhail Khludnev
Hello, One more approach is BlockJoin. see SOLR-3076 blog.griddynamics.com/2012/08/block-join-query-performs.html 11.09.2012 5:40 пользователь "李�S" написал: > I think denormalize the data is the best way. > > 2012-09-11 > > > > 李�S > > > > 发件人:jimtronic > 发送时间:2012-09-11 01:38 > 主题:Re: Get pare

RE: Term searches with colon(:)

2012-09-10 Thread Nemani, Raj
Hi Hoss, Thank you for the reply and help. The description field is part of the defaultHandler's eDisMax search list (qf): edismax explicit 0.01 mpg

Facet Sort by Index, missing indexes

2012-09-10 Thread Dewi Wahyuni
Hi I have a multiple valued field , "a" in my Solr index. Values are strings like : "l1:1","l2:1","l3:1" and so on. I am using the field as facet, and therefore uses these parameters along with other facet fields (for example "b"): Facet=true&facet.field=a&facet.field=b&facet.sort=count&f.a.fac

Re: Solr 4: Private master, public slave?

2012-09-10 Thread Erick Erickson
So there are a couple of other possibilities: 1> go ahead and index things as you are now, then just move the index itself (/data) up to AWS. This is just a straight file copy. 2> Could you consider having your public server set up as a slave and the master (running DIH if you prefe

Re: Solr - Lucene Debuging help

2012-09-10 Thread BadalChhatbar
I was able to run command through eclipse and get rid off all the error.. woohoo.. Thanks for the help Jack. Badal -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Lucene-Debuging-help-tp4006715p4006751.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr - Lucene Debuging help

2012-09-10 Thread Jack Krupansky
You run it the same place you ran "ant eclipse" - from the shell/bash command line in your svn checkout directory. -- Jack Krupansky -Original Message- From: BadalChhatbar Sent: Monday, September 10, 2012 6:50 PM To: solr-user@lucene.apache.org Subject: Re: Solr - Lucene Debuging help

Re: Solr - Lucene Debuging help

2012-09-10 Thread BadalChhatbar
Yes... My Project is missing all the jar files except Lucene jar. ant build went fine, but not sure why it didn't build jars. I have list of jars in sorl/ dist folder. should i just copy paste them in the project and give reference ? or this will create code mismatch ? because.. solr distribut

Re: Solr - Lucene Debuging help

2012-09-10 Thread Jack Krupansky
The other thing I always do before using Eclipse on a fresh checkout is: ant clean clean-jars resolve eclipse And of course a "refresh" in Eclipse. It sounds as if you don't have all the libraries. If you check the "Referenced Libraries" folder in Package Explorer, does it have a long list,

Re: Solr - Lucene Debuging help

2012-09-10 Thread BadalChhatbar
Yes.. I do have only Single Project in my workspace, and ran ant build on project, build succeed after 40 min or so. (earlier had 2 projects ). but i am still getting around 24K error. i am attaching screenshot, this might help one of you to figure out the issue. http://lucene.472066.n3.nabble.c

Re: Solr - Lucene Debuging help

2012-09-10 Thread Jack Krupansky
When you create the new java project in eclipse, make sure to use the root directory for your lucene/solr svn checkout, not the solr subdirectory (the wiki does say "solr home", but...). You should have a SINGLE project. Once you create the java project, do you see the long list of lucene and

Re: Solr - Lucene Debuging help

2012-09-10 Thread BadalChhatbar
Hi Robert, Thanks for the help.. I did run ant build on both projects (lucene and solr), and refreshed project. still getting same error. is there anything specific i need to do to run "and eclipse". ? Badal -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Lucene-Deb

Re: Use a boolean field as a flag for another, just stored, field

2012-09-10 Thread simple350
Thanks for the detailed answer - this was also my first approach but I stopped in an early stage as I have to use for the moment Solr 1.4 with no update possible until next year. But I'll give it a try - I just wanted to be sure I was not missing something really easy ;) -- View this message in

Re: Solr - Lucene Debuging help

2012-09-10 Thread Robert Muir
On Mon, Sep 10, 2012 at 4:43 PM, BadalChhatbar wrote: > Steve, > > Those document tips didn't help. > > errors i m getting are like (_TestUtil cannot be resolved). > > Did you do these two steps: 1. ant eclipse 2. refresh your project -- lucidworks.com

RE: Solr - Lucene Debuging help

2012-09-10 Thread BadalChhatbar
Steve, Those document tips didn't help. errors i m getting are like (_TestUtil cannot be resolved). -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Lucene-Debuging-help-tp4006715p4006724.html Sent from the Solr - User mailing list archive at Nabble.com.

RE: Solr - Lucene Debuging help

2012-09-10 Thread Steven A Rowe
Hi Badal, I don't use Eclipse, but I did notice a comment in the Tips section on that wiki page that described a very similar problem and a resolution: Under some conditions, I've seen this process have thousands of compile errors, something like "class XXX defined in multiple

RE: Solr - Lucene Debuging help

2012-09-10 Thread BadalChhatbar
Hi Steve, Thanks, I was able to create new project using that url. :) one more thing,.. its giving me about 32K error. (something like.. this type cannot be resolved). i tried rebuilding project and running ant command (build.xml) . but it didn't help. any suggestions on this ? thanks -- Vi

RE: Solr - Lucene Debuging help

2012-09-10 Thread Steven A Rowe
http://wiki.apache.org/solr/HowToConfigureEclipse -Original Message- From: BadalChhatbar [mailto:badal...@yahoo.com] Sent: Monday, September 10, 2012 3:46 PM To: solr-user@lucene.apache.org Subject: Solr - Lucene Debuging help Hi All, I am new to solr and lucene, i have downloaded sourc

Solr - Lucene Debuging help

2012-09-10 Thread BadalChhatbar
Hi All, I am new to solr and lucene, i have downloaded source code from (https://svn.apache.org/repos/asf/lucene/dev/trunk/), and imported them in eclipse. But eclipse is taking them as folder instead of project, because of this I am not able to run any unit test. Directory Structure: Eclipse Wo

Re: Fail to huge collection extraction

2012-09-10 Thread neosky
To Alex, Thanks for you advice. I did ask and I can understand the requirement is necessary for them. They won't browser all the result in one page. But they will use the query result to do some additional research. So what they want are something exact match the query. So they need to pull out al

Re: cant build trunk

2012-09-10 Thread Radim Kolar
Anyway, I've removed the empty @return tags in the files mentioned in the below report, in trunk r1382976. it builds fine now.

Re: Use a boolean field as a flag for another, just stored, field

2012-09-10 Thread Chris Hostetter
: Exactly, and the question is how to populate at index time a boolean field : based on the content of another one ? : My initial idea was to make a copy of the initial field - and 'filter' it : to a boolean value (by specifying some analyzer in schema.xml) - but , as I : said, I might miss some

Atomic Updates, Payloads, Non-stored data

2012-09-10 Thread jimtronic
Hi, I'm using payloads to tie a value to an attribute for a document -- eg a user's rating for a document. I do not store this data, but I index it and access the value through function queries. I was really excited about atomic updates, but they do not work for me because they are blowing out al

Re: cant build trunk

2012-09-10 Thread Radim Kolar
Dne 10.9.2012 18:28, Jack Krupansky napsal(a): How are you compiling trunk? Jenkins - ant task - arguments: clean compile dist create-package package-local-src-tgz

RE: cant build trunk

2012-09-10 Thread Steven A Rowe
Hi Radim, Thanks for the report. I just compiled using 'ant compile' and then ran 'ant javadocs' in both lucene/ and solr/, and everything went fine. I have trunk r1382886 and am using Sun JVM 1.6.0_21 on Windows 7. I suspect you're using a JVM with different Javadoc requirements? Anyway, I'v

Re: cant build trunk

2012-09-10 Thread Jack Krupansky
How are you compiling trunk? I just compiled, tested, and built the Solr war successfully. I used: ant clean clean-jars resolve eclipse test cd solr ant dist -- Jack Krupansky -Original Message- From: Radim Kolar Sent: Monday, September 10, 2012 6:05 AM To: solr-user@lucene.apache.o

How to add prefix tokens for hierarchical faceting when using DIH?

2012-09-10 Thread bbarani
Hi, I am trying to figure out a way to add prefix tokens to SOLR document using DIH for hierarchical faceting Ex: -Parent hierarchy +child hierarchy1 +child hierarchy2 I couldn't really use PathHierarchyTokenizerFactory as I dont see a way to control the depth o

Re: PrecedenceQueryParser usage

2012-09-10 Thread Ahmet Arslan
> In order for Solr to use this parser, > you'll need to wrap it with a QParser and QParserPlugin > implementations, then wire your implementation into > solrconfig.xml.  SurroundQParserPlugin.java (api-4_0_0-BETA) can be an example of such implementation. http://lucene.apache.org/solr/api-4_0

Aw: Get parent when the child is a search hit

2012-09-10 Thread sysrq
> I'm using Solr 4 RC, and my documents look like this: > > > 123 > Folder name > > > abc > Document 1 > 123 > > > def > Document 2 > 123 > > > Meaning there are two documents which are in the same folder in this > example. When querying documents I need the name of the fold

[Announce] Apache Solr 4.0-BETA with RankingAlgorithm 1.4.4 and Realtime NRT available for download

2012-09-10 Thread Nagendra Nagarajayya
Hi! I am very excited to announce the availability of Apache Solr 4.0-BETA with RankingAlgorithm 1.4.4 and Realtime NRT. The Realtime NRT implementation now supports both RankingAlgorithm and Lucene. Realtime NRT is a high performance and more granular NRT implementation as to soft commit. Th

Re: Sorting

2012-09-10 Thread Michael Della Bitta
Try: text:hose^1.5 OR text:*hose* Since the second term is a wildcard search, everything within it will be ranked the same. Michael Della Bitta Appinions | 18 East 41st St., Suite 1806 | New York, NY 10017 www.appinions.com Where Influence Isn’t

Re: solr issue with seaching words

2012-09-10 Thread zainu
http://lucene.472066.n3.nabble.com/file/n4006583/Unbenannt.png -- View this message in context: http://lucene.472066.n3.nabble.com/solr-issue-with-seaching-words-tp4005200p4006583.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: solr issue with seaching words

2012-09-10 Thread zainu
Thank you very much guys for your reply and sorry for getting back to you so late. Here is output from anylsis. Please see the attached image. I can see , it returns me Jack as well when i type jacke. -- View this message in context: http://lucene.472066.n3.nabble.com/solr-issue-with-seaching-w

Sorting

2012-09-10 Thread zainu
Hi , I have a field called 'text' which is copied from multiple fields. Problem is when i search text:hose, it return less results but right results. But when i search text:*hose*, its return me more results but in wrong order. Like it returns me reulst with 'hosen' 1st and then come 'hose'...My qu

Get parent when the child is a search hit

2012-09-10 Thread Stein Gran
Hi, I'm using Solr 4 RC, and my documents look like this: 123 Folder name abc Document 1 123 def Document 2 123 Meaning there are two documents which are in the same folder in this example. When querying documents I need the name of the folder the documents are in, so when

Re: PrecedenceQueryParser usage

2012-09-10 Thread Erik Hatcher
In order for Solr to use this parser, you'll need to wrap it with a QParser and QParserPlugin implementations, then wire your implementation into solrconfig.xml. There is no current built in support for this parser in Solr at the moment. Erik On Sep 10, 2012, at 09:47 , Maciej Pestka

RES: RES: Problem with accented words sorting

2012-09-10 Thread Claudio Ranieri
Hi Ahmet, When I used the CollationKeyFilterFactory in my facet (example below), the value of facet went wrong. When I remove the CollationKeyFilterFactory of type of facet, the value went correct. Is it a bug? -Mensagem original- De: Ahmet Arslan [mailto:iori...@yahoo.com] Enviada em:

Re: Undefined field text

2012-09-10 Thread Jack Krupansky
Look in solrconfig.xml for all occurrences of the "name="df">text" default request parameter. It probably has a value of "text". Change it to "description" or "title" or "company" or "location_name" or any other field that you want to search by default. Or if you are using the edismax query par

PrecedenceQueryParser usage

2012-09-10 Thread Maciej Pestka
Hi, I noticed there is class http://lucene.apache.org/core/4_0_0-BETA/queryparser/org/apache/lucene/queryparser/flexible/precedence/PrecedenceQueryParser.html it says that: This query parser works exactly as the standard query parser ( StandardQueryParser ), except that it respect the boolean pr

Re: RES: Problem with accented words sorting

2012-09-10 Thread Ahmet Arslan
Hi Claudio, CollationKeyFilterFactory is meant to be used in sorting. If you need both language specific sorting and faceting, you need to make two copies of your field. (Easy with copyField declaration). --- On Mon, 9/10/12, Claudio Ranieri wrote: > From: Claudio Ranieri > Subject: RES: P

Re: How to use Apache Cassandra with Apache Solr

2012-09-10 Thread PeterKerk
Thanks. I sent you a DM, if there's non sensitive material in your bakeoff feel free to post it here as well for reference for other (I'm kind of surprised there seems little info on this specific topic). Looking forward very much to your reply!! :) Thanks ahead. -- View this message in context

Re: Website (crawler for) indexing

2012-09-10 Thread Bernd Fehling
Some month ago I have tested YaCy, this works pretty well. http://yacy.net/en/ You can install it as stand-alone and setup your own crawler (single or cluster). Very nice admin and control surface. After installation disable the internal database and enable the feed to SOLR, thats it. Regards,

RES: Problem with accented words sorting

2012-09-10 Thread Claudio Ranieri
I tried using solr.CollationKeyFilterFactory in my facets: I got this: 16 9 4

Re: Single Field Update fails with curl

2012-09-10 Thread deniz
well replying my own question... i was rewriting the schema and removed _version_ field totally... after adding it back, it works.. i dunno why though... anyway field updates are okay now - Zeki ama calismiyor... Calissa yapar... -- View this message in context: http://lucene.472066.n3.na

Problem with accented words sorting

2012-09-10 Thread Claudio Ranieri
Hi, I have a facet (type = "string") and I want to sort it. The problem is that accented words are appearing at the end of the sequence. Example sorted sequence: "Santa Catarina", "Sergipe", "São Paulo". I would like to get in order: "Santa Catarina", "São Paulo", "Sergipe." I can not normalize i

cant build trunk

2012-09-10 Thread Radim Kolar
Trunk do not compiles due to javadoc warnings. Should i create ticket and submit patch or these trivial errors are fixed quickly? [javadoc] Building tree for all the packages and classes... [javadoc] /usr/local/jboss/.jenkins/jobs/Solr/workspace/solr/core/src/java/org/apache/solr/cloud/Leade

Re: Sorting on mutivalued fields still impossible?

2012-09-10 Thread Toke Eskildsen
On Fri, 2012-09-07 at 06:55 +0200, Erick Erickson wrote: > I may prefer the first, and you may prefer the second. Neither is > necessarily more "correct" IMO, it depends on the problem > space. Choosing either one will be unpopular with anyone > who likes the other Sorry, I did not make myself

Re: Importing of unix date format from mysql database and dates of format 'Thu, 06 Sep 2012 22:32:33 +0000' in Solr 4.0

2012-09-10 Thread Pranav Prakash
The character is actually - “ and not " *Pranav Prakash* "temet nosce" On Mon, Sep 10, 2012 at 2:45 PM, Pranav Prakash wrote: > I am experiencing similar problem related to encoding. In my case, the > char like " (double quote) > is also garbaled. > > I believe this is because the encoding

Re: Importing of unix date format from mysql database and dates of format 'Thu, 06 Sep 2012 22:32:33 +0000' in Solr 4.0

2012-09-10 Thread Pranav Prakash
I am experiencing similar problem related to encoding. In my case, the char like " (double quote) is also garbaled. I believe this is because the encoding in my MySQL table is latin1 and in the JDBC it is being specified as UTF-8. Is there a way to specify latin1 charset in JDBC? probably that wou

Fwd: Error while indexing with Nutch

2012-09-10 Thread Tolga
Most probably I found out. I closed the XML tag with />. :S Thanks anyway, Original Message Subject:Error while indexing with Nutch Date: Mon, 10 Sep 2012 11:55:02 +0300 From: Tolga To: solr-user@lucene.apache.org Hi, I'm trying to crawl my website with Nu

Error while indexing with Nutch

2012-09-10 Thread Tolga
Hi, I'm trying to crawl my website with Nutch, and I think Nutch completed properly. However, I got these errors when the results were being indexed. It is not providing information to my knowledge except "Severe errors in the configuration". What is the problem? Or is there a tool to test my

Re: Undefined field text

2012-09-10 Thread Spadez
I am sorry to come across as a bit simple, but I would rather fix this by making sure my default field in my schema.xml is defined, but I cant determine where my default field is within my schema.xml I've put it up on here: https://gist.github.com/3689621 Would anyone be able to give me a bit mor

Single Field Update fails with curl

2012-09-10 Thread deniz
Hi all, here is the situation (SOLR 4.0 ) I am trying to run basic tests (manually) on my solr index and havent been able to get updates working this is a piece from my schema file: and then i add a document, something like 1 myValue by us