Re: KeepwordFilter issue

2015-06-12 Thread Upayavira
Facets use indexed terms, search results return stored terms before analysis. If you want to *store* the results of analysis, then you'll need to do it in an analysis chain. I do recall Chris Hosstetter (Hossman) giving a presentation about how to do this, but I don't recall where that was :-( Hope

Re: KeepwordFilter issue

2015-06-12 Thread Ahmet Arslan
Hi, Then, you need to perform filtering in an update processor for example. https://cwiki.apache.org/confluence/display/solr/Update+Request+Processors Ahmet On Friday, June 12, 2015 9:26 AM, vineet yadav wrote: Hi, I am using keepword filter to identify key phrases. I have made following sc

Issues with using Paoding to index Chinese characters

2015-06-12 Thread Zheng Lin Edwin Yeo
I'm trying to use Paoding to index Chinese characters in Solr. I'm using Solr 5.1, have downloaded the dictionary to shard1\dic and shard2\dic, and have configured the following in schema,xml I've also included -DPAODING_DIC_HOME=/dic during my startup of Solr However, when I tried to start

Solr result with Intersects QUery is unexpected

2015-06-12 Thread Novin
Hello, I am doing Intersect query and I am getting unexpected results. Details is below: Below is the solr schema definition I am using for indexing polygons. class="solr.SpatialRecursivePrefixTreeFieldType" spatialContextFactory="com.spatial4j.core.context.jts.JtsSpatialContextFactory"

Solr Exact match boost Reduce the results

2015-06-12 Thread JACK
I have two fields, one is copy field. I have to get Exact match results first along with entire result of fuzzy search. Its filed definition is given below

Re: Merging Sets of Data from Two Different Sources

2015-06-12 Thread Alessandro Benedetti
Hi Paden, probably you don't even need to customise the DIH. I would give it a try. To answer your question , yes, federated search is definitely possible with Solr in simple ways Cheers 2015-06-11 22:36 GMT+01:00 Reitzel, Charles : > Yes. Typically, the content file is used to populate a sing

Re: Issues with using Paoding to index Chinese characters

2015-06-12 Thread Upayavira
Not knowing anything about paoding, it seems that this library isn't compatible with the current version of Solr/Lucene. Have a look at the version that it was compiled for. Having looked at the date of the latest download (2008) Lucene has changed a LOT since then, so some conversion work will def

Re: KeepwordFilter issue

2015-06-12 Thread Erik Hatcher
I detailed using a JavaScript update processor to run code through (the KeepWordFilter too) analysis and setting the stored field values to the extracted tokens here: http://www.slideshare.net/erikhatcher/solr-indexing-and-analysis-tricks

Re: Solr Exact match boost Reduce the results

2015-06-12 Thread Alessandro Benedetti
Hi jack, do you mean exact match over the synonyms ? In that case, with your Analyzer you are not going to be able to see that. You apply index analysis synonym expansion. So for your Index there is no difference between the synonyms, there is no "exact match" . In this case I would suggest you to

Query regarding scorejoin query parser

2015-06-12 Thread Neeraj Lajpal
Hi, I am using scorejoin query parser: https://issues.apache.org/jira/browse/SOLR-6234 I have a doubt regarding query time join.Example:I have the document structure like this:parent1: id, important_categorychild1: id, _root_,brandidchild2:id,_root_,brandid _root_ field of child doc contains val

Re: How to index/search without whitespace but hightlight with whitespace?

2015-06-12 Thread Alessandro Benedetti
Can you show a practical example of what do you get ? Highlight is calculated on stored fields, and the term offset and position if calculated , should be ok ! Let me know Cheers 2015-06-11 18:50 GMT+01:00 Travis : > Hey everyone! > > I'm trying to setup a Solr instance on some free text clinic

Re: Solr Exact match boost Reduce the results

2015-06-12 Thread JACK
Hi Alessandro Benedetti , What i meant is that suppose if i have items like this dell laptop with bag dell laptop dell laptop without bag dell inspiron laptop with bag if i query for "dell laptop", the result should be like this dell laptop dell laptop with bag dell laptop without bag dell inspir

Re: Solr Exact match boost Reduce the results

2015-06-12 Thread Alessandro Benedetti
Are we talking about a title field ? Querying only that title field ? And the texts you put are the titles ? If this is the case and you are not omitting norms ( because norms boost short field containing the query terms). The second results should be the ones expected. Can you describe a little

Re: Have anyone used Automatic Phrase Tokenization (AutoPhrasingTokenFilterFactory) ?

2015-06-12 Thread larry
Is anyone successfully using AutoPhrasingTokenFilterFactory on Solr 5? Sent from Windows Mail

Division with Stats Component when Grouping in Solr

2015-06-12 Thread kingofhypocrites
I am migrating a database from SQL Server to Cassandra. Currently I have a setup as follows: - Log data in Cassandra - Summarize data in Spark and put into Cassandra summary tables - Query data in Solr Everything fits beautifully until I need to do stats on groups. I am hoping to get this to work

Custom Function for date reformatting

2015-06-12 Thread simon
Has anyone written a Solr function which will reformat Solr's ISO8601 Date fields and could be used to generate pseudo-fields in search results ? I am converting existing appplications that have baked-in assumptions that dates are in the format -mm-dd to use Solr, and tracking down every plac

Re: Solr Exact match boost Reduce the results

2015-06-12 Thread JACK
Hi, I have to search on the field product_name.It is found that in order to get exact matches first, I made one copy field named as dummy_name with the above field definition.And while query, just boost the copy field. I done this. So as to get exact matches I need to put quotes around the search w

Re: Solr Exact match boost Reduce the results

2015-06-12 Thread JACK
The quoted search words will be different and it will be any word or more than one word. In the query it's just example -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Exact-match-boost-Reduce-the-results-tp4211352p4211410.html Sent from the Solr - User mailing list ar

Re: Custom Function for date reformatting

2015-06-12 Thread Jack Krupansky
Sounds like a good addition to Solr. A document transformer would be the better choice. See: https://cwiki.apache.org/confluence/display/solr/Transforming+Result+Documents The primary purpose of a function query is to affect relevance, although, yes, they can sort of be (mis)used as document tran

Re: Division with Stats Component when Grouping in Solr

2015-06-12 Thread Joel Bernstein
https://issues.apache.org/jira/browse/SOLR-7560, will almost support this in Solr 5.3. The compound function support won't be there yet though. But it will be there in the near future. Joel Bernstein http://joelsolr.blogspot.com/ On Fri, Jun 12, 2015 at 9:30 AM, kingofhypocrites < kingofhypocri

Re: Division with Stats Component when Grouping in Solr

2015-06-12 Thread Joel Bernstein
If you are a java programmer you may want to look at plugging in your own custom Streams into the Streaming API. The SQL stuff is built on top of the Streaming API. http://joelsolr.blogspot.com/2015/04/the-streaming-api-solrjio-basics.html Joel Bernstein http://joelsolr.blogspot.com/ On Fri, Jun

Re: Solr Exact match boost Reduce the results

2015-06-12 Thread Alessandro Benedetti
I did a simple test using out of the Box Edismax ( not even configuring specific params or the phrase field). As expected the exact match comes first. This is because of the norms and the natural way the Edismax boost exact matches. Are you sure you are using a proper query parser ? I did nothing

Pretty Print segments_N

2015-06-12 Thread Mike Drob
I'm doing some debugging work on a solr core, and would find it useful to be able to pretty print the contents of the segments_N file in the index. Is there already good functionality for this, or will I need to write up my own utility using SegmentInfos? Thanks, Mike

Re: Solr Exact match boost Reduce the results

2015-06-12 Thread JACK
As explained above, actually I have around 10 lack data not 5 row. It's not about synonyms . When I checked in the FAQ page of Solr wiki, it is found that if we need to get exact match results first, use a copy field with different configuration. That's why I followed this way. -- View this mes

Re: Division with Stats Component when Grouping in Solr

2015-06-12 Thread Chris Hostetter
: However, I need to do able to divide certain metrics. I tried including : functions in the stats.field such as div(sum(bounce_rate), (sum(visits)) but : it doesn't recognize the functions. Also it seems to ignoring the paging for : the stats results and returns all groups regardless. i'm lost o

RE: Solr Exact match boost Reduce the results

2015-06-12 Thread Andrew Chillrud
If I understand you correctly you want to boost the score of documents where the contents of the product_name field match exactly (other than case) the query string. I think what you need is for the dummy_name field to be non-tokenized (indexed as a single string rather than parsed into individ

facet name using {!key} doesn't work for interval facets

2015-06-12 Thread Phanindra R
Hi, According to https://cwiki.apache.org/confluence/display/solr/Faceting#Faceting-IntervalFaceting, a facet name could be assigned to interval facets, which then replaces the field name as the facet name in the response. The syntax I used: facet.interval={!key=myName}myField But Solr 4.10

What's not a valid attribute data in Solr's schema.xml and solrconfig.xml

2015-06-12 Thread Steven White
Hi, I'm trying to sort out what's not valid in Solr's files. For example, the following request-handler will cause Solr to fail to load (notice the missing "/" from "987" in the 'name'): But having a name with a space, such as "/ 987" or "/ 1 2 3 " works. This is one example, but my ques

Re: What's not a valid attribute data in Solr's schema.xml and solrconfig.xml

2015-06-12 Thread Shawn Heisey
On 6/12/2015 12:24 PM, Steven White wrote: > I'm trying to sort out what's not valid in Solr's files. For example, the > following request-handler will cause Solr to fail to load (notice the > missing "/" from "987" in the 'name'): > > > > > But having a name with a space, such as "/ 987" or

Re: facet name using {!key} doesn't work for interval facets

2015-06-12 Thread Upayavira
This is mentioned in the release notes for 5.2, i.e. the instructions mentioned on that page will only work on 5.2+. When looking at the cwiki ref guide, remember that that is the development location for the Solr Reference Guide, so invariably refers to an as yet to be released version of Solr. Y

Re: What's not a valid attribute data in Solr's schema.xml and solrconfig.xml

2015-06-12 Thread Steven White
You are right. If I use "solr.SearchHandler" it works, but if I use "solr.admin.AdminHandlers" like so: Solr reports this error: HTTP ERROR 500 Problem accessing /solr/db/config/requestHandler. Reason: {msg=SolrCore 'db' is not available due to init failure: The AdminHandler needs t

Re: What's not a valid attribute data in Solr's schema.xml and solrconfig.xml

2015-06-12 Thread Shawn Heisey
On 6/12/2015 1:02 PM, Steven White wrote: > You are right. If I use "solr.SearchHandler" it works, but if I > use "solr.admin.AdminHandlers" like so: > > > > > Solr reports this error: > > HTTP ERROR 500 > > Problem accessing /solr/db/config/requestHandler. Reason: > > {msg=SolrCore 'db'

Re: What's not a valid attribute data in Solr's schema.xml and solrconfig.xml

2015-06-12 Thread Erik Hatcher
Do note that AdminHandler*s* (plural) is "* A special Handler that registers all standard admin handlers”, so if you’re trying to do something tricky with admin handlers, Note that AdminHandlers is also deprecated and these admin handlers are implicitly registered with ImplicitPlugins these day

Re: facet name using {!key} doesn't work for interval facets

2015-06-12 Thread Phanindra R
Thanks. Looked at all version specific documentation from 4.10 and the {!key} feature for interval facets is implemented in 5.1. On Fri, Jun 12, 2015 at 12:03 PM, Upayavira wrote: > This is mentioned in the release notes for 5.2, i.e. the instructions > mentioned on that page will only work on 5

Re: What's not a valid attribute data in Solr's schema.xml and solrconfig.xml

2015-06-12 Thread Steven White
Thank you Erik and Shawn for your support. I'm using Solr's Schema API and Config API to manage and administer a Solr deployment based on customer specific setting that my application will need to do to a Solr deployment. A client application will be using my APIs and as part of data validation,

Re: What's not a valid attribute data in Solr's schema.xml and solrconfig.xml

2015-06-12 Thread Shawn Heisey
On 6/12/2015 3:30 PM, Steven White wrote: > Thank you Erik and Shawn for your support. > > I'm using Solr's Schema API and Config API to manage and administer a Solr > deployment based on customer specific setting that my application will need > to do to a Solr deployment. A client application wil

Re: What's not a valid attribute data in Solr's schema.xml and solrconfig.xml

2015-06-12 Thread Steven White
Thanks Shawn. Steve On Fri, Jun 12, 2015 at 6:00 PM, Shawn Heisey wrote: > On 6/12/2015 3:30 PM, Steven White wrote: > > Thank you Erik and Shawn for your support. > > > > I'm using Solr's Schema API and Config API to manage and administer a > Solr > > deployment based on customer specific sett

How to split using multiple parameters

2015-06-12 Thread Sandeep Mellacheruvu
Hi, I have a json document which has multiple json arrays and inner json objects. From the documentation it seems like there is only one split parameter. Following is the sample JSON that I have. Can anyone help me in splitting this json ? Also I do not need some of the fields like websites, so c

Re: AngularJS

2015-06-12 Thread William Bell
1. With the angular index.html, when selecting a CORE, the right side of the screen does not refresh and show info for the core I selected. 2. It looks like it just needs whitespace Fetched : 11,310 251/s On Wed, Jun 10, 2015 at 3:28 AM, Upayavira wrote: > > > On Wed, Jun 10, 2015, at 05:52 AM

Re: Pretty Print segments_N

2015-06-12 Thread Michał B . .
Hi, Please look at the SegmentsInfoHandler and visualisation in AdminUi added in Solr 5. Maybe you could use some of informations already exposed by this Api or simply find a good place to put your changes. I'm pretty much responsible for this code so if you'll have some questions feel free to a

How to use https://issues.apache.org/jira/browse/SOLR-7274

2015-06-12 Thread William Bell
How do you set this up? -- Bill Bell billnb...@gmail.com cell 720-256-8076