Search Discussions
-
Hi all, It seems tryDeleteDocument(IndexReader, int) doesn't work with NRTManager while deleteDocuments(Query) works. Here are some sample code snippets: TrackingIndexWriter mgrWriter = new ...
Reg
May 7, 2013 at 1:06 am
May 8, 2013 at 11:38 am -
Hi, I was seeing that Lucene supports both Groups and Facets. But I was finding it difficult to understand the difference between both. https://issues.apache.org/jira/browse/LUCENE-1421 - Says ...
Raj
May 27, 2013 at 9:16 am
May 29, 2013 at 5:02 am -
Is it possible to have a mix of compressed and uncompressed documents within a single index? That is, can I load an index created with Lucene 4.0 into 4.1 and defer the decision of whether or not to ...
Vitaly Funstein
May 15, 2013 at 8:38 pm
May 15, 2013 at 11:16 pm -
We have the following code SegmentInfos segments = new SegmentInfos(); segments.read(luceneDir); for(SegmentInfoPerCommit sipc: segments) { String name = sipc.info.name; SegmentReader reader = new ...
Ravikumar Govindarajan
May 10, 2013 at 12:25 pm
May 14, 2013 at 5:32 pm -
Hi, We're occasionally seeing a CorruptIndexException when a searcher is opened on a new index. When we see the exception, it looks like what is happening is that the searcher is opening the index ...
Geoff Cooney
May 16, 2013 at 2:45 pm
May 30, 2013 at 3:22 pm -
hii am mary and i have a problem with lucene, Actually a work with lucene 4.0.0, my problem is, how can I more listed all the terms, the display position for each term in each document and their ...
Mary meriem
May 24, 2013 at 4:14 pm
May 24, 2013 at 11:20 pm -
Hello! I'm storing sentence bounds in the index as position increments of 1000. I want to get the total number of sentences in the index, i. e. the number of "1000" increment values. Can I do that ...
Igor Shalyminov
May 22, 2013 at 2:12 pm
May 23, 2013 at 3:29 pm -
I want to know the max value of a long field. I read lucene api , but don't find any api about this? does someone can supply any hits about how to implement this. thanks very much.
Hu Jing
May 17, 2013 at 9:11 am
May 17, 2013 at 4:39 pm -
As I know, the syntax *"jakarta apache"~10*, which is a PhraseQuery with a slop=10 in position, but What I want is *based on offset* not on position? Anyone can help me ? thx. ----- ...
Wgggfiy
May 7, 2013 at 3:39 am
May 13, 2013 at 1:17 pm -
Hi, I was checking on Lucene Faceted search and need some guidance. http://lucene.apache.org/core/4_3_0/facet/org/apache/lucene/facet/doc-files/userguide.html#facet_indexingmentions about ...
Raj
May 16, 2013 at 5:45 am
May 21, 2013 at 4:34 am -
Hi, I was looking to a way to obtain FieldInfo(s) from the IndexReader; we need in some way to describe the index. Can I do this? -------- AtomicReader ar = <indexReader .leaves().get(0).reader(); // ...
Nicola Buso
May 14, 2013 at 10:35 am
May 14, 2013 at 5:56 pm -
Hello, Using Lucene 4.1.0, my application is designed to automatically run the exact same facet search every few minutes, varying only by range on a date-time field. However, occasionally the app ...
Lynn Settle
May 1, 2013 at 3:31 pm
May 1, 2013 at 6:02 pm -
Hello, Sorry for cross post. I just wanted to announce that I've written a blog post on how to create synonyms.txt file automatically from Wikipedia ...
Koji Sekiguchi
May 27, 2013 at 3:15 pm
May 29, 2013 at 6:53 am -
Hi Guys, I have been trying to understand DocValues and get some hands on and have observed few things. I have added LongDocValuesField to the documents like: doc.add(new ...
Arun Kumar K
May 28, 2013 at 2:49 pm
May 29, 2013 at 3:06 am -
Hi all, I'm trying to create a fairly complex query, and having trouble constructing it. My index contains a TextField with place names as strings, e.g.: Port Melbourne, VIC 3207 I'm using an ...
Ross Simpson
May 22, 2013 at 12:09 am
May 22, 2013 at 2:52 pm -
It appears that StringField instances are treated as literals, even though my analyzer lower-cases (on both write and read sides). So, for example, I can match with a term query (e.g. "NEW YORK"), ...
Shahak Nagiel
May 21, 2013 at 2:06 pm
May 22, 2013 at 3:07 am -
Hi team, I'm working with apache lucene 4.2.1 and I would like to store lucene index in a NoSql database. So my questions are, - Can I store the lucene index in a mongodb database ? thanks you team!
Rider Carrion Cleger
May 14, 2013 at 8:35 am
May 14, 2013 at 12:58 pm -
Hello all Lucene version 3.6.1. Sorry if this is a really stupid question, but is it possible to use search-time facetting on an existing lucene index without the need to reindex? My (limited) ...
Kiwi clive
May 6, 2013 at 3:23 am
May 7, 2013 at 5:43 am -
Hello, We have code running with Lucene 2.9.4 that does the following: 1. Check that number of documents to be deleted, found with a particular query, matches the expected number we pass in 2. For ...
Ikoelliker
May 23, 2013 at 7:38 pm
May 24, 2013 at 9:27 am -
This is a question (or perhaps a line of thought) regarding the mutually intelligible Scandinavian languages Danish, Norwegian and Swedish. The Swedish letters åäö is in fact the same letters as the ...
Karl Wettin
May 22, 2013 at 12:38 pm
May 23, 2013 at 2:40 pm -
I just upgraded from lucene 4.1 to 4.2.1. We believe we are seeing some different behavior. I'm using org.apache.lucene.queryparser.classic.QueryParser. If I pass the string "20110920/EXPIRED" (w/o ...
Scott Smith
May 19, 2013 at 6:51 pm
May 19, 2013 at 10:05 pm -
My situation is that There are 10,000,000 documents, and I Build index every 5,000 documents. while *in every build*, I follow these steps: IndexWriterConfig iwc = new ...
Wgggfiy
May 13, 2013 at 3:05 am
May 15, 2013 at 5:30 am -
Hi, I want to hide some values for a facet; than I'm looking into a way to collect facet values only for a subset of possible values. Is there a way to obtain this? If not, extending TopK...Handler ...
Nicola Buso
May 9, 2013 at 9:54 am
May 9, 2013 at 10:48 am -
I see that Lucene 4.x has FieldInfo.IndexOptions that can be used to tell lucene whether to Index Documents/Frequencies/Positions/Offsets. We are in the process of upgrading from Lucene 2.9 to Lucene ...
AarKay
May 8, 2013 at 8:24 am
May 8, 2013 at 1:06 pm -
Hi. *I would like for hits that contain the search terms in proximity to each other to be ranked higher than hits in which the terms are scattered across the doc. Wondering if there's a best practice ...
Gili Nachum
May 4, 2013 at 5:47 pm
May 5, 2013 at 2:21 pm -
I have encountered a strange issue, that appears to be pretty hard to hit, but is still a serious problem when it does occur. It seems that if the JVM crashes in a racy fashion with instantiation of ...
Vitaly Funstein
May 30, 2013 at 12:10 am
May 30, 2013 at 3:22 pm -
Hi everyone, I am building an autocomplete index. The index contains both the names and a small set of fixed types. The intention is that type matches will always come first, followed by name ...
Steven Schlansker
May 24, 2013 at 11:07 pm
May 29, 2013 at 12:20 am -
there is my code for getting in position for all term index and I'm stuck on this problem!!!! anyone has an idea about this error??ar = (AtomicReader)readre; System.out.print(ar); boolean withOffsets ...
Mary meriem
May 25, 2013 at 8:33 pm
May 27, 2013 at 10:58 pm -
please,how I can solve this error? Exception in thread "main" java.lang.NoSuchMethodError: org.apache.lucene.search.IndexSearcher.<init (Ljava/lang/String;)V -- View this message in context ...
Fifi
May 17, 2013 at 1:12 pm
May 17, 2013 at 5:06 pm -
Hi all, We have an obvious deadlock between a "MaybeRefreshIndexJob" thread calling ReferenceManager.maybeRefresh(ReferenceManager.java:204) and a "RebuildIndexJob" thread calling ...
Sergiusz Urbaniak
May 15, 2013 at 3:50 pm
May 16, 2013 at 7:43 am -
Hi mate, we did that (w/ lucene 3.6) and reconsidered it as "very bad idea" afterwards. Why? (a) out of the box, mongodb does only 16-mb files. Lucene files grow (much) larger than that. (b) lucene ...
Hendrik Lücke-Tieke
May 15, 2013 at 5:25 am
May 15, 2013 at 11:21 am -
Team, We have three indices by three different versions of lucene(2.3,3.6 and 4.1). Is there anyway I can identify which index belongs to which version somehow programatically? Thanks in advance. -- ...
Ramprakash Ramamoorthy
May 13, 2013 at 2:25 pm
May 14, 2013 at 9:26 am -
All - We have a necessity to check for attributes with null values. There are 2 options that we narrowed down to 1. Either we index null values with 'NULL' string and then check against the string ...
Srividhyau
May 13, 2013 at 6:06 pm
May 14, 2013 at 7:49 am -
We are totally confused and are wondering if this is a known bug. We are currently using lucene 3.6.0 to index with and for our searches. Our indexing software was compiled under openJdk 1.6.0-b09 ...
Liz Sommers
May 9, 2013 at 4:38 pm
May 9, 2013 at 5:04 pm -
As we know, the we can sort by multi-fields, such as field1 , then field2. But I have another scenario: We need pick up the max(field1) record first, then sort by field2 for others records. Anyone ...
Jack Liu
May 7, 2013 at 5:49 am
May 8, 2013 at 2:48 am -
Hi guys, If I run 2 term range queries: new TermRangeQuery("title", new BytesRef("A"), null, true, true); and new TermRangeQuery("title", new BytesRef("Z"), null, true, true); The one that starts ...
Aleksey
May 7, 2013 at 2:16 am
May 7, 2013 at 9:32 am -
Hi If a Document is updated multiple times in one transaction it may end up with old versions not getting deleted, depending on when the IndexWriter got flushed. I couln't find an details about this ...
Daniel Penning
May 6, 2013 at 11:33 am
May 6, 2013 at 12:56 pm -
Hello, I know I've seen it go by on this list and elsewhere, but cannot seem to find it: can someone point me to the best way to do term expansions at indexing time. That is, when the sentence is ...
Glen Newton
May 3, 2013 at 6:15 pm
May 3, 2013 at 6:40 pm -
Hi, I want to create a simulation of the old "optimize" for an index. I can do it for 4.1 api, because I can use the method "setUseCompoundFile(true)" for the merge policy and call ...
Andi rexha
May 2, 2013 at 10:54 am
May 2, 2013 at 11:07 am -
Hi All, Sorry if this is a stupid question, but I'm still catching up with some of the new APIs and I want to make sure my assumptions are correct. Anyway, I'm the solr PathHierachyTokenizer to ...
Brendan Grainger
May 22, 2013 at 3:29 pm
May 22, 2013 at 4:48 pm -
Hi folks, We just created a new meetup group for all Lucene/Solr enthusiasts in and around Bangalore. We're holding our first meetup on the 1st Of June, 2013. Link to the meetup page - ...
Anshum Gupta
May 21, 2013 at 6:29 am
May 21, 2013 at 9:29 am -
Hi folks: Sorry about the cross-post. Luke is awesome, but sometimes you only have command line access to your production boxes. So I wrote CLue, a command line lucene interface in the likes of ...
John Wang
May 17, 2013 at 7:08 pm
May 17, 2013 at 11:00 pm -
Hi there, We've been having troubles with performance regarding IndexReader's * document<http://lucene.apache.org/core/4_1_0/core/org/apache/lucene/index/IndexReader.html#document(int) *(int docID) ...
G B
May 14, 2013 at 8:19 pm
May 15, 2013 at 1:33 pm -
Hello all, i was wondering why unindexed fields can't be boosted compare to lucene 3. since these fields are still in the score calculation when i checked the score explanation. Is there any clean ...
Tamer Gür
May 14, 2013 at 2:35 pm
May 15, 2013 at 1:24 pm -
We are using Lucene 3.0.3. Is there a way to set a default value to all fields being indexed in Lucene? Say, i want to set the default value as "NULL", indexed=NOT_ANALYZED, stored=false. This ...
Srividhyau
May 13, 2013 at 5:52 pm
May 13, 2013 at 6:18 pm -
Hi, I want to modify how the QueryScorer selects fragments for snippeting. I want to add a small boost for fragments that contain certain terms (e.g. "great", "amazing") to the unique term occurrence ...
Colin Pollock
May 7, 2013 at 10:46 pm
May 8, 2013 at 12:01 am -
Hello , I downloaded and extracted lucene 4.2.1 , and set the 4 jar files in my classpath . But now when i execute the command java org.apache.lucene.demo.IndexFiles -docs {path-to-lucene}/src i get ...
Sindhu hosamane
May 6, 2013 at 7:31 pm
May 7, 2013 at 10:19 am -
Hi Ivan, i was aware of that thread i also asked to learn about overriding DefaultSimilarity stuff or similar other approach. Thanks ...
Tamer Gür
May 1, 2013 at 8:36 am
May 1, 2013 at 11:31 am -
Hi all, I think somebody already did this question in the mailing list, but I can't find it. Is possible to execute a search with facets in luke? then use the $facets field in searches? Nicola ...
Nicola Buso
May 1, 2013 at 9:57 am
May 1, 2013 at 10:05 am -
Non technical users understand what a field is. All of them might however not know that they they can use them but It's easy for them to learn that name:john will search for john only in names. Non ...
Karl Wettin
May 30, 2013 at 11:27 pm
May 30, 2013 at 11:27 pm
Group Overview
group | java-user |
categories | lucene |
discussions | 59 |
posts | 228 |
users | 68 |
website | lucene.apache.org |
68 users for May 2013
Archives
- June 2016 (77)
- May 2016 (96)
- April 2016 (116)
- March 2016 (67)
- February 2016 (76)
- January 2016 (78)
- December 2015 (85)
- November 2015 (114)
- October 2015 (95)
- September 2015 (123)
- August 2015 (98)
- July 2015 (107)
- June 2015 (85)
- May 2015 (70)
- April 2015 (103)
- March 2015 (130)
- February 2015 (183)
- January 2015 (111)
- December 2014 (147)
- November 2014 (117)
- October 2014 (118)
- September 2014 (148)
- August 2014 (206)
- July 2014 (161)
- June 2014 (282)
- May 2014 (162)
- April 2014 (152)
- March 2014 (152)
- February 2014 (219)
- January 2014 (147)
- December 2013 (88)
- November 2013 (176)
- October 2013 (220)
- September 2013 (232)
- August 2013 (257)
- July 2013 (320)
- June 2013 (223)
- May 2013 (228)
- April 2013 (233)
- March 2013 (309)
- February 2013 (224)
- January 2013 (425)
- December 2012 (246)
- November 2012 (301)
- October 2012 (200)
- September 2012 (116)
- August 2012 (229)
- July 2012 (302)
- June 2012 (203)
- May 2012 (253)
- April 2012 (172)
- March 2012 (245)
- February 2012 (347)
- January 2012 (302)
- December 2011 (191)
- November 2011 (246)
- October 2011 (251)
- September 2011 (230)
- August 2011 (197)
- July 2011 (254)
- June 2011 (374)
- May 2011 (310)
- April 2011 (310)
- March 2011 (422)
- February 2011 (227)
- January 2011 (365)
- December 2010 (239)
- November 2010 (322)
- October 2010 (295)
- September 2010 (192)
- August 2010 (295)
- July 2010 (296)
- June 2010 (292)
- May 2010 (299)
- April 2010 (359)
- March 2010 (399)
- February 2010 (448)
- January 2010 (467)
- December 2009 (478)
- November 2009 (699)
- October 2009 (609)
- September 2009 (450)
- August 2009 (465)
- July 2009 (582)
- June 2009 (470)
- May 2009 (513)
- April 2009 (609)
- March 2009 (684)
- February 2009 (389)
- January 2009 (356)
- December 2008 (589)
- November 2008 (480)
- October 2008 (508)
- September 2008 (604)
- August 2008 (582)
- July 2008 (522)
- June 2008 (444)
- May 2008 (424)
- April 2008 (453)
- March 2008 (515)
- February 2008 (560)
- January 2008 (619)
- December 2007 (405)
- November 2007 (471)
- October 2007 (392)
- September 2007 (337)
- August 2007 (568)
- July 2007 (584)
- June 2007 (496)
- May 2007 (623)
- April 2007 (542)
- March 2007 (765)
- February 2007 (669)
- January 2007 (602)
- December 2006 (469)
- November 2006 (498)
- October 2006 (598)
- September 2006 (572)
- August 2006 (668)
- July 2006 (692)
- June 2006 (695)
- May 2006 (609)
- April 2006 (497)
- March 2006 (695)
- February 2006 (541)
- January 2006 (544)
- December 2005 (368)
- November 2005 (529)
- October 2005 (565)
- September 2005 (526)
- August 2005 (493)
- July 2005 (409)
- June 2005 (570)
- May 2005 (363)
- April 2005 (464)
- March 2005 (419)
- February 2005 (600)
- January 2005 (636)
- December 2004 (633)
- November 2004 (597)
- October 2004 (460)
- September 2004 (495)
- August 2004 (450)
- July 2004 (552)
- June 2004 (491)
- May 2004 (355)
- April 2004 (362)
- March 2004 (486)
- February 2004 (375)
- January 2004 (285)
- December 2003 (377)
- November 2003 (452)
- October 2003 (217)
- September 2003 (291)
- August 2003 (186)
- July 2003 (226)
- June 2003 (218)
- May 2003 (334)
- April 2003 (256)
- March 2003 (276)
- February 2003 (228)
- January 2003 (190)
- December 2002 (192)
- November 2002 (365)
- October 2002 (280)
- September 2002 (179)
- August 2002 (117)
- July 2002 (203)
- June 2002 (229)
- May 2002 (248)
- April 2002 (282)
- March 2002 (228)
- February 2002 (252)
- January 2002 (134)
- December 2001 (146)
- November 2001 (327)
- October 2001 (177)
- September 2001 (1)