Re: Solr - Make Exact Search on Field with Fuzzy Query

2012-10-11 Thread meghana
Hi Erickson, Thanks for your valuable reply. Actually we had tried with just storing one field and highlighting on that field all the time , whether we search on it or not. It sometimes occurs issue , like if i search with the term : 'hospitality' . and I use field for highlighting , which

Re: Question about MoreLikeThis query with solrj

2012-10-11 Thread Dominique Bejean
Hi, Are you using a correct stopword file for the French language ? It is very importante in order the the MLT component works fine. You should also take a look at this document. http://cephas.net/blog/2008/03/30/how-morelikethis-works-in-lucene/ MLT support in SolrJ is a an old story. May be

Re: Unique terms without faceting

2012-10-11 Thread Toke Eskildsen
On Wed, 2012-10-10 at 17:45 +0200, Phil Hoy wrote: I know that you can use a facet query to get the unique terms for a field taking account of any q or fq parameters but for our use case the counts are not needed. So is there a more efficient way of finding just unique terms for a field?

Re: segment number during optimize of index

2012-10-11 Thread jame vaalet
Hi Lance, My earlier point may be misleading 1. Segments are independent sub-indexes in seperate file, while | indexing | its better to create new segment as it doesnt have to modify an | existing | file. where as while searching, *smaller the segment* the better | it is |

Re: Auto Correction?

2012-10-11 Thread Ahmet Arslan
so other than commercial solutions, it seems like i need to have plugin right? i couldnt find any open source solutions yet... Yes you need to implement custom SearchComponent (plugin). http://wiki.apache.org/solr/SearchComponent Or alternatively you can re-search suggestions at client

SLOR And OpenNlp integration

2012-10-11 Thread ahmed
Hello, I am a new user of apache solr and i have to integrate opennlp avec solr .The problem is that i dont find a tutorial to do this integration .so i am asking if there is someone who can help me to do this integration ? thanks, -- View this message in context:

RE: SLOR And OpenNlp integration

2012-10-11 Thread Markus Jelsma
Hi - the wiki page will get you up and running quickly: http://wiki.apache.org/solr/OpenNLP -Original message- From:ahmed ahmed.missaoui...@gmail.com Sent: Thu 11-Oct-2012 13:32 To: solr-user@lucene.apache.org Subject: SLOR And OpenNlp integration Hello, I am a new user of

RE: SLOR And OpenNlp integration

2012-10-11 Thread ahmed
Hi, Thanks for reply i fact i tried this tutorial but when i execute 'ant compile' i have probleme taht class not found despite the class a re their.I dont know wats the probleme -- View this message in context:

Re: Solr - Make Exact Search on Field with Fuzzy Query

2012-10-11 Thread Erick Erickson
Right, and going the other way (storing and highlighting on the non-stemmed field) would be unsatisfactory due because you'd get a hit on hospital in the stemmed field, but wouldn't highlight it if you searched on hospitality. I really don't see a good solution here. Highlighting seems to be one

Re: anyone have any clues about this exception

2012-10-11 Thread Erick Erickson
Well, you'll actually be able to optimize, it's just called forceMerge. But the point is that optimize seems like something that _of course_ you want to do, when in reality it's not something you usually should do at all. Optimize does two things: 1 merges all the segments into one (usually) 2

Re: unsuscribe

2012-10-11 Thread Erick Erickson
Please follow the instructions here: https://wiki.apache.org/solr/Unsubscribing%20from%20mailing%20lists On Wed, Oct 10, 2012 at 6:03 PM, zMk Bnc zig...@hotmail.com wrote: unsuscribe

Re: SLOR And OpenNlp integration

2012-10-11 Thread Koji Sekiguchi
(12/10/11 20:40), ahmed wrote: Hi, Thanks for reply i fact i tried this tutorial but when i execute 'ant compile' i have probleme taht class not found despite the class a re their.I dont know wats the probleme I think if you attach the error you got helps us to understand your problem. Also

Re: Unique terms without faceting

2012-10-11 Thread Otis Gospodnetic
Hi, Are you lookig for http://lucene.apache.org/core/old_versioned_docs/versions/3_5_0/api/contrib-misc/org/apache/lucene/misc/HighFreqTerms.html ? Otis -- Search Analytics - http://sematext.com/search-analytics/index.html Performance Monitoring - http://sematext.com/spm/index.html On Thu, Oct

Re: SLOR And OpenNlp integration

2012-10-11 Thread ahmed
in fact i dowload the source of solr using svn client then, i execute the path of the opennlp then i do ant compile -lib /usr/share/ivy i got the error [javac] public synchronized Span[] splitSentences(String line) { [javac] ^ [javac]

Re: displaying search results in map

2012-10-11 Thread Gora Mohanty
On 11 October 2012 23:16, Harish Rawat harish.s.ra...@gmail.com wrote: Hi I am working on a project to display the search results on the map. The idea is to divide the map into N*N grids and show counts for each grid and allow users to view top result on each grid any suggestions on how

Re: displaying search results in map

2012-10-11 Thread Gora Mohanty
On 11 October 2012 23:55, Harish Rawat harish.s.ra...@gmail.com wrote: Sorry for not being clear. Here are more details 1.) The results are displayed in geographical map 2.) Each document has latitude, longitude field and other fields that can be searched on 3.) The search will be done for

Re: displaying search results in map

2012-10-11 Thread Jamie Johnson
Did you look at http://stackoverflow.com/questions/11319465/geoclusters-in-solr? This sounds similar to what you're asking for based on geohashes of the points of interest. On Thu, Oct 11, 2012 at 2:25 PM, Harish Rawat harish.s.ra...@gmail.com wrote: Sorry for not being clear. Here are more

SolrJ, optimize, maxSegments

2012-10-11 Thread Shawn Heisey
Currently my indexing code calls optimize. Once a night, one of my six large shards is optimized, so each one only gets optimized once every six days. Here is the SolrJ call, server is an instance of HttpSolrServer: UpdateResponse ur = server.optimize(); I only do this because I want deleted

Issue using SpatialRecursivePrefixTreeFieldType

2012-10-11 Thread Eric Khoury
Hi David, I'm defining my field as such: fieldType name=rectangle class=solr.SpatialRecursivePrefixTreeFieldType geo=false distErrPct=0 maxDetailDist=1 worldBounds=0 0 10916173 20/ When I create a large rectangle, say 10 10 500 11, Solr seems to freeze for quite some time. I haven't

Open Source Social (London) - 23rd Oct

2012-10-11 Thread Richard Marr
Hi all, The next Open Source Search Social is on the 23rd Oct at The Plough, in Bloomsbury. We usually get a good mix of regulars and newcomers, and a good mix of backgrounds and experience levels, so please come along if you can. As usual the format is completely open so we'll be talking about

Re: Custom html headers/footers to solr admin console

2012-10-11 Thread Erick Erickson
Uhhmmm, why do you want to do this? The admin screen is pretty much purely intended for developers/in-house use. Mostly I just want to be sure you aren't thinking about letting users, say, see this page. Consider /update?stream.body=deletequery*:*/querydelete/ Best Erick On Thu, Oct 11, 2012 at

NewSearcher old cache

2012-10-11 Thread shreejay
Hello Everyone, I was configuring a Solr installation and had a few queries about NewSearcher. As I understand a NewSearcher event will be triggered if there is an already existing registered searcher. Q1) As soon as a new searcher is opened, the caches begin populating from the older caches.

Re: NewSearcher old cache

2012-10-11 Thread Tomás Fernández Löbbe
Q1) As soon as a new searcher is opened, the caches begin populating from the older caches. What happens if the NewSearcher event has queries defined in them? does these queries ignore the old cache altogether and load only results of the queries defined in the listener event? Or do these

Re: SolrJ, optimize, maxSegments

2012-10-11 Thread Shawn Heisey
On 10/11/2012 2:02 PM, Shawn Heisey wrote: UpdateResponse ur = server.optimize(true, true, 20); What happens with this if I am already below 20 segments? Will it still expunge all of my (typically several thousand) deleted documents? I am hoping that what it will do is rebuild any segment

Re: Custom html headers/footers to solr admin console

2012-10-11 Thread Billy Newman
I take that answer as a no ;) And no admin only page. But you can query from that page. And the data returned could be sensitive. As such our company requires us to flag in a header/footer that the contents of the page could could be sensitive. So even though it will just be for admin access I

Any filter to map mutiple tokens into one ?

2012-10-11 Thread T. Kuro Kurosaka
I am looking for a way to fold a particular sequence of tokens into one token. Concretely, I'd like to detect a three-token sequence of *, : and *, and replace it with a token of the text *:*. I tried SynonymFIlter but it seems it can only deal with a single input token. * : * = *:* seems to be

Re: Any filter to map mutiple tokens into one ?

2012-10-11 Thread Jack Krupansky
The : which normally separates a field name from a term (or quoted string or parenthesized sub-query) is parsed by the query parser before analysis gets called, and *:* is recognized before analysis as well. So, any attempt to recreate *:* in analysis will be too late to affect query parsing

Re: Does Zookeeper notify slave to replication about record update in master

2012-10-11 Thread Otis Gospodnetic
Hi, I could be mistaken, but there is no pull-replication in Solr 4 unless one is trying to catch up using traditional Java replicatoin that pulls from one node to the other. I believe replication is push style, immediate, and replicas don't talk to ZK for that. Master and slaves are also a