Need feedback: Browsing and searching solr-user list emails

2014-02-10 Thread Durgam Vahia
Hi Solr-users, I wanted to get your thoughts/feedback on a potentially useful way to browse and search prior email conversations in solr-users@lucenedistribution list. http://www.signaldump.org/solr/qpod/ In a nutshell, this is a Q&A engine like StackExchange (SE) auto-populated with solr-users@

Re: FuzzyLookupFactory with exactMatchFirst not giving the exact match.

2014-02-10 Thread Areek Zillur
Dont worry about the analysis chain, I realized you are using the spellcheck component for suggestions. The suggestion gets returned from the Lucene layer, but unfortunately the Spellcheck component strips the suggestion out as it is mainly built for spell checking (when the query token == suggesti

Re: FuzzyLookupFactory with exactMatchFirst not giving the exact match.

2014-02-10 Thread Areek Zillur
That should not be the case, Maybe the analysis-chain of 'text_spell' is doing something before the key hits the suggester (you want to use something like KeywordTokenizerFactory)? Also maybe specify the queryAnalyzerFieldType in the suggest component config? you might want to do something similar

Re: Indexing question on individual field update

2014-02-10 Thread Erick Erickson
I'm assuming you're using the atomic update feature to update the individual field, why not use it when you replace the rest of the doc? Best, Erick On Mon, Feb 10, 2014 at 5:20 PM, Shamik Bandopadhyay wrote: > Hi, > > I'm currently indexing a bunch of fields for a given document. For e.g. >

Re: FuzzyLookupFactory with exactMatchFirst not giving the exact match.

2014-02-10 Thread Hamish Campbell
Same issue with AnalyzingLookupFactory - I'll get autocomplete suggestions but not the original query. On Tue, Feb 11, 2014 at 1:57 PM, Areek Zillur wrote: > The FuzzyLookupFactory should accept all the options as that of as > AnalyzingLookupFactory ( > > http://lucene.apache.org/solr/4_2_1/sol

Indexing question on individual field update

2014-02-10 Thread Shamik Bandopadhyay
Hi, I'm currently indexing a bunch of fields for a given document. For e.g. let's assume there's a field called "rating". The rating field is not part of the original document during index, so the value is blank. The field gets updated by an external service when the document is rated by users.

Re: FuzzyLookupFactory with exactMatchFirst not giving the exact match.

2014-02-10 Thread Areek Zillur
The FuzzyLookupFactory should accept all the options as that of as AnalyzingLookupFactory ( http://lucene.apache.org/solr/4_2_1/solr-core/org/apache/solr/spelling/suggest/fst/AnalyzingLookupFactory.html). [FuzzySuggester is a direct subclass of the AnalyzingSuggester in lucene]. Have you tried the

Re: java.lang.IllegalArgumentException when using SolrJ CloudSolrServer

2014-02-10 Thread Shawn Heisey
On 2/10/2014 5:05 PM, jfeist wrote: I'm using Solr 4.5.1 and trying to use the SolrCloud setup. I have Zookeeper and Solr running on three machines. I have some Java code that does the following. SolrServer ss = new CloudSolrServer("http://localhost:8983/solr/collection1";); ss.deleteByQuery("

java.lang.IllegalArgumentException when using SolrJ CloudSolrServer

2014-02-10 Thread jfeist
I'm using Solr 4.5.1 and trying to use the SolrCloud setup. I have Zookeeper and Solr running on three machines. I have some Java code that does the following. SolrServer ss = new CloudSolrServer("http://localhost:8983/solr/collection1";); ss.deleteByQuery("*:*"); That gives me the following s

Re: positionIncrementGap in schema.xml - Doesn't seem to work

2014-02-10 Thread Jack Krupansky
Try the complex phrase query parser: https://issues.apache.org/jira/browse/SOLR-1604 Or in LucidWorks Search you can say: J* NEAR:5 K* -- Jack Krupansky -Original Message- From: Kashish Sent: Monday, February 10, 2014 6:12 PM To: solr-user@lucene.apache.org Subject: Re: positionIncr

Re: positionIncrementGap in schema.xml - Doesn't seem to work

2014-02-10 Thread Kashish
Hi Jack, This works perfect. But the trouble comes when i query for wild cards. In that case i will not be using double quotes. So in that case what should i do? Thanks. On Mon, Feb 10, 2014 at 1:18 PM, Jack Krupansky-2 [via Lucene] < ml-node+s472066n4116558...@n3.nabble.com> wrote: > Use "slop

Re: FuzzyLookupFactory with exactMatchFirst not giving the exact match.

2014-02-10 Thread Hamish Campbell
Looking at: http://lucene.apache.org/solr/4_2_1/solr-core/org/apache/solr/spelling/suggest/fst/FuzzyLookupFactory.html It seems that exactMatchFirst is not a valid option for FuzzyLookupFactory. Potential workarounds? On Mon, Feb 10, 2014 at 5:04 PM, Hamish Campbell < hamish.campb...@koordinate

Re: positionIncrementGap in schema.xml - Doesn't seem to work

2014-02-10 Thread Jack Krupansky
Use "sloppy phrase search". Treat a query without quotes as if quoted and then add a phrase qyery slop parameter that is no more that the position increment gap. For example, Treat: Eric solrUser as: "Eric solrUser"~100 That should not match your second document. But, "Eric solrUser"~102

Re: positionIncrementGap in schema.xml - Doesn't seem to work

2014-02-10 Thread Nirali Mehta
Erick, Here is the example. There is a multivalued field 'name'. 1 document has following fields 1. Erick Erickson 2. Kashish Solruser 3. Some other user 2nd doc has following fields. 1. Erickson Eric 2. SolrUser Kashish Now we have designed our app in such a way that -> if the user gives any in

Re: positionIncrementGap in schema.xml - Doesn't seem to work

2014-02-10 Thread Erick Erickson
Nirali: I really have no clue what you're trying to accomplish. Some examples of inputs and outputs would help. I really don't understand what multivalued fields have to do with your problem statement, it seems like you're getting the expected behavior. What's happening that shouldn't? Joins don'

Re: List and Edit Config Files at Zookeeper from a Client Application

2014-02-10 Thread Furkan KAMACI
Hi; I've read similar threads and implemented a solution. I think that it maybe useful for anybody else so I write down what I did: public class ResourceUpdater { public static void updateJsonFileInZk(CloudSolrServer cloudSolrServer, String zkFilePath, String filePath) throws IOException, Kee

Re: Facet optimization for facet.method=enum and "exists" case

2014-02-10 Thread Erick Erickson
Alexey: There's no need to wait to create a JIRA! It's perfectly reasonable to create it and attach a patch before it's completely polished. People often include a note when posting the patch like "for review, not ready for commit". Also, including comments in the code like //nocommit will cause i

Re: SolrCloud how to spread out to multiple nodes

2014-02-10 Thread Jeff Wartes
If you¹re only concerned with moving your shards, (rather than changing the number of shards), I¹d: 1. Add a new server and fire up Solr pointed to the same ZooKeeper with the same config At this point the new server won¹t be indexing anything, but will still technically be part of the SolrCloud

Re: positionIncrementGap in schema.xml - Doesn't seem to work

2014-02-10 Thread Nirali Mehta
Erick, I understand what you explaining to me. Let em point out few stuffs that i face W.R.T my field type that i mentioned in my first mail. 1. If the user explicityly gives double quotes, we search for exact phrases in exact order. 2. If they don't, its understood that they would just want those

Facet optimization for facet.method=enum and "exists" case

2014-02-10 Thread Alexey Kozhemiakin
Dear All, Background: We have a dataset containing hundreds of millions of records, we facet by dozens of fields with many of facet-excludes and have relatively small number of unique values in fields, around thousands. Before executing search, our users work with "advanced search" and goal is t

Re: positionIncrementGap in schema.xml - Doesn't seem to work

2014-02-10 Thread Erick Erickson
OK, nothing in that parsed query will respect positionIncrementGap. That is only relevant for _phrase_ queries and has no relevance to regular Boolean queries. Using positionIncrementGap to keep matches from occurring across the gaps in multiValued field requires phrases and slop. I.e. lets say yo

Re: Solr Error msg

2014-02-10 Thread Erick Erickson
Seems like this would be a more appropriate question for ht eYaCy folks. Best, Erick On Sun, Feb 9, 2014 at 7:15 PM, Smoking Wheels wrote: > Hi this is the error running on YaCy 1.67 9868. > I put my computer into standby last night then upgraded Yacy after resume. > > Regards > > Greg Smith >

SolrCloud - ResultContext versus SolrDocumentList in distributed mode

2014-02-10 Thread Elodie Sannier
Hello, I am using SolrCloud 4.5.1 with one shard and three replicas and I am using the distributed mode. I am using a custom SearchHandler which makes two sub-queries and merges the responses. When I merge the SolrQueryResponse objects I do the following casting : SolrDocumentList firstResponseS

Re: Problem querying large StrField?

2014-02-10 Thread Yonik Seeley
On Mon, Feb 10, 2014 at 12:42 AM, Luis Lebolo wrote: > For this to > work, we concatenated all the id's into a single comma delimited value. It doesn't sound like you need the resulting big value to be indexed. All you need to do is retrieve it relatively quickly and do your own matching logic on

Re: Set field boost with dataImportHandler

2014-02-10 Thread Alexandre Rafalovitch
Oops, sorry. I missed the 'Field' part. I wonder if that's something that can be done with Transformers? An alternative could be having a 'text_boost' field next to 'text' field and using a custom UpdateRequestProcessor to merge the fields into one boosted version. Regards, Alex. Personal web

Re: Set field boost with dataImportHandler

2014-02-10 Thread Shalin Shekhar Mangar
Field level boosts are not supported by DIH. Can you open a jira issue? On Mon, Feb 10, 2014 at 4:23 PM, Viva Daniele wrote: > Hi guys, > > I’m using dataimporthandler. > > i need to set a field boost at index time but i need to set it dynamically. > This is what i’m truing to do: > > qu

Re: Set field boost with dataImportHandler

2014-02-10 Thread Alexandre Rafalovitch
Have you looked at $docBoost in the DIH documentation: https://wiki.apache.org/solr/DataImportHandler#Special_Commands ? Personal website: http://www.outerthoughts.com/ LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch - Time is the quality of nature that keeps events from happening all at

Re: Problem querying large StrField?

2014-02-10 Thread Jack Krupansky
What does each document represent? What concept is holding all these entities together? The standard approach to true many-to-many relationships in Solr is to denormalize - each document would represent one relationship and have an ID field that links the relationship to whatever each of your

Set field boost with dataImportHandler

2014-02-10 Thread Viva Daniele
Hi guys, I’m using dataimporthandler. i need to set a field boost at index time but i need to set it dynamically. This is what i’m truing to do: Please, do you have any suggest? Thanks.

Spatial Score by overlap area

2014-02-10 Thread geoport
Hi, i am using solr 4.6 and i´ve indexed bounding boxes. Now, i want to test the "area overlap sorting" link (slide 23), have some of you an example for me?Thanks for helping me. -- View this message in con