Re: Need help in alphanumeric search

2015-10-01 Thread Jack Krupansky
Phrase query for a tokenized text field should do it. -- Jack Krupansky On Thu, Oct 1, 2015 at 10:04 PM, Bhaskar wrote: > Hi Jack, > > my searching is working like this. > > if i give input as "SD RAM Bhaskar" then which ever strings are having > "SD", "RAM", "Bhaskar" all results are coming .

Re: Need help in alphanumeric search

2015-10-01 Thread Bhaskar
Hi Jack, my searching is working like this. if i give input as "SD RAM Bhaskar" then which ever strings are having "SD", "RAM", "Bhaskar" all results are coming . i.e. "SD lib" "RAM hello" "hi Bhaskar " "Bhaskar hai SD" But I want below output. "SD RAM Bhaskar"

Pivot faceting for Lucene

2015-10-01 Thread rlitschk
Hello everybody, I have a question about a feature that I hope Lucene does provide. In Solr it's known as pivot facetting, sub-facetting, decision tree facetting. Here an example: http://yonik.com/solr-subfacets/. Is there any way to do something directly in Lucene? I.e., I'm looking for a

sizes of non-fdt flies affected by compression settings

2015-10-01 Thread Anton Zenkov
Hello, I'm experimenting with Lucene 5.2.1 and I see something I cannot find an easy explanation for in the api docs. Depending on whether I pick BEST_COMPRESSION or BEST_SPEED mode for StoredFieldsFormat almost all files become smaller for BEST_COMPRESSION mode. I expected only .fdt files to be s

Re: java.io.IOException: Map failed

2015-10-01 Thread Uwe Schindler
Hi, You must ask the system administrator to raise those limits. Or use sudo or get root yourself if its your own machine. Those settings cannot be done as normal user because they affect whole system. In general, those settings don't survive reboots so its better to modify corresponding config

Re: Need help in alphanumeric search

2015-10-01 Thread Jack Krupansky
Technically, there is no such thing as a "sentence search" in Lucene. Please provide an example of how you wish to search, and then we can determine whether a phrase query or a span query might accomplish the task. -- Jack Krupansky On Thu, Oct 1, 2015 at 11:53 AM, Bhaskar wrote: > Hi, > I am l

java.io.IOException: Map failed

2015-10-01 Thread Ziqi Zhang
Hi, I have a problem which I think is the same as that described here: http://stackoverflow.com/questions/8892143/error-when-opening-a-lucene-index-map-failed However the solution does not apply in this case so I am providing more details and asking again. The index is created using Solr 5.3

Re: Need help in alphanumeric search

2015-10-01 Thread Bhaskar
Hi, I am looking for sentence search rather than word search. Regards, Bhaskar On Oct 1, 2015 7:07 PM, "Ian Lea" wrote: > Take a look at > http://lucene.apache.org/core/5_3_1/queryparser/org/apache/lucene/queryparser/classic/package-summary.html#package_description > . > Sounds like you want an A

Re: Need help in alphanumeric search

2015-10-01 Thread Ian Lea
Take a look at http://lucene.apache.org/core/5_3_1/queryparser/org/apache/lucene/queryparser/classic/package-summary.html#package_description. Sounds like you want an AND, or a +, or both. You may also want to take a look at phrase queries and/or span queries. -- Ian. -- Ian. On Thu, Oct 1,

Re: Need help in alphanumeric search

2015-10-01 Thread Bhaskar
Hi Uwe, my searching is working like this. if i give input as "SD RAM Bhaskar" then which ever strings are having "SD", "RAM", "Bhaskar" all results are coming . i.e. "SD lib" "RAM hello" "hi Bhaskar " "Bhaskar hai SD" But I want below output. "SD RAM Bhaskar" "SD