highlighting of text field in Japanese

2012-09-13 Thread Chau_Fu
Hi, I am very new for Solr. I am using edismax that combines two fieldTypes of CJKTokenizer and GosenTokenizer to query for japanese text. but do not how to set the hl.fl of highlightcomponent for the two fieldTypes with the same contents. Could you guys offer me some advice please? Regards,

Re: Can i have more than one field as defaultSearchField in schema.xml

2012-09-13 Thread Jochen Just
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 14.09.2012 07:30, schrieb veena rani: > Hi, > > Can i have more than one field as defaultSearchField in > schema.xml. This is my default search field in solr, If you want to search in more than one filed the Edismax-Parser (http://wiki.apache.org/s

RE: Can i have more than one field as defaultSearchField in schema.xml

2012-09-13 Thread Harshvardhan Ojha
Hi Veena, No you can't have more than one field as defaultSearchField, instead you can use copy field. Regards Harshvardhan Ojha -Original Message- From: veena rani [mailto:veenara...@gmail.com] Sent: Friday, September 14, 2012 11:01 AM To: solr-user@lucene.apache.org Subject: Can i ha

Re: Solr 4.0-BETA facet pivot returns no result

2012-09-13 Thread andy
I got the answer,apache-solr-4.0.0-BETA.tgz is OK, I used the apache-solr-4.0.0-BETA.zip before -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-4-0-BETA-facet-pivot-returns-no-result-tp4007133p4007680.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr 4.0-BETA facet pivot returns no result

2012-09-13 Thread andy
the version info as follows 4.0.0.2012.08.06.22.50.47 4.0.0-BETA 1370099 - rmuir - 2012-08-06 22:50:47 4.0.0-BETA 4.0.0-BETA 1370099 - rmuir - 2012-08-06 22:44:25 Chris Hostetter-3 wrote > > are you absolutely certain you are using the 4.0-BETA? > > I just tried that exact URL using hte samp

dih groovy script question

2012-09-13 Thread Moore, Gary
I'm a bit stumped as to why I can't get a groovy script to run from the DIH. I'm sure it's something braindead I'm missing. The script looks like this in data-config.xml:

Re: N-gram ranking based on term position

2012-09-13 Thread Chris Hostetter
: Since Edge N-gram tokens are a subset of N-gram tokens, I was wondering if : I could be a bit more space efficient. the use of edgengrams is really a question of your goal and wether having terms for those overlaping ngram tokens is what you want. If you just want to match the existing terms

Re: How to know the indexversion when sending a document ?

2012-09-13 Thread Chris Hostetter
: When I index a document in Solr, I do not commit immediately after, I use : the autoCommit feature. : But I would like to know in which index's version the document will be : available. Is that possible to get this information in the HTTP response : when sending the document to index ? No, that

Re: Is it possible to do an "if" statement in a Solr query?

2012-09-13 Thread Chris Hostetter
: But when i search for some medicine, following my business rules, i have to : verify if the result of my search contains any Original medicine, if there : is any, then i wouldn't show the generics of this respective medicine, on : the other hand, if there wasnt any original product in the resul

Re: Re: Schema model to store additional field metadata

2012-09-13 Thread Chris Hostetter
: So, let's assume you want to provide links to the images. : Having a field (multiValued?) with index="false" and stored="true" : would allow you to store all the img urls in a single field. : : All that said, now it's up to your application layer that : constructs the pages for presentation to

Re: Solr 4.0-BETA facet pivot returns no result

2012-09-13 Thread Chris Hostetter
: I use the Solr 4.0-BETA version, my request url is : http://localhost:8983/solr/collection1/select?q=*%3A*&rows=0&wt=xml&facet.pivot=cat,popularity,inStock&facet.pivot=popularity,cat&facet=true&facet.field=cat&facet.pivot.mincount=0 : : but I do not get any facet pivot info in the result are

Re: Hey solr-user MODERATOR (was: Re: failure notice from zju.edu.cn)

2012-09-13 Thread Chris Hostetter
: Same here. Changed subject to attract more attention. For the record: the appropriate way to contact the moderators of any apache mailing list is by sending an email to listname-owner@host (ie: solr-user-owner@lucene) This particula situation has already been dealt with. -Hoss

Re: Cannot insert text into solr.StrField field

2012-09-13 Thread Dotan Cohen
On Fri, Sep 14, 2012 at 1:00 AM, Jack Krupansky wrote: > Did you check the log file? > > How are you adding data to Solr? Show us the actual input document or code. > The Solr instances on Websolr. I will put in a feature request for that, though. I am adding the documents with Solr-PHP-Client. I

Re: AW: Getting more proper results

2012-09-13 Thread Jack Krupansky
Set minGramSize="1" for EdgeNGramFilterFactory. And use EdgeNGramFilterFactory in the "index" analyzer only, NOT in the "query" analyzer. Check the "query" analyzer output in Solr admin as well. -- Jack Krupansky -Original Message- From: Ramo Karahasan Sent: Thursday, September 13,

Re: Cannot insert text into solr.StrField field

2012-09-13 Thread Jack Krupansky
Did you check the log file? How are you adding data to Solr? Show us the actual input document or code. -- Jack Krupansky -Original Message- From: Dotan Cohen Sent: Thursday, September 13, 2012 5:31 PM To: solr-user@lucene.apache.org Subject: Cannot insert text into solr.StrField fi

AW: Getting more proper results

2012-09-13 Thread Ramo Karahasan
If i choose "title" and search for "iphone 3" in the /admin/analysis.jsp I get the following results for search "iphone 3" Index Analyzer iphone 3 ip iph iphoiphon iphone ip iph iphoiphon iphone if I search for "iphone 3g" I get Index Analyzer iphone 3g ip

Re: Getting more proper results

2012-09-13 Thread Michael Della Bitta
Ramo, You can see how your content gets analyzed for your particular schema/field on the Analysis page: ${path to your core}/admin/analysis.jsp Michael Della Bitta Appinions | 18 East 41st St., Suite 1806 | New York, NY 10017 www.appinions.com Wh

Re: Getting more proper results

2012-09-13 Thread Ramo Karahasan
How can i check this? Am 13.09.2012 21:48 schrieb "Otis Gospodnetic" : > Check if 3 is being removed because it's a stop word. > > Otis > -- > Search Analytics - http://sematext.com/search-analytics/index.html > Performance Monitoring - http://sematext.com/spm/index.html > > > On Thu, Sep 13, 2012

RE: failure notice from zju.edu.cn

2012-09-13 Thread Chris Hostetter
: I get the same thing, after nearly every email I send directly to the : lucene/solr lists (as opposed to auto-sent JIRA posts). FWIW: I've never seen this, so i suspect it has something to do with the mail properties -- probably a SPAM filter that lies to you about why it's rejecting your ma

Re: MultiSearchHandler - Boosting results of a Query

2012-09-13 Thread Mikhail Khludnev
1. please explain how exactly "boost the value of a field in the 2nd based on the results of the 1st.". Please provide sample queries, docs and results. 2. introducing such chaining concern aka "* ResponseAware*" seems absolutely doubtful for me. 3. are you sure you are aware of tricks like http://

Re: Term searches with colon(:)

2012-09-13 Thread Jack Krupansky
Please provide the following information: 1. Which Solr release are you using? 2. The field type(s) that you are using. Give the full field type (not all of them, just what you are using.) 3. Add &debugQuery=true to your colon request to see what query gets generated - the "parsedquery". 4. A s

Re: Multiple structured datasource(rss,db,xml) in single schema.xml

2012-09-13 Thread nishi
Thanks Thomas. Appreciate your comments. These are my configurations : 1) solrconfig.xml innovation-data-config.xml db-data-config.xml 2) db-data-config.xml 3) innovation-data-config.xml http:

Re: Multiple structured datasource(rss,db,xml) in single schema.xml

2012-09-13 Thread Tomás Fernández Löbbe
Yes, you can have multiple handlers configured differently (for example, for different datasources), and call them as you want. As for the schema, you can also have different fields for the different document types, just make sure you have the uinique key and that you have a good way for searching

Re: Getting more proper results

2012-09-13 Thread Otis Gospodnetic
Check if 3 is being removed because it's a stop word. Otis -- Search Analytics - http://sematext.com/search-analytics/index.html Performance Monitoring - http://sematext.com/spm/index.html On Thu, Sep 13, 2012 at 11:22 AM, Ramo Karahasan wrote: > Hi, > > i can't figure it out why I'm getting t

Re: Multiple structured datasource(rss,db,xml) in single schema.xml

2012-09-13 Thread nishi
Can we have multi requestHandlers (for DIH) like one for db-source, another for rss article? And then can we have different field set in schema.xml to segregate the fields for rss and db seperately? So that when I run the dataimporthandler for db-source, it should index db records in the existing

Re: Multiple structured datasource(rss,db,xml) in single schema.xml

2012-09-13 Thread Tomás Fernández Löbbe
If you need to search across all the datasources together, the best choice is to use a single index (with a single schema). Just add all the fields from all the datasources (share the ones that are the same to some of them). When adding docs, just fill the fields that belong to each document type a

Multiple structured datasource(rss,db,xml) in single schema.xml

2012-09-13 Thread nishi
I am little new solr - I am running out of solution to index combination of rss articles and database table contents with the same schema.xml and data-config with multiple datasources (rss,db tables) etc. The functionality requirement is to able to search the keyword throughout indexed data (can

Re: Partial search

2012-09-13 Thread Mani
Thanks for your reply! The version I am using is 3.6. I have deleted the document and added it again as a single field. Now I see the result as expected. I am also using the standard stop word list. There is no stop words for both "Engergy" and "Field". The search field "text" is a copy field of

Re: MultiSearchHandler - Boosting results of a Query

2012-09-13 Thread Karthick Duraisamy Soundararaj
Clarification: " Once the parser is response aware, its easy for the components to grab the response and use them. " In the context of function queries, by components, I mean various Functions that has been extended from ValueSource. On Thu, Sep 13, 2012 at 3:02 PM, Karthick Duraisamy Soundararaj

MultiSearchHandler - Boosting results of a Query

2012-09-13 Thread Karthick Duraisamy Soundararaj
Hello all, I am making multiple queries in a single url and trying to boost the value of a field in the 2nd based on the results of the 1st. To achieve this, my function query should be able to have access to the response of the first query. However, QParser and QParserPlugin only a

Starting multiple cores/shards on a single node

2012-09-13 Thread JesseBuesking
I'm attempting a setup that assigns one shard per core, with multiple cores per node. What do I need to configure to get the initial solr node to start up with all cores/shards? What java parameters do I need to specify to the additional solr nodes that start after the initial (shardId=shard1,sha

Re: How to post atomic updates using xml

2012-09-13 Thread Jack Krupansky
It would be nice to get this doc added to the Update wiki: http://wiki.apache.org/solr/UpdateXmlMessages -- Jack Krupansky -Original Message- From: jimtronic Sent: Thursday, September 13, 2012 2:41 PM To: solr-user@lucene.apache.org Subject: Re: How to post atomic updates using xml A

Re: How to post atomic updates using xml

2012-09-13 Thread jimtronic
Actually, the correct method appears to be this: an atomic update in JSON: { "id" : "book1", "author" : {"set":"Neal Stephenson"} } the same in XML: book1 Neal Stephenson Jim -- View this message in context: http://lucene.472066.n3.nabble.com/How-to

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: Solr 4.0 Beta: Admin UI does not correctly implement dismax/edismax query

2012-09-13 Thread Tom Burton-West
Thanks Erik, Just found out that there is already a bug report for this open as https://issues.apache.org/jira/browse/SOLR-3811. Tom On Thu, Sep 13, 2012 at 12:52 PM, Erik Hatcher wrote: > That's definitely a bug. dismax=true is not the correct parameter to > send. Should be defType=dismax >

Re: Solr 4.0 Beta: Admin UI does not correctly implement dismax/edismax query

2012-09-13 Thread Erik Hatcher
That's definitely a bug. dismax=true is not the correct parameter to send. Should be defType=dismax Erik On Sep 13, 2012, at 12:22 , Tom Burton-West wrote: > Just want to check I am not doing something obviously wrong before I file a > bug ticket. > > In Solr 4.0Beta, in the admin UI

Solr 4.0 Beta: Admin UI does not correctly implement dismax/edismax query

2012-09-13 Thread Tom Burton-West
Just want to check I am not doing something obviously wrong before I file a bug ticket. In Solr 4.0Beta, in the admin UI in the Query panel,, there is a checkbox option to check dismax or edismax When you check one of those, text boxes for the dismax parameters are exposed. However, the query tha

AW: Getting more proper results

2012-09-13 Thread Ramo Karahasan
Hi, i can't figure it out why I'm getting the "wrong" resulst when searching for "iphone 3" even if the 3 is not in the titel of the books that are suggested. Can I specifiy the search somehow? The AND or OR operator didn't show any differences in the resultset. Thanks, Ramo -Ursprünglic

solr cross core join

2012-09-13 Thread davideFP
Hi, I have a problem with cross core join, there isn't documentation online and i hope in your help. This is my scenario: core1 / jobs: core2 / users: matching jobs.iduser = users.id I tried only for test this query on core jobs: fd={!join fromIndex=users fro

Re: Solr 4.0-BETA facet pivot returns no result

2012-09-13 Thread andy
nobody use this function yet? -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-4-0-BETA-facet-pivot-returns-no-result-tp4007133p4007476.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr - Add Single node from XPathEntityProcessor in multiple fields

2012-09-13 Thread Alexandre Rafalovitch
Sorry, I thought there would be an automatic conversion if you parsed into a Date field and then copyField into the text field. But perhaps the automatic conversion format would not be the way you want. Not entirely sure on copyField limitations (I only used simple case). Worst case, you can write

Re: Solr - Add Single node from XPathEntityProcessor in multiple fields

2012-09-13 Thread Bernd Fehling
Your own updateRequestProcessorChain called with "update.chain" from requestHandler of dataimport. Regards Bernd Am 13.09.2012 15:48, schrieb meghana: > > Alexandre Rafalovitch wrote >> >> copyField? >> >> Regards, >>Alex. >> Personal blog: http://blog.outerthoughts.com/ >> LinkedIn: http

Re: Is it possible to do an "if" statement in a Solr query?

2012-09-13 Thread Gustav
Walter Underwood wrote > > You may be able to do this with grouping. Group on the medicine "family", > and only show the Original if there are multiple items in the family. > > wunder > > On Sep 12, 2012, at 2:09 PM, Gustav wrote: > >> Hello everyone, I'm working on an e-commerce website and u

Re: Solr - Add Single node from XPathEntityProcessor in multiple fields

2012-09-13 Thread meghana
Alexandre Rafalovitch wrote > > copyField? > > Regards, >Alex. > Personal blog: http://blog.outerthoughts.com/ > LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch > - Time is the quality of nature that keeps events from happening all > at once. Lately, it doesn't seem to be working.

Re: Partial date searches

2012-09-13 Thread Jack Krupansky
Wildcard patterns work on dates if they are "string" fields. If your dates are "trie" dates (the default "date" field type now), you would need to do a copyField to a string field to do the wildcard match. Examples: -05-12* 2010-??-12* -- Jack Krupansky -Original Message-

Re: Solr - Add Single node from XPathEntityProcessor in multiple fields

2012-09-13 Thread Alexandre Rafalovitch
copyField? Regards, Alex. Personal blog: http://blog.outerthoughts.com/ LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch - Time is the quality of nature that keeps events from happening all at once. Lately, it doesn't seem to be working. (Anonymous - via GTD book) On Thu, Sep 13, 2

Solr - Add Single node from XPathEntityProcessor in multiple fields

2012-09-13 Thread meghana
Hi, I have one date field in my data source as of format below 'Apr 10 2012 10:30AM' Now i wanted to add this field 2 times in my solr index, one with exact value as of above and one with 'tdate' format of solr schema. I used XPathEntityProcessor for my dataimport xml , and i add this date fie

Re: Partial date searches

2012-09-13 Thread Alexandre Rafalovitch
Well, you could always index the year/month/day separately. The query might be a bit slower and more cumbersome, but it is doable. And for indexing, you can probably use index-time transformers/components to split the date into the parts behind the scenes. The usual other option is to use Date Mat

Combine Solr with ABAP/SAP

2012-09-13 Thread Alexander Troost
Hello Everybody, i am currently writing my Bachelor-Thesis about Enterprise Search. And right here is my question to you: Does anyone have experiences in combining Solr with an ABAP/SAP-System? I would love to get some Information how you did it! Please contact me! Alexander

Partial date searches

2012-09-13 Thread Alex Cougarman
Hi. We're using Solr 4.0Beta and wondered how we can perform partial date searches. For example, we have this date stored in the index: 2010-05-12T00:00:00Z The user may want to search on all documents from 05-12 without providing the year. Or the user may want to search on 2010-xx-12 where

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

2012-09-13 Thread Tanguy Moal
Hi, Did you try issuing a query like : "+Yoga Teacher" (without the double-quotes) ? See http://lucene.apache.org/core/3_6_1/queryparsersyntax.html#Boolean operators for more details one lucene's query parser's syntax. Hope this helps, -- Tanguy 2012/9/13 veena rani > Hi , > > In solr, If i m

how to boosting fisrt substring in a string solr.

2012-09-13 Thread veena rani
Hi , In solr, If i m search for for string like Yoga Teacher, it should search for yoga as well as yoga teacher, but it should not search for just teacher like maths teacher or science teacher and any other teacher. How can i do this in solr. Please any one can give me solution to this question.

答复: SOLR 4.0 DataImport frozen or fails with WARNING: Unable to read: dataimport.properties?

2012-09-13 Thread 百岁
Hi everybody,I am a freshman here,hope to make friends with you thank you so much travis, it is working so smoothly right now - Zeki ama calismiyor... Calissa yapar... -- View this message in context: http://lucene.472066.n3.nabble.com/SOLR-4-0-DataImport-frozen-or-fails-with-WARNING-Una

Re: Solr 4.0 Beta Release

2012-09-13 Thread samarth s
Thanks Jack. On Wed, Sep 12, 2012 at 8:08 PM, Jack Krupansky wrote: > Yes, it has been released. Read the details here (including download > instructions/links): > http://lucene.apache.org/solr/**solrnews.html > > -- Jack Krupansky > > -Original Me

Re: Certain form of autocomplete (like Google Suggest)

2012-09-13 Thread aniljayanti
Hi, Have you got any solution for this ??? I worked out in SOLR check this.. http://stackoverflow.com/questions/12174672/suggesterauto-completion-search-in-solr-using-ngrams-one-collation-for-sugges -- View this message in context: http://lucene.472066.n3.nabble.com/Certain-form-of-autocompl