NGramFilterFactory for auto-complete that matches the middle of multi-lingual tags?

2010-10-02 Thread Andy
I working on a user-generated tagging feature. Some of the tags could be multi-lingual, mixng languages like English, Chinese, Japanese I'd like to add auto-complete to help users to enter the tags. And I'd want to match in the middle of the tags as well. For example, if a user types "guit" I w

Autosuggest with inner phrases

2010-10-02 Thread sivaprasad
Hi , I implemented the auto suggest using terms component.But the suggestions are coming from the starting of the word.But i want inner phrases also.For example, if I type "bass" Auto-Complete should offer suggestions that include "bass fishing" or "bass guitar", and even "sea bass" (note how "ba

Re: Autosuggest with inner phrases

2010-10-02 Thread Ahmet Arslan
> Hi , > I implemented the auto suggest using terms component.But > the suggestions are > coming from the starting of the word.But i want inner > phrases also.For > example, if I type "bass" Auto-Complete should offer > suggestions that > include "bass fishing"  or "bass guitar", and even > "sea ba

Re: Search Interface

2010-10-02 Thread Claudio Devecchi
tks guys!! working now.. =) On Tue, Sep 28, 2010 at 5:39 PM, Lance Norskog wrote: > There is already a simple Velocity app. Just hit > http://localhost:8983/solr/browse. > You can configure some handy parameters to make walkable facets in > solrconfig.xml. > > On Tue, Sep 28, 2010 at 5:23 AM, A

Re: Upgrade to Solr 1.4, very slow at start up when loading all cores

2010-10-02 Thread Yonik Seeley
On Fri, Oct 1, 2010 at 5:42 PM, Renee Sun wrote: > Hi Yonik, > > I attached the solrconfig.xml to you in previous post, and we do have > firstSearch and newSearch hook ups. > > I commented them out, all 130 cores loaded up in 1 minute, same as in solr > 1.3.  total memory took about 1GB. Whereas i

Re: NGramFilterFactory for auto-complete that matches the middle of multi-lingual tags?

2010-10-02 Thread Ahmet Arslan
> For example, if a user types "guit" I want to suggest: > "guitar" > "electric guitar" > "电动guitar" > "guitar英雄" > > And if a user types "吉他" I want to suggest: > "吉他Hero" > "electric吉他" > "古典吉他" > > > I'm thinking about using: > > positionIncrementGap="100"> > >     class="solr.KeywordToke

Re: Autosuggest with inner phrases

2010-10-02 Thread Dennis Gearon
Does adding the shingle filter factory have to be done before or after indexing? Dennis Gearon Signature Warning EARTH has a Right To Life, otherwise we all die. Read 'Hot, Flat, and Crowded' Laugh at http://www.yert.com/film.php --- On Sat, 10/2/10, Ahmet Arslan wrote: >

timestamp column

2010-10-02 Thread Dennis Gearon
Is there a timestamp column in Solr,i.e. I could feed it something like: 2010-10-15T23:59:59 And it's indexable of course :-) Dennis Gearon Signature Warning EARTH has a Right To Life, otherwise we all die. Read 'Hot, Flat, and Crowded' Laugh at http://www.yert.com/film.php

Re: NGramFilterFactory for auto-complete that matches the middle of multi-lingual tags?

2010-10-02 Thread Andy
--- On Sat, 10/2/10, Ahmet Arslan wrote: > From: Ahmet Arslan > > For example, if a user types > "guit" I want to suggest: > > "guitar" > > "electric guitar" > > "电动guitar" > > "guitar英雄" > > > > And if a user types "吉他" I want to suggest: > > "吉他Hero" > > "electric吉他" > > "古典吉他" > > > > >

solrj

2010-10-02 Thread ankita shinde
hello, I am trying to use solrj for interfacing with solr. I am trying to run the SolrjTest example. I have included all the following jar files- - commons-codec-1.3.jar - commons-fileupload-1.2.1.jar - commons-httpclient-3.1.jar - commons-io-1.4.jar - geronimo-stax-api_1.0_spec-

Re: NGramFilterFactory for auto-complete that matches the middle of multi-lingual tags?

2010-10-02 Thread Ahmet Arslan
> I don't understand. Many tags like "electric吉他" or > "古典吉他" have no whitespace at all, so how does > WhitespaceTokenizer help? It makes sense for tags having more than one words. i.e. "electric guitar" If you tokenize this using whitespacetokenizer, you obtain two tokens. If you use keywordtok

Re: Autosuggest with inner phrases

2010-10-02 Thread Ahmet Arslan
> Does adding the shingle filter > factory have to be done before or after indexing? It will be added to index time analyzer, if you are asking that. Also re-start solr and re-index is required.

Re: Autosuggest with inner phrases

2010-10-02 Thread Jason Rutherglen
This's what yer lookin' for: http://www.lucidimagination.com/blog/2009/09/08/auto-suggest-from-popular-queries-using-edgengrams/ On Sat, Oct 2, 2010 at 3:14 AM, sivaprasad wrote: > > Hi , > I implemented the auto suggest using terms component.But the suggestions are > coming from the starting of

Re: How to tell Solr to return all fields including empty fields?

2010-10-02 Thread Khai Doan
Thanks for replying. I need to have the empty fields because if the field is not there, the Java library ( http://www.json.org/javadoc/org/json/JSONObject.html) that I use to parse the result will throw an exception. Quite inconvenient. Thanks, Khai On Fri, Oct 1, 2010 at 6:45 PM, Erick Erickso

Re: How to tell Solr to return all fields including empty fields?

2010-10-02 Thread Dennis Gearon
One would think that a JSON output handler in Solr/Lucene would create a: "fieldname": null for missing fields. Is it possible to set that as a parameter to a json-requested output? In PHP, NULL and missing are ALMOST the exact same thing. In databases, they actually are, in my limited experie