Re: how to best convert some term in q to a fq

2014-01-07 Thread Kranti
As Joel suggested it would be easy to find that outside of solr. But if you really want to do the solr way, then you would need to write custom request handler or query component. The later needs more understanding of solr/lucene APIs. The former would be relatively simple to set the fq into sol

Re: how to best convert some term in q to a fq

2014-01-07 Thread Kranti
I thought the intention to convert country as fq is to hit the filter cache for performance than boosting results. > On Dec 27, 2013, at 10:31 PM, Josh Lincoln wrote: > > what if you add your country field to qf with a strong boost? the search > experience would be slightly different than if yo

Re: join and filter query with AND

2014-03-21 Thread Kranti Parisa
You may try this (({!join from=inner_id to=outer_id fromIndex=othercore v=$joinQuery} And pass another parameter joinQuery=(city:"Stara Zagora" AND prod:214) Thanks, Kranti K. Parisa http://www.linkedin.com/in/krantiparisa On Fri, Mar 21, 2014 at 4:47 AM, Marcin Rzewucki wr

Re: join and filter query with AND

2014-03-21 Thread Kranti Parisa
My example should also work, am I missing something? &q=({!join from=inner_id to=outer_id fromIndex=othercore v=$joinQuery})&joinQuery=(city:"Stara Zagora" AND prod:214) Thanks, Kranti K. Parisa http://www.linkedin.com/in/krantiparisa On Fri, Mar 21, 2014 at 2:11 PM, Y

Re: join and filter query with AND

2014-03-24 Thread Kranti Parisa
glad the suggestions are working for you! Thanks, Kranti K. Parisa http://www.linkedin.com/in/krantiparisa On Mon, Mar 24, 2014 at 4:10 AM, Marcin Rzewucki wrote: > Hi, > > Yonik, thank you for explaining me the reason of the issue. The workarounds > you suggested are working fi

Re: cache warming questions

2014-04-17 Thread Kranti Parisa
Erik, I have a followup question on this topic. If we have used 10 unique FQs and when we configure filterCache=100 & autoWarm=5, then which 5 out of the 10 will be repopulated in the case of new searcher? I don't think there is a way to set the preference or there is? Thanks,

Re: cache warming questions

2014-04-18 Thread Kranti Parisa
cool, thanks. Thanks, Kranti K. Parisa http://www.linkedin.com/in/krantiparisa On Thu, Apr 17, 2014 at 11:37 PM, Erick Erickson wrote: > No, the 5 most recently used in a query will be used to autowarm. > > If you have things you _know_ are going to be popular fqs, you could >

Re: Join solr

2014-04-24 Thread Kranti Parisa
that doesn't work on the fly. you will need to write custom code Thanks, Kranti K. Parisa http://www.linkedin.com/in/krantiparisa On Thu, Apr 24, 2014 at 6:11 AM, hungctk33 wrote: > Pls! Help me. > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.

Re: retreive all the fields in join

2014-05-16 Thread Kranti Parisa
use the FQs so that you could hit the cache and hence the second call will be fast) and fetch the documents - use them for building the response out of the box Solr won't do this for you.. Thanks, Kranti K. Parisa http://www.linkedin.com/in/krantiparisa On Mon, May 12, 2014 at 7:05 AM

Re: dropping noise words and maintaining the relevancy

2013-10-31 Thread Kranti Parisa
o use field level boosting with the above query, example exactMatch:"160 Associates LP"^10 OR text:""160 Associates LP"^5 Thanks, Kranti K. Parisa http://www.linkedin.com/in/krantiparisa On Thu, Oct 31, 2013 at 4:00 PM, Susheel Kumar < susheel.ku...@thedigitalgroup.net

Re: config JoinQParserPlugin

2014-01-07 Thread Kranti Parisa
Ray, FYI: there are more sophisticated joins available via https://issues.apache.org/jira/browse/SOLR-4787 not on trunk yet, but worth taking a look. Thanks, Kranti K. Parisa http://www.linkedin.com/in/krantiparisa On Thu, Jan 2, 2014 at 8:05 PM, Ray Cheng wrote: > Hi Chris, > > &

Range queries with Grouping is slow?

2014-01-07 Thread Kranti Parisa
please point me to the jira link otherwise I can open an issue if this needs some analysis? Thanks, Kranti K. Parisa http://www.linkedin.com/in/krantiparisa

Re: Range queries with Grouping is slow?

2014-01-08 Thread Kranti Parisa
I was trying with the [* TO *] as an example, the real use case is OR query between 2/more range queries of timestamp fields (saved in milliseconds). So I can't use FQs as they are ANDed by definition. Am I missing something here? Thanks, Kranti K. Parisa http://www.linkedin.c

Re: Range queries with Grouping is slow?

2014-01-08 Thread Kranti Parisa
yes thats the key, these time ranges change frequently and hitting filtercache then is a problem. I will try few more samples and probably debug thru it. thanks. Thanks, Kranti K. Parisa http://www.linkedin.com/in/krantiparisa On Wed, Jan 8, 2014 at 12:11 PM, Erick Erickson wrote: > W

Re: Passing variables as values in Query Filter

2014-01-08 Thread Kranti Parisa
did you try this? q={!func}customfunc($v1)&v1=somevalue&qf=fieldname more info http://wiki.apache.org/solr/FunctionQuery Thanks, Kranti K. Parisa http://www.linkedin.com/in/krantiparisa On Wed, Jan 8, 2014 at 2:22 AM, Mukundaraman valakumaresan < muk...@8kmiles.com> wrot

Re: Range queries with Grouping is slow?

2014-01-09 Thread Kranti Parisa
Thank you, will take a look at it. Thanks, Kranti K. Parisa http://www.linkedin.com/in/krantiparisa On Thu, Jan 9, 2014 at 10:25 AM, Mikhail Khludnev < mkhlud...@griddynamics.com> wrote: > Hello, > > Here is workaround for caching separate clauses in OR filters. > http://blo

Re: Query time join with conditions

2014-01-14 Thread Kranti Parisa
which will support Nested Joins and obviously hit filter cache. Thanks, Kranti K. Parisa http://www.linkedin.com/in/krantiparisa On Tue, Jan 14, 2014 at 2:20 PM, heaven wrote: > Can someone shed some light on this? > > > > -- > View this message in context: > http://lucene.47

Re: Query time join with conditions

2014-01-16 Thread Kranti Parisa
cool, np. Thanks, Kranti K. Parisa http://www.linkedin.com/in/krantiparisa On Thu, Jan 16, 2014 at 11:30 AM, heaven wrote: > Nvm, figured it out. > > To match profiles that have "test entry" in own attributes or in related > rss > entries it is possible to use ({!jo

Re: Changing Cache Properties after Indexing

2014-01-17 Thread Kranti Parisa
ed by disabling the replication. If threshold checks are passed, enable the replication. This way you can configure the caches, other settings that you need for indexing and configure something else on your Query Engine. Thanks, Kranti K. Parisa http://www.linkedin.com/in/krantiparisa On Fri, Jan 17,

Re: Solr server requirements for 100+ million documents

2014-01-24 Thread Kranti Parisa
can you post the complete solrconfig.xml file and schema.xml files to review all of your settings that would impact your indexing performance. Thanks, Kranti K. Parisa http://www.linkedin.com/in/krantiparisa On Sat, Jan 25, 2014 at 12:56 AM, Susheel Kumar < susheel.ku...@thedigitalgroup.

Re: Does SolrCloud Improves Indexing or Slows it down

2014-02-19 Thread Kranti Parisa
Why don't you do parallel indexing and then merge everything into one and replicate that from the master to the slaves in SolrCloud? Thanks, Kranti K. Parisa http://www.linkedin.com/in/krantiparisa On Wed, Feb 19, 2014 at 3:04 PM, Susheel Kumar < susheel.ku...@thedigitalgroup.net> w

Re: Indexing huge data

2014-03-06 Thread Kranti Parisa
thats what I do. precreate JSONs following the schema, saving that in MongoDB, this is part of the ETL process. after that, just dump the JSONs into Solr using batching etc. with this you can do full and incremental indexing as well. Thanks, Kranti K. Parisa http://www.linkedin.com/in

Phrase Highlighting with special characters

2010-08-18 Thread Kranti K K Parisa
t;united states usa" but highlights only the exact phrase which is "united. states. usa", the results without special characters"united states usa" is not highlighted. Can anyone give comments/suggestion. Thanks, Kranti

Re: Phrase Highlighting with special characters

2010-08-18 Thread Kranti K K Parisa
;); also I was reading something about (I didn't use it yet) true On Wed, Aug 18, 2010 at 2:06 PM, Kranti K K Parisa wrote: > Hi All, > > I am trying with Solr Highlighting. I have problem in highlighting phrases > consists of special characters > > for example,

Urgent: SOLR Indexing missing tokens

2010-01-19 Thread Kranti™ K K Parisa
e PDF as i am storing the field along with indexing. Is there any such limitations with SOLR indexing, please let me know at the earliest. Thanks in advance! Best Regards, Kranti K K Parisa

Re: Urgent: SOLR Indexing missing tokens

2010-01-19 Thread Kranti™ K K Parisa
not getting generated completely because of which my search not working for the full content. Please suggest. Best Regards, Kranti K K Parisa On Tue, Jan 19, 2010 at 8:27 PM, Mark Miller wrote: > Kranti™ K K Parisa wrote: > > Hi All, > > > > I have a problem using SOLR

Re: Urgent: SOLR Indexing missing tokens

2010-01-19 Thread Kranti™ K K Parisa
Hi Mark, As you see my config file contains the value as 10,000 1 But when I check thru Lukeall jar file I can see the Term count around 3,000. Please suggest. Best Regards, Kranti K K Parisa 2010/1/19 Mark Miller > It limits the number of tokens that will be indexed. > > Kr

Re: Urgent: SOLR Indexing missing tokens

2010-01-19 Thread Kranti™ K K Parisa
Hi Mark, I changed the value to 1,000,000,000 to just test my luck. But unfortunately I am still not getting the index for all Token. Please suggest. Best Regards, Kranti K K Parisa 2010/1/19 Kranti™ K K Parisa > Hi Mark, > > As you see my config file contains the value as 10,00

Re: Urgent: SOLR Indexing missing tokens

2010-01-19 Thread Kranti™ K K Parisa
Can anyone suggest/guide me on this. Best Regards, Kranti K K Parisa 2010/1/19 Kranti™ K K Parisa > Hi Mark, > > I changed the value to 1,000,000,000 to just test my luck. > > But unfortunately I am still not getting the index for all Token. > > Please suggest. > >

Re: Urgent: SOLR Indexing missing tokens

2010-01-19 Thread Kranti™ K K Parisa
the index to perform the search. What would be the suggestible Analyzers, filters that I should check with? Currently I am using the following: Please suggest Best Regards, Kranti K K Parisa On Tue, Jan 19, 2010 at 9:03 PM, Erick Erickson

Re: Urgent: SOLR Indexing missing tokens

2010-01-19 Thread Kranti™ K K Parisa
rick. I appreciate your help. <http://search.lucidimagination.com/search/document/30616a061f8c4bf6/solr_ignoring_maxfieldlength> Best Regards, Kranti K K Parisa 2010/1/19 Kranti™ K K Parisa > Hi Erik, > > Yes, i deleted the index and re-indexed after increasing the value (i have

SOLR indexing : Multiple content/document types

2010-01-23 Thread Kranti™ K K Parisa
/document types Best Regards, Kranti K K Parisa

Re: Best OCR API for solr

2010-02-04 Thread Kranti™ K K Parisa
yes tika indexes all formats. but i am specifically looking for OCR (thru java) atleast for PDF or JPEG images any clues? Best Regards, Kranti K K Parisa On Thu, Feb 4, 2010 at 8:29 PM, mike anderson wrote: > There might be an OCR plugin for Apache Tika (which does exactly this out &

multivalued : how to get file names

2010-02-16 Thread Kranti™ K K Parisa
store the file name also as a field to get the file names, but how does that work with multivalued fields. Is there any way to achieve this? One way could be indexing solr input documents for each file, but my concern is that would duplicate the other form fields data. Best Regards, Kranti K K

Re: multivalued : how to get file names

2010-02-16 Thread Kranti™ K K Parisa
nd of wrapper would help all others for these kind of requirements. Best Regards, Kranti K K Parisa On Tue, Feb 16, 2010 at 9:02 PM, Erick Erickson wrote: > Unless you have *evidence* that the indexing each pdf with > the form data as a single SOLR document is a problem, > I would

Simultaneous Writes to Index

2010-03-02 Thread Kranti™ K K Parisa
actions, as there would be some delay, users cant see the data they saved in their repository until its indexed. that is the reason I am planning to use SOLR xml post request to update the index silently but how about multiple users writing on same index? Best Regards, Kranti K K Parisa

Re: Simultaneous Writes to Index

2010-03-02 Thread Kranti™ K K Parisa
Hi Ron, Thanks for the reply. So does this mean that writer lock is nothing to do with concurrent writes? Best Regards, Kranti K K Parisa On Tue, Mar 2, 2010 at 4:19 PM, Ron Chan wrote: > as long as the document id is unique, concurrent writes is fine > > if for same reason the sa

Re: Simultaneous Writes to Index

2010-03-02 Thread Kranti™ K K Parisa
and also about the time when two update requests come at the same time. Then whichever request comes first will be updating the index while other requests wait until the locktimeout that we have configured?? Best Regards, Kranti K K Parisa 2010/3/2 Kranti™ K K Parisa > Hi Ron, > &g

Update Index : Updating Specific Fields

2010-03-03 Thread Kranti™ K K Parisa
specified for F2? Best Regards, Kranti K K Parisa

Re: Update Index : Updating Specific Fields

2010-03-04 Thread Kranti™ K K Parisa
may be this is one very imp feature to be considered for next releases of SOLR. sometimes these kind of cases would come up. Best Regards, Kranti K K Parisa On Thu, Mar 4, 2010 at 3:01 PM, Andrzej Bialecki wrote: > On 2010-03-04 07:41, Walter Underwood wrote: > >> No. --wund

Re: Faceted search in 2 indexes

2010-03-05 Thread Kranti™ K K Parisa
again, we have to display the results along with the tags attached by that user (previously). and also display some facets for the tags. please give some ideas/suggestions. Best Regards, Kranti K K Parisa 2010/2/23 André Maldonado > Hi all. > > I have 2 indexes with some similar fields

SOLR Search Query : Exception : Software caused connection abort: recv failed

2010-03-10 Thread Kranti™ K K Parisa
java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:416) ... 5 more = Best Regards, Kranti K K Parisa

Multiple SOLR queries on same index

2010-03-11 Thread Kranti™ K K Parisa
Hi, Is it possible to execute multiple SOLR queries (basically same structure/fields but due to the headersize limitations for long query URLs, thinking of having multiple SOLR queries) on single index like a batch or so? Best Regards, Kranti K K Parisa

Best Practices for Runtime Index Updates

2010-03-11 Thread Kranti™ K K Parisa
Hi, What are the Best Practices for Runtime Index Updates? Means we have index and user may add some data like tags, notes..etc to each solr document. during this scenario how quick we could update the index, and how quick we could show the updates to the end user on UI? Best Regards, Kranti K K

Re: Apache or Nginx In front of SOLR?

2010-05-25 Thread Kranti™ K K Parisa
Thanks Paul, I shall continue doing some more R&D with your inputs. Best Regards, Kranti K K Parisa On Tue, May 25, 2010 at 12:54 PM, Paul Dhaliwal wrote: > It depends on what kind of load you are talking about and what your > expertise is. > > NGINX does perform better than