Search Discussions

66 discussions - 253 posts

  • Hi all While I am using IndexWriter.isLock(), this method unlocks the index and returns false. Can anyone tell me why?
    S EslamianS Eslamian
    May 6, 2012 at 12:29 pm
    May 10, 2012 at 9:59 am
  • Hi Can anyone tell me what happens to the memory when Lucene opens an index? Is it loaded into the JVM's heap or is it mapped into virtual memory outside of it? I am running on Linux and if I use ...
    Chris BamfordChris Bamford
    May 15, 2012 at 2:47 pm
    May 21, 2012 at 4:50 pm
  • Hi all, I have few problems Indexing. I keep hitting "Too many open files". It seems like Lucene is not releasing files handlers after deleting segments. This is a piece from the lsof output showing ...
    Michel BlaseMichel Blase
    May 18, 2012 at 1:21 am
    May 18, 2012 at 6:43 pm
  • I'm trying to make my search faster. right now a query like name:Joe Moe Pizza address:77 main street city:San Francisco in a index with 20mil such short business descriptions (total size about 3GB) ...
    May 21, 2012 at 8:59 pm
    May 29, 2012 at 12:55 am
  • Hi all, apologies, if this question was already asked before. If I need to store a lot of data (say, millions of documents), what would perform better (in terms of reads/writes/scalability etc.) ...
    Konstantyn SmirnovKonstantyn Smirnov
    May 18, 2012 at 2:44 pm
    May 24, 2012 at 5:45 pm
  • I'm working on a product for librarians and similar people, who apparently expect to be able to combine classic boolean operators (i.e. AND, OR, NOT) with proximity operators (especially w/n and ...
    Chris HarrisChris Harris
    May 16, 2012 at 9:12 pm
    May 26, 2012 at 3:53 am
  • Hi, I am quite new to Lucene. I am trying to use it to index listings of local businesses. The index has only one field, that stores the attributes of a listing as well as email addresses of users ...
    Meeraj KunnumpurathMeeraj Kunnumpurath
    May 16, 2012 at 7:41 pm
    May 17, 2012 at 10:52 pm
  • Hello, I am trying to optimize the process of "warming up" an index prior to using the search subsystem, i.e. it is guaranteed that no other writes or searches can take place in parallel with with ...
    Vitaly FunsteinVitaly Funstein
    May 30, 2012 at 1:42 am
    Jun 4, 2012 at 8:48 pm
  • If you use the Lucene/Solr Maven POMs to drive the build, I committed a major change last night (see https://issues.apache.org/jira/browse/LUCENE-3948 for more details): * 'ant get-maven-poms' no ...
    Steven A RoweSteven A Rowe
    May 8, 2012 at 5:32 pm
    May 9, 2012 at 3:47 pm
  • Hi, I met a problem about how to search many keywords in about 5,000,000 documents.For example the query may be like "(a1 or a2 or a3 ....a200) and (b1 or b2 or b3 or b4 ..... b400)",I found it will ...
    May 7, 2012 at 5:12 pm
    May 8, 2012 at 2:00 pm
  • does anybody know how to express a MatchAllDocsQuery in surround query parser language? I've tried * and() but those don't parse. I looked at the grammar and I don't think there is a way. Please let ...
    Mike SokolovMike Sokolov
    May 6, 2012 at 9:26 pm
    May 7, 2012 at 12:22 am
  • Hello, I have wrote a crawling and indexing program using 3.0.3 version. It works fine. CPU usage remain around 30%. In November, 2011 I have upgraded Lucene 3.4.0 version, trying crawling and ...
    May 23, 2012 at 4:50 am
    Jun 11, 2012 at 7:01 pm
  • Hi, In the pruning package, pruneAllPositions throws an exception. In the code it is commented that it should not happen. // should not happen! throw new IOException("termPositions.doc ...
    Zeynep P.Zeynep P.
    May 2, 2012 at 10:12 am
    Jun 4, 2012 at 10:43 am
  • Hello, I would like to use the ToParentBlockJoinQuery and its collector to query a document with children and grand children, but I can't figure out how to get the document ids that represent grand ...
    Christoph KaserChristoph Kaser
    May 23, 2012 at 4:22 pm
    May 25, 2012 at 9:52 am
  • Hi, Is there anyway in a query, I can boost the relevance of a hit based on the value of a numerical field in the index. i.e higher the value of the field, more relevant the hit is. Kind regards ...
    Meeraj KunnumpurathMeeraj Kunnumpurath
    May 19, 2012 at 1:14 am
    May 19, 2012 at 11:34 am
  • I have collection of documents (say 10 documents)and i'm indexing them this way, by storing the term vector StringReader strRdElt = new StringReader(content); Document doc = new Document(); String ...
    Kasun PereraKasun Perera
    May 11, 2012 at 7:59 am
    May 14, 2012 at 11:31 am
  • When I update a document in Lucene (i.e., re-indexing), I have to delete the existing document, and create a new one. My understanding is that this assigns a new doc ID for the newly created ...
    Jong KimJong Kim
    May 11, 2012 at 11:56 am
    May 12, 2012 at 8:13 pm
  • Hi I am using lucene for search implementation . I have created index with two columns (1) Name (2) Year I stored values like AC 2001 AC 2002 ACC 2004 ACC 2001 ACJ 2006 ACJ 2007 I want to query in ...
    Yogesh patelYogesh patel
    May 7, 2012 at 4:00 am
    May 9, 2012 at 4:34 am
  • Dear all I am going to find out how SynonymFilter in Lucene-analyzers 3.5 works and what exactly its output tokens are. Is there any sample code that shows how to fill SynonymMap and then use ...
    Atiyeh soleimaniAtiyeh soleimani
    May 28, 2012 at 6:57 am
    Aug 13, 2012 at 9:24 am
  • Hi all. I'm searching numericRangeQuery in my indexes. (i.e. field : [10 TO 20]) In some ranges when I rewrite the query, I receive something wrong in the answer. something like this ...
    S EslamianS Eslamian
    May 30, 2012 at 5:55 am
    May 30, 2012 at 11:34 am
  • I am trying to implement an in-memory version of the Directory, IndexInput and IndexOutput classes, similar to RAMDirectory. Can someone please point out if there are any concurrency and thread ...
    May 29, 2012 at 10:40 pm
    May 30, 2012 at 5:25 am
  • I am new to search and just went through some concepts of "Lucene in Action". I have few questions: Problem I am having is this. Say I have these json docs for eg. Now I want to query forms.id = 40 ...
    Mohit AnchliaMohit Anchlia
    May 21, 2012 at 6:37 pm
    May 22, 2012 at 9:25 am
  • Hi, I'm using Lucene2.1 to search product information, such as product name, description, etc. There is a sort on discount field, the product with discount price should be at the top of the result ...
    Chaoqing LiChaoqing Li
    May 21, 2012 at 10:17 am
    May 22, 2012 at 8:41 am
  • Lucene 3.6, java 1.6 I get the following: java.lang.NullPointerException at org.apache.lucene.index.DirectoryReader$MultiTermDocs.doc(DirectoryReader.ja va:1179) when running this code: IndexReader ...
    Edward W. RouseEdward W. Rouse
    May 17, 2012 at 9:53 pm
    May 18, 2012 at 3:47 pm
  • Hi, I want to store a query for later use in a database, like: 1. queryToPersist = booleanQuery.toString(); 2. store it to the db, go fishing, retrieve it 3. Query query = ...
    Stefan UndorfStefan Undorf
    May 17, 2012 at 7:53 pm
    May 18, 2012 at 8:06 am
  • Hi I have index 100000 documents in Lucene. I have one query that gets all documents and it takes more time.. So i need to implement paging in lucene query so i can search result fast page wise. Is ...
    Yogesh patelYogesh patel
    May 12, 2012 at 10:13 am
    May 12, 2012 at 1:17 pm
  • *Hey Folks, Thanks for the great response to Lucene on CodeMaps.org. We have been improving the usefulness of the site by leaps and bounds :-)* We were wondering if you guys could do us a quick ...
    Seth RosenSeth Rosen
    May 23, 2012 at 5:17 pm
    Jun 12, 2012 at 7:20 pm
  • Hello All! I would like to use Lucene library on any Android device with a geo DB in sqlite file. As ORM I want to use any ORM tool except Hibernate Search - this tool is perfect for PC, but too ...
    May 27, 2012 at 9:10 am
    Jun 8, 2012 at 11:52 pm
  • Hello all, I try to calculate score explanations for a query that contains a ToParentBlockJoinQuery and get the following exception: java.lang.UnsupportedOperationException ...
    Christoph KaserChristoph Kaser
    May 25, 2012 at 11:20 am
    May 29, 2012 at 8:40 am
  • I really need this on Solr, but thought I would start here as I suspect that, if it's possible, it's some kind of custom relevancy ranking that would need to be done in lucene and then used in SOLR ...
    Scott SmithScott Smith
    May 25, 2012 at 5:00 pm
    May 25, 2012 at 5:41 pm
  • Hi everyone. We are using IndexReader.deleteDocument(Term) method to delete documents, since it returns the number of deleted documents. This is used to be sure that some docs were removed. We must ...
    Nikolay ZamosenchukNikolay Zamosenchuk
    May 25, 2012 at 3:07 pm
    May 25, 2012 at 5:08 pm
  • Hi,there.I meet a problem to grouping the search result by time span and/or web site.Can Lucene's FirstPassGroupingCollector and SecondPassGroupingCollector work.Is there search performance problem ...
    May 24, 2012 at 8:31 am
    May 25, 2012 at 2:31 pm
  • Hi everyone. We are using IndexReader.deleteDocument(Term) method to delete documents, since it returns the number of deleted documents. This is used to be sure that some docs were removed. We must ...
    Nikolay ZamosenchukNikolay Zamosenchuk
    May 25, 2012 at 12:45 pm
    May 25, 2012 at 1:02 pm
  • Hi all, I am running Lucene 3.6 in a system that indexes about 4 billion documents across several indexes, and I'm hoping to get documents in order of a certain NumericField. I've tried using ...
    Robert BartRobert Bart
    May 17, 2012 at 9:03 pm
    May 23, 2012 at 10:27 pm
  • Let us say that we have N users that care about K of the M common documents that exist in a database. What is the best way to filter the documents? The results will then be sorted per properties of ...
    Apostolis XekoukoulotakisApostolis Xekoukoulotakis
    May 18, 2012 at 9:55 pm
    May 22, 2012 at 2:34 pm
  • Hi all I’m indexing collection of documents using Lucene specifying TermVerctor at the indexing time. Then I retrieve terms and their term frequencies by reading the index and calculate TF-IDF scores ...
    Kasun PereraKasun Perera
    May 18, 2012 at 9:20 am
    May 18, 2012 at 3:02 pm
  • Hi, I have the following documents Document doc1 = new Document(); doc1.add(new Field("searchText", "ABC Takeaway fred@company.com fred@company.com", Field.Store.YES, Field.Index.ANALYZED)); Document ...
    Meeraj KunnumpurathMeeraj Kunnumpurath
    May 16, 2012 at 9:07 pm
    May 17, 2012 at 11:03 am
  • Hello I have a question about this new feature in lucene 3.6 : " The QueryParser now interprets * as an open end for range queries. Literal asterisks may be represented by quoting or escaping (i.e ...
    S EslamianS Eslamian
    May 15, 2012 at 9:45 am
    May 15, 2012 at 11:16 am
  • I have some french hotels such as Elysée Etoile But for many of our users, then can't type French letters, so they will type Elysee Etoile is there any analyzer can do this? thanks ...
    Li LiLi Li
    May 11, 2012 at 10:01 am
    May 11, 2012 at 10:36 am
  • Hi, Assuming that there is a large lucene collection, and I want to extract top N terms with highest TF/IDF scores from some field. The collection does not have term vectors stored. Does Lucene have ...
    Michael BerkovskyMichael Berkovsky
    May 9, 2012 at 8:19 pm
    May 9, 2012 at 9:41 pm
  • I require the ability to perform a search on a dynamic slice of documents in an index. For a given event, only a select set of documents should be considered when performing a query. Looking at the ...
    Earl HoodEarl Hood
    May 4, 2012 at 6:51 pm
    May 5, 2012 at 11:04 pm
  • Hi all I am playing about with the index pruning contrib package, I want to see if it will make a faster and slightly smaller index for me. However when I try either Carmel or RIDF methods it just ...
    Greg BowyerGreg Bowyer
    May 30, 2012 at 1:40 am
    Jun 13, 2012 at 2:20 pm
  • Hello! I have recently started working with Lucene 3.6. I am creating an index with field names like,"Authors" for example..now if my input text file contains a field called"AU" i want its contents ...
    May 29, 2012 at 3:43 pm
    May 29, 2012 at 3:43 pm
  • Hi I would like to search on any analyzed field of lucene index with Exact Match. Is it possible to search with exact match keyword. Thanks -- Yogesh Patel
    Yogesh patelYogesh patel
    May 26, 2012 at 10:38 am
    May 28, 2012 at 11:37 am
  • Hello all, We want to place our search db in SAN drive and want to replicate the data to another SAN. We have a replication software to do this process. My question is whether we could do that for ...
    May 25, 2012 at 11:03 am
    May 25, 2012 at 12:25 pm
  • Hi I have not been able to figure out why FilterClause is no longer serializable in the change log for 3.5 or in lucene ...
    Lars GjengedalLars Gjengedal
    May 21, 2012 at 12:11 pm
    May 21, 2012 at 6:15 pm
  • Hi Everyone, I'm quite new to Lucene and would like to ask if my case below is possible with Lucene solution. Let's say I have 200,000 rows from a relational table with multiple fields, and I will ...
    May 21, 2012 at 2:32 pm
    May 21, 2012 at 4:03 pm
  • I am trying to run the LookupBenchmarkTest using the following command ant -v test -Dtestcase=LookupBenchmarkTest -Dtests.seed=24BC5D3301BB6D9 -Dargs="-Dfile.encoding=UTF-8" I see the following error ...
    Sudarshan GaikaiwariSudarshan Gaikaiwari
    May 19, 2012 at 12:21 am
    May 19, 2012 at 11:07 am
  • Below is the relevant portion of the code were this occurs. I have a test index with 100 Documents that all have 1 Term that is the same across all Documents. When I run this code using that Term and ...
    Edward W. RouseEdward W. Rouse
    May 17, 2012 at 2:19 pm
    May 17, 2012 at 3:34 pm
  • Is it possible todo a query with wildcards in field name? is there any QueryParser that handles wildcards in fields names? //Joachim -- View this message in context ...
    Joachim AnderssonJoachim Andersson
    May 15, 2012 at 2:03 pm
    May 15, 2012 at 2:21 pm
Group Navigation
period‹ prev | May 2012 | next ›
Group Overview
groupjava-user @

89 users for May 2012

Ian Lea: 20 posts Mike McCandless: 14 posts Meeraj Kunnumpurath: 11 posts Li Li: 10 posts S Eslamian: 9 posts Christoph Kaser: 7 posts Edward W. Rouse: 7 posts Michel Blase: 7 posts Yogesh patel: 7 posts Uwe Schindler: 6 posts Findbestopensource: 5 posts Lance Norskog: 5 posts Mike Sokolov: 5 posts Tim Eck: 5 posts Yang: 5 posts Chris Bamford: 4 posts Greg Bowyer: 4 posts Robert Muir: 4 posts Simon Willnauer: 4 posts Trejkaz: 4 posts
show more