solr highlighting query

2014-10-24 Thread john eipe
Hi I'm trying to match keywords based on 2 fields and excluding order importance but with distance restriction. title:(Jobs) AND content_raw:(Jobs born)~15 This throws error: org.apache.solr.search.SyntaxError: Cannot parse '(Jobs born)~15': Encountered " "~15 " What's the correct way to frame

AW: (auto)suggestions, but ony from a "filtered" set of documents

2014-10-24 Thread Clemens Wyss DEV
Possibly making use of FilterAtomicReader? http://lucene.apache.org/core/4_7_0/core/org/apache/lucene/index/FilterAtomicReader.html -Ursprüngliche Nachricht- Von: Clemens Wyss DEV [mailto:clemens...@mysign.ch] Gesendet: Freitag, 24. Oktober 2014 18:31 An: solr-user@lucene.apache.org Bet

Re: QParserPlugin question

2014-10-24 Thread Peter Keegan
Thanks for the advice. I've moved this query rewriting logic (not really business logic) to a SearchComponent and will leave the custom query parser to deal with the keyword (q=) related aspects of the query. In my case, the latter is mostly dealing with the presence of wildcard characters. Peter

Re: Remove indexes of XML file

2014-10-24 Thread Alexandre Rafalovitch
You can delete individually, all (*:* query) or by specific query. So, if there is no common query pattern you may need to do a multi-id query - something like "id:(id1 id2 id3 id4)" which does require you knowing the IDs. Regards, Alex. Personal: http://www.outerthoughts.com/ and @arafalov Sol

Remove indexes of XML file

2014-10-24 Thread Olivier Austina
Hi, This is newbie question. I have indexed some documents using some XML files as indicating in the tutorial with the command : java -jar post.jar *.xml I have seen how to delete an index for one document but how to delete all indexes for doc

Re: Spell Check for Multiple Words

2014-10-24 Thread Bob Laferriere
You need to have collations=true and have large and number in your dictionary. Then the collation should return what you desire. -Bob > On Oct 24, 2014, at 12:27 PM, David Philip > wrote: > > Hi, > > I am trying to obtain multi-word spellcheck suggestions. For eg., I have > a title field w

plans for CollapsingQParser to support untruncated facet count

2014-10-24 Thread Tang, Rebecca
We are using collapsingQParser to group results for collapsing possible duplicate records. We have a signature field that the collapsingQParser acts on to group the results. However, when we facet on top of it, we get facet counts that are seemingly wrong. For example, if we have 4 records:

phrase query in solr 4

2014-10-24 Thread Robust Links
Hi We are trying to upgrade our index from 3.6.1 to 4.9.1 and I wanted to make sure our existing indexing strategy is still valid or not. The statistics of the raw corpus are: - 4.8 Billon total number of tokens in the entire corpus. - 13MM documents We have 3 requirements 1) we want to inde

Spell Check for Multiple Words

2014-10-24 Thread David Philip
Hi, I am trying to obtain multi-word spellcheck suggestions. For eg., I have a title field with content as "Indefinite and fictitious large numbers" and user searched for "larg numberr", in that case, I wanted to obtain "large number" as suggestion from spell check suggestions. Could you please

AW: (auto)suggestions, but ony from a "filtered" set of documents

2014-10-24 Thread Clemens Wyss DEV
If possible I'd like to omit the sparate core. We have this approach in the current Lucene-only-solution. The main drawback IMHO is, that whenever the main index chnages you need to completely reindex the term-index. Is it at all possible to write an own Suggester, which could do what I want/nee

Re: recip function error

2014-10-24 Thread eShard
Thank you very much for your replies. I discovered there was a typo in the function I was given. One of the parenthesis was in the wrong spot It should be this: boost=recip(ms(NOW/HOUR,general_modifydate),3.16e-11,0.08,0.05) And now it works with edismax! Strange... Thanks again, -- View this

Re: SolrJ: Force SolrServer to send request to specific node

2014-10-24 Thread Shawn Heisey
On 10/24/2014 7:59 AM, nabil Kouici wrote: > Hi All,When using SolrServer we specify only Zookeeper ensemble and this last > will give us reference to solr node to be used. Is it possible to force > SolrServer to use a specific node? You can specify the shards parameter on your request, like you

SolrJ: Force SolrServer to send request to specific node

2014-10-24 Thread nabil Kouici
Hi All,When using SolrServer we specify only Zookeeper ensemble and this last will give us reference to solr node to be used. Is it possible to force  SolrServer to use a specific node? Regards,Nabil. 

Question on deleteByQuery behavior without updateLog

2014-10-24 Thread Karthik Nagarajan
*ISSUE:* We are using Solr/Lucene 4.4. We noticed that deleteByQuery call commits only on alternate commits, i.e., the first deleteByQuery changes are not written out to the Directory but on the second commit it is reflected in the Directory. The solrconfig.xml does NOT have the updateLog turned ON