1.4 stable release date

2009-07-02 Thread Andrew McCombe
Hi Just wondering if there is a release date for 1.4 stable? Regards Andrew

Is it problem? I use solr to search and index is made by lucene. (not EmbeddedSolrServer(wiki is old))

2009-07-02 Thread James liu
I use solr to search and index is made by lucene. (not EmbeddedSolrServer(wiki is old)) Is it problem when i use solr to search? which the difference between Index(made by lucene and solr)? thks -- regards j.L ( I live in Shanghai, China)

Implementing PhraseQuery and MoreLikeThis Query in one app

2009-07-02 Thread SergeyG
Hi, Recently I've posted a question regarding using stop words in a PhraseQuery and in a MoreLikeThis query in the same app. I posted it twice. Unfortunately I didn't get any responses. I realize that the question might not have been formulated clearly. So let me reformulate it. Can both queries

Creating spellchecker dictionary from multiple sources

2009-07-02 Thread Licinio Fernández Maurelo
Hello everybody, dealing with the spell checker component i'm wondering if it's possible to generate my dictionary index based on multiple indexes fields and also want to know how anyone has solve this problem. Thx -- Lici

Re: Is there any other way to load the index beside using "http" connection?

2009-07-02 Thread Norberto Meijome
On Wed, 1 Jul 2009 15:07:12 -0700 Francis Yakin wrote: > > We have several thousands of xml files in database that we load it to solr > master The Database uses "http" connection and transfer those files to solr > master. Solr then translate xml files to their lindex. > > We are experiencing

Re: Is it problem? I use solr to search and index is made by lucene. (not EmbeddedSolrServer(wiki is old))

2009-07-02 Thread Norberto Meijome
On Thu, 2 Jul 2009 16:12:58 +0800 James liu wrote: > I use solr to search and index is made by lucene. (not > EmbeddedSolrServer(wiki is old)) > > Is it problem when i use solr to search? > > which the difference between Index(made by lucene and solr)? Hi James, make sure the version of Lucene

Re: Implementing PhraseQuery and MoreLikeThis Query in one app

2009-07-02 Thread Michael Ludwig
SergeyG schrieb: Can both queries - PhraseQuery and MoreLikeThis Query - be implemented in the same app taking into account the fact that for the former to work the stop words list needs to be included and this results in the latter putting stop words among the most important words? Why would

Adding shards entries in solrconfig.xml

2009-07-02 Thread Rakhi Khatwani
Hi, I read the following article: http://www.lucidimagination.com/Community/Hear-from-the-Experts/Articles/Scaling-Lucene-and-Solr its mentioned that its much easier to set the shards parameter for your SearchHandler in solrcofig.xml. i also went through: http://www.nabble.com/newbie-quest

Re: Implementing PhraseQuery and MoreLikeThis Query in one app

2009-07-02 Thread SergeyG
>Why would the inclusion of a stopword list result in stopwords being of >top importance in the MoreLikeThis query? Michael, I just saw some of them (words from the stop words list) in the MLT query's response. Sergey SergeyG wrote: > > Hi, > > Recently I've posted a question regarding us

Re: Is it problem? I use solr to search and index is made by lucene. (not EmbeddedSolrServer(wiki is old))

2009-07-02 Thread Otis Gospodnetic
Hi, You need to ensure that the index format is compatible (that the same Lucene jars are used in both cases) and that the analysis performed on fields is the same. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message > From: James liu > To: solr-u

Re: 1.4 stable release date

2009-07-02 Thread Otis Gospodnetic
Hi Andrew, I don't think we have a specific date set. THe best way to monitor this progress is probably by monitoring the number of JIRA issues set for 1.4 (Fix for). Otis-- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message > From: Andrew McCombe > To

Re: IndexMerge not found

2009-07-02 Thread Otis Gospodnetic
Hi, My feeling is those jars are actually not in your CLASSPATH (or in -cp). Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message > From: James liu > To: solr-user@lucene.apache.org > Sent: Thursday, July 2, 2009 2:03:19 AM > Subject: Re: IndexMerge

Re: Is there any other way to load the index beside using "http" connection?

2009-07-02 Thread Otis Gospodnetic
Francis, I think both of these are on the Solr Wiki. You'll have to figure out how to export from DB yourself, and you'll probably write a script/tool to read the export and rewrite it in the csv format. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Mess

Re: Implementing PhraseQuery and MoreLikeThis Query in one app

2009-07-02 Thread Otis Gospodnetic
Hi, Rushing quickly through this one, one way you can use the same index for both is by copying fields. One field copy would leave stopwords in (for PQ), and the other copy would remove stopwords (for MLT). There may be more elegant ways to accomplish this - this is the first thing that come

Re: Creating spellchecker dictionary from multiple sources

2009-07-02 Thread Otis Gospodnetic
Hi Lici, I don't think the current spellchecker can look at more than one field, let alone multiple indices, but you could certainly modify the code and make it do that. Looking at multiple fields of the same index may make more sense than looking at multiple indices. Otis -- Sematext -- ht

Re: Implementing PhraseQuery and MoreLikeThis Query in one app

2009-07-02 Thread Otis Gospodnetic
Michael - because they are the most frequent, which is how MLT selects terms to use for querying, IIRC. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message > From: Michael Ludwig > To: solr-user@lucene.apache.org > Sent: Thursday, July 2, 2009 6:20:

Re: Adding shards entries in solrconfig.xml

2009-07-02 Thread Otis Gospodnetic
Rakhi, Have you looked at Solr example directories (in Solr svn)? There may be an example of it there. From memory, the syntax is: URL1,URL2 e.g. http://shard1:8080/solr,http://shard2:8080/solr This goes into one of the sections of the request handler configuration. Shards can also

Re: Adding shards entries in solrconfig.xml

2009-07-02 Thread Mark Miller
Rakhi Khatwani wrote: Hi, I read the following article: http://www.lucidimagination.com/Community/Hear-from-the-Experts/Articles/Scaling-Lucene-and-Solr its mentioned that its much easier to set the shards parameter for your SearchHandler in solrcofig.xml. i also went through: http://www

Re: Creating spellchecker dictionary from multiple sources

2009-07-02 Thread Erik Hatcher
You could configure multiple spellcheckers on different fields, or if you want to aggregate several fields into the suggestions, use copyField to pool all text to be suggested together into a single field. Erik On Jul 2, 2009, at 7:46 AM, Otis Gospodnetic wrote: Hi Lici, I don't

Metada document for faceted search

2009-07-02 Thread Osman İZBAT
Hi. I'm trying to implement custom faceted search like CNET's approach. . But i couldn't figure out how to structure and index category metadata document. Thanks. -- Osman İZBAT

Re: Creating spellchecker dictionary from multiple sources

2009-07-02 Thread Licinio Fernández Maurelo
Thanks for your responses guys, my problem is that currently we have 11 cores-index, some of them contains fields i want to use for spell checking and i'm thinking on build an extra-core containing the dictionary index, and import from multiple indexes the information i need via DIH. Should it wo

Re: Installing a patch in a solr nightly on Windows

2009-07-02 Thread ahammad
Thanks for the suggestions: Koji: I am aware of Cygwin. The problem is I am not sure how to do the whole thing. I downloaded a nightly zip file and extracted it to a directory. Where do I put the .patch file? Where do I execute the "patch..." command from? It doesn't work when I do it at the root

EnglishPorterFilterFactory and PatternReplaceFilterFactory

2009-07-02 Thread Michael Lackhoff
In Germany we have a strange habbit of seeing some sort of equivalence between Umlaut letters and a two letter representation. Example 'ä' and 'ae' are expected to give the same search results. To achieve this I added this filter to the "text" fieldtype definition: to both index and query

Making Analyzer Phrase aware?

2009-07-02 Thread mike.schultz
I was looking at the SOLR-908 port of nutch CommonGramsFilter as an approach for having phrase searches be sensitive to stop words within a query. So a search on "car on street" wouldn't match the text "car in street". >From what I can tell the query version of the filter will *always* create st

Re: Installing a patch in a solr nightly on Windows

2009-07-02 Thread Koji Sekiguchi
ahammad wrote: Thanks for the suggestions: Koji: I am aware of Cygwin. The problem is I am not sure how to do the whole thing. I downloaded a nightly zip file and extracted it to a directory. Where do I put the .patch file? Where do I execute the "patch..." command from? It doesn't work when I d

Re: Installing a patch in a solr nightly on Windows

2009-07-02 Thread ahammad
When I go to the source and I input the command, I get: bash: patch: command not found Thanks Koji Sekiguchi-2 wrote: > > ahammad wrote: >> Thanks for the suggestions: >> >> Koji: I am aware of Cygwin. The problem is I am not sure how to do the >> whole >> thing. I downloaded a nightly zip fi

Re: Implementing PhraseQuery and MoreLikeThis Query in one app

2009-07-02 Thread Walter Underwood
I think it works better to use the highest tf.idf terms, not the highest tf. That is what I implemented for Ultraseek ten years ago. With tf, you get lots of terms with low discrimination power. wunder On 7/2/09 4:48 AM, "Otis Gospodnetic" wrote: > > Michael - because they are the most frequen

Re: EnglishPorterFilterFactory and PatternReplaceFilterFactory

2009-07-02 Thread Walter Underwood
First, don't use an English stemmer on German text. It will give some odd results. Are you using the same conversions on the index and query side? The German stemmer might already handle "typewriter umlauts". If it doesn't, use the pattern replace factory. You will also need to convert "ß" to "ss

Re: Installing a patch in a solr nightly on Windows

2009-07-02 Thread Markus Jelsma - Buyways B.V.
You will need the patch binary as well to apply the diff to the original file. On Thu, 2009-07-02 at 07:10 -0700, ahammad wrote: > When I go to the source and I input the command, I get: > > bash: patch: command not found > > Thanks > > > Koji Sekiguchi-2 wrote: > > > > ahammad wrote: >

Re: DIH: Limited xpath syntax unable to parse all xml elements

2009-07-02 Thread Jay Hill
Thanks Noble, I gave those examples a try. If I use I only get the text from the last element, not from all elements. If I use or I don't get back anything for the body column. So the first example is close, but it only gets the text for the last element. If I could get all elements at th

Re: Master Slave data distribution | rsync fail issue

2009-07-02 Thread Vicky_Dev
Yes. Permissions are same across cores ~Vikrant Bill Au wrote: > > Are the user/group/permissions on the snapshot files the same for both > cases > (manual vs postCommit/postOptimize events)? > > Bill > > On Tue, May 5, 2009 at 12:54 PM, tushar kapoor < > tushar_kapoor...@rediffmail.com> wro

Re: Is there any other way to load the index beside using "http" connection?

2009-07-02 Thread Glen Newton
LuSql can be found here: http://lab.cisti-icist.nrc-cnrc.gc.ca/cistilabswiki/index.php/LuSql User Manual: http://cuvier.cisti.nrc.ca/~gnewton/lusql/v0.9/lusqlManual.pdf.html LuSql can communicate directly with Oracle and create a Lucene index for you. Of course - as mentioned by other posters -

Re: Is there any other way to load the index beside using "http" connection?

2009-07-02 Thread Glen Newton
> Are you saying that we have to use LuSql replacing our Solr? To load your data: Yes, it is an option To search your data: No, LuSql is only a loading tool -glen 2009/7/2 Francis Yakin : > > Glen, > > Are you saying that we have to use LuSql replacing our Solr? > > Francis > > -Original Mess

Re: EnglishPorterFilterFactory and PatternReplaceFilterFactory

2009-07-02 Thread Erick Erickson
I'm shooting a bit in the dark here, but I'd guess that these are actually understandable results. If you replace then stem, the stemming algorithm works on the exact same word. And you got the results you expect. If you stem then replace, the inputs are different to thestemmer, so the fact that

Re: EnglishPorterFilterFactory and PatternReplaceFilterFactory

2009-07-02 Thread Michael Lackhoff
On 02.07.2009 16:34 Walter Underwood wrote: > First, don't use an English stemmer on German text. It will give some odd > results. I know but at the moment I only have the choice between no stemmer at all and one stemmer and since more than half of the records are English (about 60% English, 30%

Re: DIH: Limited xpath syntax unable to parse all xml elements

2009-07-02 Thread Fergus McMenemie
>Thanks Noble, I gave those examples a try. > >If I use I only get >the text from the last element, not from all elements. Hm, I am sure I have done this. In your schema.xml is the field "body" multiValued or not? > >If I use >or I don't >get back anything for the body column. > >So the

Re: Implementing PhraseQuery and MoreLikeThis Query in one app

2009-07-02 Thread SergeyG
Thanks, Otis. I'd try that right away and tell you about the result. And if you come up with any other idea, please let me know - just for the future. Also thanks to Michael for the discussion. Best regards, Sergey SergeyG wrote: > > Hi, > > Recently I've posted a question regarding using s

Re: Implementing PhraseQuery and MoreLikeThis Query in one app

2009-07-02 Thread SergeyG
wunder, thank you. (Sorry, I'm not sure this is your first name). I thought the MoreLikeThis query normally uses tf.idf of the terms when deciding what terms are the most important (not the most frequent). And if this is not the case, how can I change its behavior? SergeyG wrote: > > Hi, > >

Re: DIH: Limited xpath syntax unable to parse all xml elements

2009-07-02 Thread Jay Hill
It is not multivalued. The intention is to get all text under they element into one "body" field in the index that is not multivalued. Essentially everything within the element minus the markup. Thanks, -Jay On Thu, Jul 2, 2009 at 8:55 AM, Fergus McMenemie wrote: > >Thanks Noble, I gave thos

Re: EnglishPorterFilterFactory and PatternReplaceFilterFactory

2009-07-02 Thread Yonik Seeley
Also, check out MappingCharFilterFactory in Solr 1.4 and mapping-ISOLatin1Accent.txt in example/solr/conf -Yonik http://www.lucidimagination.com On Thu, Jul 2, 2009 at 9:27 AM, Michael Lackhoff wrote: > In Germany we have a strange habbit of seeing some sort of equivalence > between Umlaut lette

Re: EnglishPorterFilterFactory and PatternReplaceFilterFactory

2009-07-02 Thread Michael Lackhoff
On 02.07.2009 17:28 Erick Erickson wrote: > I'm shooting a bit in the dark here, but I'd guess that these are > actually understandable results. Perhaps not too much in the dark > That is your implicit assumption, it seems to me, is that'wärme' and > 'waerme' should go through the stemmer and >

Re: EnglishPorterFilterFactory and PatternReplaceFilterFactory

2009-07-02 Thread Walter Underwood
You might try a German stemmer. English gets a small benefit from stemming, maybe 5%. German is more heavily inflected than English, so may get a bigger improvement. German search usually needs wordbreaking, so that Orgelmusik can be split into Orgel and Musik. To get that, you will probably need

Re: DIH: Limited xpath syntax unable to parse all xml elements

2009-07-02 Thread Mark Miller
It looks like DIH implements its own subset of the Xpath spec. I don't see any tests with multiple matching sub nodes, so perhaps DIH Xpath does not properly support that and just selects the last matching node? Also, I don't think the double / matters. That would just allow more nodes in betw

Re: DIH: Limited xpath syntax unable to parse all xml elements

2009-07-02 Thread Shalin Shekhar Mangar
On Thu, Jul 2, 2009 at 11:08 PM, Mark Miller wrote: > It looks like DIH implements its own subset of the Xpath spec. Right, DIH has a streaming implementation supporting a subset of XPath only. The supported things are in the wiki examples. > I don't see any tests with multiple matching sub n

Re: multi-word synonyms with multiple matches

2009-07-02 Thread Chris Hostetter
: vp,vice president : svp,senior vice president : : However, a search for "vp" does not return results where the title is : "senior vice president". It appears that the term "vp" is not indexed : when there is a longer string that matches a different synonym. Is this : by design, and is ther

Re: Master Slave data distribution | rsync fail issue

2009-07-02 Thread Bill Au
You can add the "-V" option to both your automatic and manual invocation of snappuller and snapinstaller tor both core and compare the debug info. Bill On Thu, Jul 2, 2009 at 11:02 AM, Vicky_Dev wrote: > > Yes. Permissions are same across cores > > ~Vikrant > > > Bill Au wrote: > > > > Are the u

RE: Is there any other way to load the index beside using "http" connection?

2009-07-02 Thread Francis Yakin
Norberto, Thanks for your input. What do you mean with "Have you tried connecting to SOLR over HTTP from localhost, therefore avoiding any firewall issues and network latency ? it should work a LOT faster than from a remote site." ? Here are how our servers lay out: 1) Database ( Oracle ) is

RE: Is there any other way to load the index beside using "http" connection?

2009-07-02 Thread Francis Yakin
Glen, Is this LuSql is free? Is that an open source. Is that requires a separate machine with Solr Master I forgot to tell you that we have Master/Slaves environment of Solr. The Database is running Oracle and it's separate machine that running in different network than Master and Slaves Solr(

Re: DIH: Limited xpath syntax unable to parse all xml elements

2009-07-02 Thread Mark Miller
Shalin Shekhar Mangar wrote: On Thu, Jul 2, 2009 at 11:08 PM, Mark Miller wrote: It looks like DIH implements its own subset of the Xpath spec. Right, DIH has a streaming implementation supporting a subset of XPath only. The supported things are in the wiki examples. I don't s

Re: Changing the score of a document based on the value of a field

2009-07-02 Thread Chris Hostetter
: The SolrRelevancyFAQ has a heading that's the same as my message's subject: : : http://wiki.apache.org/solr/SolrRelevancyFAQ#head-f013f5f2811e3ed28b200f326dd686afa491be5e : : There's a TODO on the wiki to provide an actual example. Does anybody happen : to have an example handy that I could m

Re: Is there any other way to load the index beside using "http" connection?

2009-07-02 Thread Glen Newton
2009/7/2 Francis Yakin : > > Glen, > > Is this LuSql is free? Is that an open source. LuSql is an Open Source project. > Is that requires a separate machine with Solr Master LuSql is a Java application that runs on the command line. It connects to a the database using JDBC and creates a local Lu

Re: DIH: Limited xpath syntax unable to parse all xml elements

2009-07-02 Thread Shalin Shekhar Mangar
On Thu, Jul 2, 2009 at 11:38 PM, Mark Miller wrote: > Shalin Shekhar Mangar wrote: > >> >> It selects all matching nodes. But if the field is not multi-valued, it >> will >> store only the last value. I guess this is what is happening here. >> >> >> > So do you think it should match them all and

Re: DIH: Limited xpath syntax unable to parse all xml elements

2009-07-02 Thread Fergus McMenemie
>Shalin Shekhar Mangar wrote: >> On Thu, Jul 2, 2009 at 11:08 PM, Mark Miller wrote: >> >> >>> It looks like DIH implements its own subset of the Xpath spec. >>> >> >> >> Right, DIH has a streaming implementation supporting a subset of XPath only. >> The supported things are in the wiki ex

Re: DIH: Limited xpath syntax unable to parse all xml elements

2009-07-02 Thread Mark Miller
Shalin Shekhar Mangar wrote: On Thu, Jul 2, 2009 at 11:38 PM, Mark Miller wrote: Shalin Shekhar Mangar wrote: It selects all matching nodes. But if the field is not multi-valued, it will store only the last value. I guess this is what is happening here. So do you think it

Re: DIH: Limited xpath syntax unable to parse all xml elements

2009-07-02 Thread Jay Hill
I'm on the trunk, built on July 2: 1.4-dev 789506 Thanks, -Jay On Thu, Jul 2, 2009 at 11:33 AM, Shalin Shekhar Mangar < shalinman...@gmail.com> wrote: > On Thu, Jul 2, 2009 at 11:38 PM, Mark Miller > wrote: > > > Shalin Shekhar Mangar wrote: > > > >> > >> It selects all matching nodes. But if t

Preparing the ground for a real multilang index

2009-07-02 Thread Michael Lackhoff
As pointed out in the recent thread about stemmers and other language specifics I should handle them all in their own right. But how? The first problem is how to know the language. Sometimes I have a language identifier within the record, sometimes I have more than one, sometimes I have none. How

Re: DIH: Limited xpath syntax unable to parse all xml elements

2009-07-02 Thread Jay Hill
Thanks Fergus, setting the field to multivalued did work: gets all the elements as multivalue fields in the body field. The only thing is, the body field is used by some other content sources, so I have to look at the implications setting it to multi-valued will have on the other data sour

Re: Plugin Performance Issues

2009-07-02 Thread Chris Hostetter
: I'm not entirely convinced that it's related to our code, but it could be. : Just trying to get a sense if other plugins have had similar problems, just : by the nature of using Solr's resource loading from the /lib directory. Plugins aren't something that every Solr users -- but enough people

Retrieve docs with > 1 multivalue field hits

2009-07-02 Thread A. Steven Anderson
Greetings! I thought I remembered seeing a thread related to retrieving only documents that had more than one hit in a particular multivalue field, but I cannot find it now. Regardless, is this possible in Solr 1.3? Solr 1.4? -- A. Steven Anderson Independent Consultant

Confirming doc change for Wiki for schema / plugins config

2009-07-02 Thread Mark Bennett
There's a particular confusion I've had with the Solr schema and plugins, Though this stuff is "obvious" to the gurus, looking around I guess I wasn't alone in my confusion. I believe I understand it now and wanted to capture that on the Wiki, but just double checking and maybe the gurus would

Re: Confirming doc change for Wiki for schema / plugins config

2009-07-02 Thread Yonik Seeley
On Thu, Jul 2, 2009 at 3:53 PM, Mark Bennett wrote: > There is an abbreviated syntax for specifying plugins in the schema, but > there is a more powerful syntax that is preferred. I think of it as specifying the Analyzer for a field: one can either specify a Java Analyzer class (opaque, but good f

Re: Preparing the ground for a real multilang index

2009-07-02 Thread Otis Gospodnetic
Michael, I think you really aught to know the language of the query (from a pulldown, from the browser, from user settings, somewhere) and pass that to the backend unless your queries are sufficiently long that their language can be identified. Here is a handy tool for playing with langua

Re: Implementing PhraseQuery and MoreLikeThis Query in one app

2009-07-02 Thread Otis Gospodnetic
I could be wrong about MLT - maybe it really does use TF IDF and not raw frequency. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message > From: Walter Underwood > To: solr-user@lucene.apache.org > Sent: Thursday, July 2, 2009 10:26:33 AM > Subject:

DocSlice andNotSize

2009-07-02 Thread Candide Kemmler
Hi, I have a simple question rel the DocSlice class. I'm trying to use the (very handy) set operations on DocSlices and I'm rather confused by the way it behaves. I have 2 DocSlices, atlDocs which, by looking at the debugger, holds a "docs" array of ints of size 1; the second DocSlice is

Re: Preparing the ground for a real multilang index

2009-07-02 Thread Walter Underwood
Not to mention Americans who call themselves "wunder". Or brand names, like LaserJet, which are the same in all languages. Queries are far too short for effective language id. You can get language preferences from an HTTP request headers, then allow people to override them. I think the header is A

Re: Deleting from SolrQueryResponse

2009-07-02 Thread Chris Hostetter
: Hi, I was wondering if any has had luck deleting added documents to : SolrQueryResponse? I am subclassing StandardRequestHandler and after I run : the handle request body method (super.handleRequestBody(req, rsp);) I won't : to filter out some of the hits. DocLists are immutable (if i remember

Re: complex OR query not working

2009-07-02 Thread Chris Hostetter
: I want to execute the following query: : (spacegroupID:g*) OR (!userID:g*). First: "!" is not a negation operator in the lucene/solr query parser : In above syntax (!userID:g*) gives results correctly. ...i don't think it's doing what you think it's doing. second: boolean queries can't

Re: Building Solr index with Lucene

2009-07-02 Thread Yonik Seeley
On Wed, Jul 1, 2009 at 6:49 PM, Ben Bangert wrote: > For performance reasons, we're attempting to build the index used with Solr Solr 1.4 has a binary communications format, and a StreamingUpdateSolrServer that massively improves indexing performance. You way want to revisit the decision to bypass

Re: Excluding characters from a wildcard query

2009-07-02 Thread Chris Hostetter
: I'm not sure if you can do prefix queries with the fq parameter. You will : need to use the 'q' parameter for that. fq supports anything q supports ... with the QParser and local params options it can be any syntax you want (as long as there is a QParser for it) -Hoss

Re: Solr spring application context error

2009-07-02 Thread Chris Hostetter
: I did try that. The problem is that you can't tell : FileSystemXmlApplicationContext to load with a different ClassLoader. why not? it subclasses DefaultResourceLoader which has the setClassLoader method Mark pointed out. -Hoss

Re: DocSlice andNotSize

2009-07-02 Thread Yonik Seeley
On Thu, Jul 2, 2009 at 4:24 PM, Candide Kemmler wrote: > I have a simple question rel the DocSlice class. I'm trying to use the (very > handy) set operations on DocSlices and I'm rather confused by the way it > behaves. > > I have 2 DocSlices, atlDocs which, by looking at the debugger, holds a > "d

Re: Implementing PhraseQuery and MoreLikeThis Query in one app

2009-07-02 Thread SergeyG
Otis, Your recipe does work: after copying an indexing field and excluding stop words the MoreLikeThis query started fetching meaningful results. :) Just one issue remained. When I execute query in this way: String query = "q=id:1&mlt.fl=content&...&fl=title+author+score"; HttpClient client =

Re: Preparing the ground for a real multilang index

2009-07-02 Thread Paul Libbrecht
I believe the proper way is for the server to compute a list of accepted languages in order of preferences. The web-platform language (e.g. the user-setting), and the values in the Accept-Language http header (which are from the browser or platform). Then you expand your query for surfing w

Re: Deleting from SolrQueryResponse

2009-07-02 Thread pof
hossman wrote: > > one thing to keep in mind however is that post-processing a DocList to > filter stuff out is almost never a good idea -- things get really > convoluted when you think about dealing with pagination and except for > some really trivial use cases you can never know what your

reindexed data on master not replicated to slave

2009-07-02 Thread solr jay
Hi, When index data were corrupted on master instance, I wanted to wipe out all the index data and re-index everything. I was hoping the newly created index data would be replicated to slaves, but it wasn't. Here are the steps I performed: 1. stop master 2. delete the directory 'index' 3. start

Re: reindexed data on master not replicated to slave

2009-07-02 Thread Otis Gospodnetic
Jay, You didn't mention which version of Solr you are using. It looks like some trunk or nightly version. Maybe you can try the latest nightly? Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message > From: solr jay > To: solr-user@lucene.apache.org

Re: Implementing PhraseQuery and MoreLikeThis Query in one app

2009-07-02 Thread Otis Gospodnetic
Sergey, Glad to hear the suggestion worked! I can't spot the problem (though I think you want to use a comma to separate the list of fields in the fl parameter value). I suggest you look at the servlet container logs and Solr logs and compare requests that these two calls make. Once you see w

Re: Solr slave Heap space error and index size issue

2009-07-02 Thread Otis Gospodnetic
I don't think the index should *suddenly* increase in size if you are just adding/updating/deleting documents. It is normal that it temporarily increases during optimization. 35GB for 1.5M docs sounds a lot. You either have large fields or you store them or both? Maybe share your schema, show

Re: reindexed data on master not replicated to slave

2009-07-02 Thread solr jay
it's nightly build of May 10. I'll try the latest. Thanks, J On Thu, Jul 2, 2009 at 8:09 PM, Otis Gospodnetic wrote: > > Jay, > > You didn't mention which version of Solr you are using. It looks like some > trunk or nightly version. Maybe you can try the latest nightly? > > Otis > -- > Sem

Re: reindexed data on master not replicated to slave

2009-07-02 Thread Noble Paul നോബിള്‍ नोब्ळ्
jay , I see updating index properties... twice this should happen rarely. in your case it should have happened only once. because you cleaned up the master only once On Fri, Jul 3, 2009 at 6:09 AM, Otis Gospodnetic wrote: > > Jay, > > You didn't mention which version of Solr you are using.  It

Re: Preparing the ground for a real multilang index

2009-07-02 Thread Michael Lackhoff
On 03.07.2009 00:49 Paul Libbrecht wrote: [I'll try to address the other responses as well] > I believe the proper way is for the server to compute a list of > accepted languages in order of preferences. > The web-platform language (e.g. the user-setting), and the values in > the Accept-Langu

Re: Is it problem? I use solr to search and index is made by lucene. (not EmbeddedSolrServer(wiki is old))

2009-07-02 Thread James liu
solr have much fieldtype, like: integer,long, double, sint, sfloat, tint,tfloat,,and more. but lucene not fieldtype,,just name and value, value only string. so i not sure is it a problem when i use solr to search( index made by lucene). -- regards j.L ( I live in Shanghai, China)