Re: Using different queries for q and facet.query parameters

2012-09-26 Thread Kiran Jayakumar
Thank you very much Hoss, thats exactly what I was looking for ! :) On Wed, Sep 26, 2012 at 2:12 PM, Chris Hostetter wrote: > > I think you are missunderstanding the purpose of 'facet.query', it doesn't > change the base query used when faceting, it gives you a count of > documents that match an

Using different queries for q and facet.query parameters

2012-09-26 Thread Kiran Jayakumar
Hi everyone, I facet by Category field. When the user drills down, I still want to show all the original facets before drill down. So instead of using the filter query, I use +(Category:<...>) in syntax. Obviously this restricts the facets returned to only that particular category. So I do somethi

Re: how to boosting fisrt substring in a string solr.

2012-09-13 Thread Kiran Jayakumar
http://lucene.apache.org/core/3_6_1/queryparsersyntax.html#Boosting a Term How about this: Yoga^2 "Yoga Teacher" On Thu, Sep 13, 2012 at 5:32 AM, Tanguy Moal wrote: > Hi, > Did you try issuing a query like : "+Yoga Teacher" (without the > double-quotes) ? > > See http://lucene.apache.org/core

Re: N-gram ranking based on term position

2012-09-07 Thread Kiran Jayakumar
dismax handler sounds > reasonable. Why do you have qualms about it? > > On Fri, Sep 7, 2012 at 12:28 PM, Kiran Jayakumar > wrote: > > Hi, > > > > Is it possible to score documents with a match "early in the text" higher > > than "later in the text"

Re: Solr search not working after copying a new field to an existing Indexed Field

2012-09-07 Thread Kiran Jayakumar
Do you have the unique key set up in your schema.xml ? It should be automatic if you have the ID field and define it as the unique key. ID On Thu, Sep 6, 2012 at 11:50 AM, Mani wrote: > I have a made a schema change to copy an existing field "name" (Source > Field) > to an existing search fiel

Re: Problem with verifying signature ?

2012-09-07 Thread Kiran Jayakumar
Thank you. On Thu, Sep 6, 2012 at 9:51 AM, Chris Hostetter wrote: > > : gpg: Signature made 08/06/12 19:52:21 Pacific Daylight Time using RSA key > : ID 322 > : D7ECA > : gpg: Good signature from "Robert Muir (Code Signing Key) < > rm...@apache.org>" > : *gpg: WARNING: This key is not certified w

Re: How to preserve source column names in multivalue catch all field

2012-09-07 Thread Kiran Jayakumar
-all field. There's no way that I know of to > reconstruct what field the source was. > > But storing the source fields without indexing them is OK too, it won't > affect > searching speed noticeably... > > Best > Erick > > On Tue, Sep 4, 2012 at 11:52 AM, Kiran J

Re: Problem with verifying signature ?

2012-09-05 Thread Kiran Jayakumar
Thank you Hoss. I imported the KEYS file using *gpg --import KEYS.txt*. Then I did the *--verify* again. This time I get an output like this: gpg: Signature made 08/06/12 19:52:21 Pacific Daylight Time using RSA key ID 322 D7ECA gpg: Good signature from "Robert Muir (Code Signing Key) " *gpg: WARN

Re: AW: AW: auto completion search with solr using NGrams in SOLR

2012-09-04 Thread Kiran Jayakumar
I wonder why. I had a similar use case & works great for me. If you can send the snapshot of analysis for a sample string (say "hello world " for indexing, "hel" - positive case, "wo" - negative case for querying), then we can see whats going on. Also the debug query output would be helpful. On F

Re: AW: AW: auto completion search with solr using NGrams in SOLR

2012-08-31 Thread Kiran Jayakumar
Try this: http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.KeywordTokenizerFactory On Thu, Aug 30, 2012 at 9:07 PM, aniljayanti wrote: > Hi, > > thanks, > > I checked with given changes, getting below error saying that SOLR is not > allowing without tokenizer. > > org.apache.

Re: Static template column in DIH

2012-08-30 Thread Kiran Jayakumar
13-4311 > > > -Original Message- > From: Kiran Jayakumar [mailto:kiranjuni...@gmail.com] > Sent: Thursday, August 30, 2012 1:54 PM > To: solr-user@lucene.apache.org > Subject: Static template column in DIH > > Hi everyone, > > I have defined a template column like

Static template column in DIH

2012-08-30 Thread Kiran Jayakumar
Hi everyone, I have defined a template column like this: I dont have a field called Category in my query, but defined in schema.xml. I'm expecting it to populate the Category field with a fixed value "Books". It doesnt work. What am I missing ? Any help is much appreciated. Thanks

Re: Query Time problem on Big Index Solr 3.5

2012-08-30 Thread Kiran Jayakumar
Have you tried sharding ? The best practices recommend sharding when your index grows too large and query time is slow. On Tue, Aug 28, 2012 at 2:02 AM, mpcmarcos wrote: > Hello, > > I have a problem, I'm working with Solr 3.5, with a index that has > 8.000.000 > of documents (13Gb), each docum

Re: AW: AW: auto completion search with solr using NGrams in SOLR

2012-08-30 Thread Kiran Jayakumar
You wouldnt need any tokenizer, I'm not sure if Solr will allow that. You also need to move the Edge n gram filter to index from query (I think Ahmet suggested this). It will look something like this: note that pattern

Re: Problem with copyfield wild card

2012-08-29 Thread Kiran Jayakumar
Thank you Jack. On Wed, Aug 29, 2012 at 12:10 PM, Jack Krupansky wrote: > Alas, copyField does not support full glob. Just like dynamicField, you > can only use * at the start or end of the source field name, but not both. > > -- Jack Krupansky > > -Original Messag

Problem with copyfield wild card

2012-08-29 Thread Kiran Jayakumar
Hi everyone, I have several fields like Something_Misc_1, Something_Misc_2, SomeOtherThing_Misc_1,... etc. I have defined a copy field like this: It doesnt capture the misc fields. Am I missing something ? Any help is much appreciated. Thanks

Re: AW: AW: auto completion search with solr using NGrams in SOLR

2012-08-29 Thread Kiran Jayakumar
You need this for both index and query: http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.PatternReplaceFilterFactory On Wed, Aug 29, 2012 at 4:55 AM, aniljayanti wrote: > Hi, > > thanks for ur reply, > > I donot know how to remove multiple white spaces using regax in the sear

Re: AW: AW: auto completion search with solr using NGrams in SOLR

2012-08-28 Thread Kiran Jayakumar
Since you have , during indexing time, it is going split the text on white spaces and then apply edge n-grams. If you remove this & may be replace it with a simpler regex which does basic clean up like removing multiple white spaces etc., then it will not match on the beginning of non-first words.

Re: Data Import Handler - Could not load driver - com.microsoft.sqlserver.jdbc.SQLServerDriver - SOLR 4 Beta

2012-08-27 Thread Kiran Jayakumar
You need to tell solr where your .jar file is located. Something like this will help: On Mon, Aug 27, 2012 at 6:19 AM, awb3667 wrote: > Yes it does. > > I downloaded the file 'sqljdbc4.jar' from Microsoft. I have this same jar > working with 3.6.1. > > Thanks. > -Adam > > > > -- > View this

Re: Is SpellCheck Case Sensitive in Solr3.6.1?

2012-08-24 Thread Kiran Jayakumar
You are missing query analyzer field type: add this line in your search component. *spell* ... On Fri, Aug 24, 2012 at 5:31 AM, mechravi25 wrote: > Hi, > > Im using solr 3.6.1 version now and I configured spellcheck by making > following changes > > Solrconfig.xml: > > > > solr.IndexBa

Re: Querying top n of each facet value

2012-08-23 Thread Kiran Jayakumar
nt per group neither. > > Hope this helps, > > -- > Tanguy > > 2012/8/23 Kiran Jayakumar > > > Hi everyone, > > > > I am building an auto complete feature, which facets by a field called > > "Category". I want to return a minimum number of documents p