Re: Calculating distances in Solr using longitude latitude

2010-09-22 Thread Jan Høydahl / Cominvent
:-) Also, that Wiki page clearly states in the very first line that it talks about uncommitted stuff Solr4.0. I think that is pretty clear. -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com On 22. sep. 2010, at 03.31, Lance Norskog wrote: Developers, like marketers,

Re: Calculating distances in Solr using longitude latitude

2010-09-22 Thread Dennis Gearon
I'm pretty new to the Apache Jira pages. I've not worked with a public, OSS version control sitation. The 'issue' numbers see concise, but when I click what I think will give more information about that issue, it takes me to the Apache project as whole, not the Lucene/Spatial Search 'issue'

Concurrent DB updates and delta import misses few records

2010-09-22 Thread Shashikant Kore
Hi, I'm using DIH to index records from a database. After every update on (MySQL) DB, Solr DIH is invoked for delta import. In my tests, I have observed that if db updates and DIH import is happening concurrently, import misses few records. Here is how it happens. The table has a column

Re: Calculating distances in Solr using longitude latitude

2010-09-22 Thread PeterKerk
Dennis Gearon wrote: Soo, the short term answer is to use a function column to query against? Prefereably with a bounding box, of course. :-) What do you mean by that? Calculate all locations within a certain range (bounding box) and query on that? I hope not, because that would be a

is indexing single-threaded?

2010-09-22 Thread Andy
Does Solr index data in a single thread or can data be indexed concurrently in multiple threads? Thanks Andy

Different analyzers for dfferent documents in different languages?

2010-09-22 Thread Andy
I have documents that are in different languages. There's a field in the documents specifying what language it's in. Is it possible to index the documents such that based on what language a document is in, a different analyzer will be used on that document? What is the normal way to handle

Re: Different analyzers for dfferent documents in different languages?

2010-09-22 Thread Jan Høydahl / Cominvent
See this thread: http://search-lucene.com/m/FgbDS1JL3J1 Basically, what we normally do is to rename the fields with a language suffix, so if you have language=en and text=A red fox, then you would index it as text_en=A red fox. You would either have to do this outside Solr or write an

Autocomplete: match words anywhere in the token

2010-09-22 Thread Arunkumar Ayyavu
It's been over a week since I started learning Solr. Now, I'm using the electronics store example to explore the autocomplete feature in Solr. When I send the query terms.fl=nameterms.prefix=canon to terms request handler, I get the following response lst name=terms lst name=name int

Re: DIH: alternative approach to deltaQuery

2010-09-22 Thread Lukas Kahwe Smith
On 20.09.2010, at 08:32, Lukas Kahwe Smith wrote: Hi, ok since it didnt seem like there was interest to document this approach on the wiki i have simply documented it on my blog: http://pooteeweet.org/blog/1827 sorry for the spam. Lance (and Erik) did think it would be good to add it,

Re: Concurrent DB updates and delta import misses few records

2010-09-22 Thread Shawn Heisey
On 9/22/2010 1:39 AM, Shashikant Kore wrote: Hi, I'm using DIH to index records from a database. After every update on (MySQL) DB, Solr DIH is invoked for delta import. In my tests, I have observed that if db updates and DIH import is happening concurrently, import misses few records. Here

Re: Different analyzers for dfferent documents in different languages?

2010-09-22 Thread Bernd Fehling
Actually, this is one of the biggest disadvantage of Solr for multilingual content. Solr is field based which means you have to know the language _before_ you feed the content to a specific field and process the content for that field. This results in having separate fields for each language.

Re: Different analyzers for dfferent documents in different languages?

2010-09-22 Thread Andrzej Bialecki
On 2010-09-22 15:30, Bernd Fehling wrote: Actually, this is one of the biggest disadvantage of Solr for multilingual content. Solr is field based which means you have to know the language _before_ you feed the content to a specific field and process the content for that field. This results in

Re: Autocomplete: match words anywhere in the token

2010-09-22 Thread Jason Rutherglen
This may be what you're looking for. http://www.lucidimagination.com/blog/2009/09/08/auto-suggest-from-popular-queries-using-edgengrams/ On Wed, Sep 22, 2010 at 4:41 AM, Arunkumar Ayyavu arunkumar.ayy...@gmail.com wrote: It's been over a week since I started learning Solr. Now, I'm using the

Re: Calculating distances in Solr using longitude latitude

2010-09-22 Thread Erick Erickson
Well, rather than be surprised, you could jump right and *make* it a priority, by contributing a patch :). But before you do, you might want to look at the ongoing discussion at:

Re: Calculating distances in Solr using longitude latitude

2010-09-22 Thread Dennis Gearon
Well, do the least expensive operations first, all the other filtering on keywords, dates, other fields, then the bounding box, then generate the distances. Really not sure what is local solr, but going to look now. Dennis Gearon Signature Warning EARTH has a Right To Life,

Can Solr do approximate matching?

2010-09-22 Thread Igor Chudov
Hi guys. I am new here. So if I am unwittingly violating any rules, let me know. I am working with Solr because I own algebra.com, where I have a database of 250,000 or so answered math questions. I want to use Solr to provide approximate matching functionality called similar items. So that users

Re: Can Solr do approximate matching?

2010-09-22 Thread Li Li
It seems there is a SimilarLikeThis in lucene . I don't know whether a counterpart in solr. It just use the found document as a query to find similar documents. Or you just use boolean or query and similar questions with getting higher score. Of course, you can analyse the question using some NLP

Re: Calculating distances in Solr using longitude latitude

2010-09-22 Thread Thomas Joiner
Re: your problems with JIRA I have no idea what caused it/what resolved it but I have had the same problem as you. Assuming, that is, that the problem that is occurring is when you click on a link to an issue, it instead takes you to https://issues.apache.org/jira/secure/Dashboard.jspa Or

Re: Can Solr do approximate matching?

2010-09-22 Thread Erik Hatcher
http://www.lucidimagination.com/search/?q=%22find+similar%22 (then narrow to wiki to find things in documentation) which will get you to http://wiki.apache.org/solr/MoreLikeThisHandler Erik On Sep 22, 2010, at 12:12 PM, Li Li wrote: It seems there is a SimilarLikeThis in lucene . I

Improvements to SpellCheckComponent Collate -- Patch available for v1.4.1 (SOLR-2010)

2010-09-22 Thread Dyer, James
A couple of people have asked about getting SOLR-2010 to work on v1.4.1. I uploaded a backported patch to JIRA today. See https://issues.apache.org/jira/browse/SOLR-2010 and file SOLR-2010_141.patch. SOLR-2010 improves the SpellCheckComponent Collate funtionality. Specifically, 1. Only

Regarding Capacity of Solr Indexes.

2010-09-22 Thread Vaibhav Shrivastava
Hi, I am a new user on this group. I wished to use Solr for deploying an Index on a 2Tb amount of data of documents. I wished to know if someone could help me out in estimating the number of machines required for serving this index, assuming I shall use Amazon machine instances for this. The

Re: NullpointerException when combining spellcheck component and synonyms

2010-09-22 Thread Stefan Moises
Hi all, wow, this is weird... now before I file the JIRA issue - one thing I forgot to mention is that I am using the edismax query parser. I've just done the following: 1) searched with edismax parser:

I was at a search vendor round table today...

2010-09-22 Thread Smiley, David W.
(I don't twitter or blog so I thought I'd send this message here) Today at work (at MITRE outside DC) there was (is) a day of technical presentations about topics related to information dissemination and discovery (broad squishy words there, but mostly covered search) at which I spoke about

Re: Autocomplete: match words anywhere in the token

2010-09-22 Thread Arunkumar Ayyavu
Thanks for the responses. Now, I included the EdgeNGramFilter. But, I get the following results when I search for canon pixma. Canon PIXMA MP500 All-In-One Photo Printer Canon PowerShot SD500 As you can guess, I'm not expecting the 2nd result entry. Though I understand why I'm getting the 2nd

Re: NullpointerException when combining spellcheck component and synonyms

2010-09-22 Thread Stefan Moises
well, to sum it up... it doesn't really matter if I use standard or dismax, at the moment both give me NullPointers for the same query, although I didn't change anything since it was working ... it seems totally random, sometimes it works a couple of times, sometimes it doesn't :( Weird...

Re: I was at a search vendor round table today...

2010-09-22 Thread Grant Ingersoll
On Sep 22, 2010, at 2:04 PM, Smiley, David W. wrote: (I don't twitter or blog so I thought I'd send this message here) Today at work (at MITRE outside DC) there was (is) a day of technical presentations about topics related to information dissemination and discovery (broad squishy words

Re: I was at a search vendor round table today...

2010-09-22 Thread Walter Underwood
On Sep 22, 2010, at 11:04 AM, Smiley, David W. wrote: Speaking of performance, on a large scale search project where we're using Solr in place of a MarkLogic prototype (because ML is so friggin expensive, for one reason), the search results were so fast (~150ms) vs. the ML's results of 2-3

Re: I was at a search vendor round table today...

2010-09-22 Thread Alexander Kanarsky
He said some other things about a huge petabyte hosted search collection they have used by banks.. In context of your discussion this reference sounds really, really funny... :) -Alexander On Wed, Sep 22, 2010 at 1:17 PM, Grant Ingersoll gsing...@apache.org wrote: On Sep 22, 2010, at 2:04

Delete Dynamic Fields

2010-09-22 Thread Moiz Bhukhiya
Hi All: I had used dynamic fields for some of my fields and then later decided to make it static. I removed that dynamic field from the schema but I still see it on admin interface(FIELD LIST). Could somebody please point me out how can I remove these dynamic fields? Thanks, Moiz

Re: Delete Dynamic Fields

2010-09-22 Thread Tom Hill
Delete all docs with the dynamic fields, and then optimize. On Wed, Sep 22, 2010 at 1:58 PM, Moiz Bhukhiya moiz.bhukh...@gmail.com wrote: Hi All: I had used dynamic fields for some of my fields and then later decided to make it static. I removed that dynamic field from the schema but I still

Searches with a period (.) in the query

2010-09-22 Thread Siddharth Powar
Hi, I am getting some weird output upon searching in solr. For certain searches that have a period in the search term (e.g: q=ab.xyz) solr returns the results perfectly, but for some other searches (e.g: q=ab.pqr) solr would return 0 results even though it is present. On the other hand if the

Re: Searches with a period (.) in the query

2010-09-22 Thread kenf_nc
Could it be a case-sensitivity issue? The StrField type is not analyzed, but indexed/stored verbatim. (from the schema comments). If you are looking for ab.pqr but it is in fact ab.Pqr in the solr document, it wouldn't find it. -- View this message in context:

Solr Reporting

2010-09-22 Thread Adeel Qureshi
This probably isnt directly a solr user type question but its close enough so I am gonna post it here. I have been using solr for a few months now and it works just out of this world so I definitely love the software (and obviously lucene too) .. but I feel that solr output xml is in kind of weird

How can I delete the entire contents of the index?

2010-09-22 Thread Igor Chudov
Let's say that I added a number of elements to Solr (I use Webservice::Solr as the interface to do so). Then I change my mind and want to delete them all. How can I delete all contents of the database, but leave the database itself, just empty? Thanks i

Re: Searches with a period (.) in the query

2010-09-22 Thread Siddharth Powar
Hey Ken, Thanks for the reply. Its not a case-sensitivity issue. I wonder if this is a bug in the way the data is indexed in solr as the behavior is not constant throughout searches of similar type when a period (.) is used. You think there could be some other issue? Thanks, Sid On Wed, Sep 22,

Re: How can I delete the entire contents of the index?

2010-09-22 Thread xu cheng
deletequerythe query that fetch the data you wanna delete/query/delete I did like this to delete my data best regards 2010/9/23 Igor Chudov ichu...@gmail.com Let's say that I added a number of elements to Solr (I use Webservice::Solr as the interface to do so). Then I change my mind and want

Re: How can I delete the entire contents of the index?

2010-09-22 Thread Gora Mohanty
On Thu, Sep 23, 2010 at 9:05 AM, Igor Chudov ichu...@gmail.com wrote: Let's say that I added a number of elements to Solr (I use Webservice::Solr as the interface to do so). Then I change my mind and want to delete them all. How can I delete all contents of the database, but leave the

Re: is indexing single-threaded?

2010-09-22 Thread Andy
--- On Wed, 9/22/10, Andy angelf...@yahoo.com wrote: Does Solr index data in a single thread or can data be indexed concurrently in multiple threads? Can anyone help?