Re: term frequency

2016-11-28 Thread huda barakat
This the error I get it is the same: Exception in thread "main" java.lang.NullPointerException at solr_test.solr.SolrJTermsApplication.main(SolrJTermsApplication.java:30) I know the object is null but I don't know why it is null?? when I change the query to this: SolrQuery query = new SolrQue

Re: Faceting : what are the limitations of Taxonomy (Separate index and hierarchical facets) and SortedSetDocValuesFacetField ( flat facets and no sidecar index) ?

2016-11-28 Thread Chitra R
Hi, When opening SortedSetDocValuesReaderState at search time, whether the whole doc value files (.dvd & .dvm) information are loaded in memory or specified field information(say $facets field) alone load in memory? Any help is much appreciated. Regards, Chitra On Tue, Nov 22, 2016

Query expansion

2016-11-28 Thread hariram ravichandran
I need to perform *fuzzy search* for the whole search term. I extended MultiFieldQueryParser and overridden getFieldQuery() protected Query getFieldQuery(String field, String fieldText,boolean quoted) throws ParseException{ return *super.getFuzzyQuery(field,fieldText,3.0f); //construct

DocValues Field - Memory consumption

2016-11-28 Thread Chitra R
Hi, I would like to enable doc values on all fields that I need to sort or aggregate on. At search time, I am performing sort for a single field, whether the whole doc value files (.dvd & .dvm) information are loaded in memory or a particular field information from that file(say a single

Re: BlockJoinQuery with sorting

2016-11-28 Thread ASKozitsin
Here is an example: I've got 3 Offerings with such prices: [Offering1 : { id : 1, price : { value: [10, 30, 20], type : t1 } }, Offering2 : { id : 2, price : { value: [20], type : t2 } }, Offering3 : { id : 3, price : { value: [15, 40], type : t3} }] Originally, I would like to filter data by a

Re: Understanding Query Parser Behavior

2016-11-28 Thread Peru Redmi
Any help on this would be greatly appreciated. Thanks. On Thu, Nov 24, 2016 at 8:14 PM, Peru Redmi wrote: > > Hello Mike, > > Here is, how i analyze my text using QueryParser ( with ClassicAnalyzer) > and plain ClassicAnalyzer. On checking the same in luke, i get "//" > as RegexQuery. > > Here

Re: BlockJoinQuery with sorting

2016-11-28 Thread Mikhail Khludnev
As it's described in Solr space http://blog-archive.griddynamics.com/2015/08/scoring-join-party-in-solr-53.html you can add a function query for price value field in a child query as SHOULD, then pass ScoreMode into BlockJoinQuery and it will yield scores. There are two things to mention: I'm not s

Re: how do lucene read large index files?

2016-11-28 Thread Kumaran Ramasubramanian
Thanks a lot Uwe!!! Do we get any benefit on using MMapDirectory over NIOFSDir during indexing? During merging? Is it ok to change to MMapDirectory during search alone? -- Kumaran R On Nov 24, 2016 11:27 PM, "Erick Erickson" wrote: > > Thanks Uwe! > > > > > On Thu, Nov 24, 2016 at 9:41 AM, Uwe

Re: BlockJoinQuery with sorting

2016-11-28 Thread ASKozitsin
https://lucene.apache.org/core/6_2_0/join/org/apache/lucene/search/join/ToParentBlockJoinSortField.html Fits Perfectly! Thanks for the link! -- View this message in context: http://lucene.472066.n3.nabble.com/BlockJoinQuery-with-sorting-tp4307405p4307672.html Sent from the Lucene - Java Users

How to ignore a ,

2016-11-28 Thread Thomas Johnson
We are using Lucene 5.0. Some of our documents are getting indexed with a comma after the value. For example "John Doe, bob smith, and jane go into a bar." We are using a WhitespaceTokenizer and a LowerCaseFilter as the analyzer. If we search for "Doe" nothing is found because the value in the

Re: How to ignore a ,

2016-11-28 Thread Alan Woodward
Using StandardTokenizer should remove punctuation as well. Alan Woodward www.flax.co.uk > On 28 Nov 2016, at 16:06, Thomas Johnson wrote: > > We are using Lucene 5.0. Some of our documents are getting indexed with a > comma after the value. For example “John Doe, bob smith, and jane go into a