Re: solr highlight problem

2012-10-11 Thread Maurizio Cucchiara
What do you mean by missing vicky? Did you mean a second fragment? Sent from my mobile device, so please excuse typos and brevity. Maurizio Cucchiara Il giorno 12/ott/2012 08.42, "rayvicky" ha scritto: > sb.append("title:test vicky"); > SolrQuery query = new SolrQuery(); > query.setQuery(sb.toS

solr highlight problem

2012-10-11 Thread rayvicky
sb.append("title:test vicky"); SolrQuery query = new SolrQuery(); query.setQuery(sb.toString()); query.setHighlight(true); query.addHighlightField("title"); query.setHighlightSimplePre(""); query.setHighlightSimplePost(""); query.setHighlightSnippets(2); query.setHighlightFragsize(500); tit

Search in specific website

2012-10-11 Thread Tolga
Hi, I use nutch to crawl my website and index to solr. However, how can I search for piece of content in a specific website? I use multiple URL's Regards,

It's there any way to specify config name for core in solr.xml?

2012-10-11 Thread jun Wang
Hi, all I have two collections, and two machines. So, my deployment is like |machine a |machine b | |core a1 | core a2 | core b1 | core b2| core a1 is for collection 1 shard1, core a2 is for collection 1 shard2. config for collection is config 1. core b1 is for collection 2 shar

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 thin

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 pa

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. "* : * => *:*" s

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

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 th

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 the

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: 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=*:* Best Erick On Thu, Oct 11, 2012 at 4:57 PM, Billy Newman wr

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 w

Issue using SpatialRecursivePrefixTreeFieldType

2012-10-11 Thread Eric Khoury
Hi David, I'm defining my field as such: When I create a large rectangle, say "10 10 500 11", Solr seems to freeze for quite some time. I haven't looked at your code, but I can imagine the algorithm basically fills in some sort of indexing matrix, and that's what's taking so long for larg

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

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 wrote: > Sorry for not being clear. Here are more details > > 1.) The results

Re: displaying search results in map

2012-10-11 Thread Gora Mohanty
On 11 October 2012 23:55, Harish Rawat 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 all documents with

Re: displaying search results in map

2012-10-11 Thread Gora Mohanty
On 11 October 2012 23:16, Harish Rawat 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 best to accomplish t

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] /home/pfe/Téléchargements/de

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 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 b

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 wrote: > > unsuscribe

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> r

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 o

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: http://lucene.472066.n3.nabble.com/SLOR-And-OpenNlp-integration-tp4013094p4013101.

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 > 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 apache solr and i have t

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: http://lucene.472066.n3.nabble

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 t

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 i

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?